16
16
/* ARGV *xsasl_server_types()
18
/* XSASL_SERVER *xsasl_server_create(implementation, stream, service,
19
/* user_realm, security_options)
20
/* XSASL_SERVER_IMPL *implementation;
21
/* const char *service;
23
/* const char *user_realm;
24
/* const char *security_options;
19
/* typedef struct XSASL_SERVER_CREATE_ARGS {
21
/* const char *server_addr;
22
/* const char *client_addr;
23
/* const char *service;
24
/* const char *user_realm;
25
/* const char *security_options;
27
/* } XSASL_SERVER_CREATE_ARGS;
30
/* XSASL_SERVER *xsasl_server_create(implementation, args)
31
/* XSASL_SERVER_IMPL *implementation;
32
/* XSASL_SERVER_CREATE_ARGS *args;
34
/* XSASL_SERVER *XSASL_SERVER_CREATE(implementation, args,
35
/* stream = stream_value,
37
/* tls_flag = tls_flag_value)
38
/* XSASL_SERVER_IMPL *implementation;
39
/* XSASL_SERVER_CREATE_ARGS *args;
26
41
/* void xsasl_server_free(server)
27
42
/* XSASL_SERVER *server;
65
80
/* with the specified security properties. Specify a null
66
81
/* pointer when no realm should be used. The stream handle is
67
82
/* stored so that encryption can be turned on after successful
83
/* negotiations. Specify zero-length strings when a client or
84
/* server address is unavailable.
86
/* XSASL_SERVER_CREATE() is a macro that provides an interface
87
/* with named parameters. Named parameters do not have to
88
/* appear in a fixed order. The parameter names correspond to
89
/* the member names of the XSASL_SERVER_CREATE_ARGS structure.
70
91
/* xsasl_server_free() is called at the end of an SMTP session.
71
92
/* It destroys a SASL server instance, and disables further
108
129
/* .IP auth_method
109
130
/* AUTH command authentication method.
132
/* IPv4 or IPv6 address (no surrounding [] or ipv6: prefix),
133
/* or zero-length string if unavailable.
111
135
/* AUTH command initial response or null pointer.
112
136
/* .IP implementation
121
145
/* equivalent. This is passed unchanged to the plug-in.
123
147
/* SASL plug-in server handle.
149
/* IPv4 or IPv6 address (no surrounding [] or ipv6: prefix),
150
/* or zero-length string if unavailable.
124
151
/* .IP server_reply
125
152
/* BASE64 encoded server non-error reply (without SMTP reply
126
153
/* code or enhanced status code), or ASCII error description.