~ubuntu-branches/ubuntu/maverick/postfix/maverick-security

« back to all changes in this revision

Viewing changes to src/xsasl/xsasl_server.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Wietse Venema, LaMont Jones
  • Date: 2009-06-03 14:17:08 UTC
  • mfrom: (1.1.22 upstream)
  • Revision ID: james.westby@ubuntu.com-20090603141708-o9u59xlor7nmd2x1
[Wietse Venema]

* New upstream release: 2.6.2~rc1

[LaMont Jones]

* move postfix-add-{filter,policy} manpages to section 8, and deliver
* provide: default-mta on ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
/*
16
16
/*      ARGV    *xsasl_server_types()
17
17
/*
18
 
/*      XSASL_SERVER *xsasl_server_create(implementation, stream, service,
19
 
/*                                              user_realm, security_options)
20
 
/*      XSASL_SERVER_IMPL *implementation;
21
 
/*      const char *service;
22
 
/*      VSTREAM *stream;
23
 
/*      const char *user_realm;
24
 
/*      const char *security_options;
 
18
/* .in +4
 
19
/*      typedef struct XSASL_SERVER_CREATE_ARGS {
 
20
/*              VSTREAM *stream;
 
21
/*              const char *server_addr;
 
22
/*              const char *client_addr;
 
23
/*              const char *service;
 
24
/*              const char *user_realm;
 
25
/*              const char *security_options;
 
26
/*              int     tls_flag;
 
27
/*      } XSASL_SERVER_CREATE_ARGS;
 
28
/* .in -4
 
29
/*
 
30
/*      XSASL_SERVER *xsasl_server_create(implementation, args)
 
31
/*      XSASL_SERVER_IMPL *implementation;
 
32
/*      XSASL_SERVER_CREATE_ARGS *args;
 
33
/*
 
34
/*      XSASL_SERVER *XSASL_SERVER_CREATE(implementation, args,
 
35
/*                                      stream = stream_value,
 
36
/*                                      ...,
 
37
/*                                      tls_flag = tls_flag_value)
 
38
/*      XSASL_SERVER_IMPL *implementation;
 
39
/*      XSASL_SERVER_CREATE_ARGS *args;
25
40
/*
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
68
 
/*      negotiations.
 
83
/*      negotiations. Specify zero-length strings when a client or
 
84
/*      server address is unavailable.
 
85
/*
 
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.
69
90
/*
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
107
128
/*      Arguments:
108
129
/* .IP auth_method
109
130
/*      AUTH command authentication method.
 
131
/* .IP client_addr
 
132
/*      IPv4 or IPv6 address (no surrounding [] or ipv6: prefix),
 
133
/*      or zero-length string if unavailable.
110
134
/* .IP init_resp
111
135
/*      AUTH command initial response or null pointer.
112
136
/* .IP implementation
121
145
/*      equivalent. This is passed unchanged to the plug-in.
122
146
/* .IP server
123
147
/*      SASL plug-in server handle.
 
148
/* .IP server_addr
 
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.