comparison src/mail/ngx_mail.h @ 481:abbf48179d76

Mail: minor changes to auth login with username support.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 09 Feb 2009 00:53:34 +0300
parents b2e9a7371d49
children c78a94ba4ae1
comparison
equal deleted inserted replaced
480:a28a95b7a86d 481:abbf48179d76
345 ngx_int_t ngx_mail_salt(ngx_mail_session_t *s, ngx_connection_t *c, 345 ngx_int_t ngx_mail_salt(ngx_mail_session_t *s, ngx_connection_t *c,
346 ngx_mail_core_srv_conf_t *cscf); 346 ngx_mail_core_srv_conf_t *cscf);
347 ngx_int_t ngx_mail_auth_plain(ngx_mail_session_t *s, ngx_connection_t *c, 347 ngx_int_t ngx_mail_auth_plain(ngx_mail_session_t *s, ngx_connection_t *c,
348 ngx_uint_t n); 348 ngx_uint_t n);
349 ngx_int_t ngx_mail_auth_login_username(ngx_mail_session_t *s, 349 ngx_int_t ngx_mail_auth_login_username(ngx_mail_session_t *s,
350 ngx_connection_t *c, ngx_int_t initial); 350 ngx_connection_t *c, ngx_uint_t n);
351 ngx_int_t ngx_mail_auth_login_password(ngx_mail_session_t *s, 351 ngx_int_t ngx_mail_auth_login_password(ngx_mail_session_t *s,
352 ngx_connection_t *c); 352 ngx_connection_t *c);
353 ngx_int_t ngx_mail_auth_cram_md5_salt(ngx_mail_session_t *s, 353 ngx_int_t ngx_mail_auth_cram_md5_salt(ngx_mail_session_t *s,
354 ngx_connection_t *c, char *prefix, size_t len); 354 ngx_connection_t *c, char *prefix, size_t len);
355 ngx_int_t ngx_mail_auth_cram_md5(ngx_mail_session_t *s, ngx_connection_t *c); 355 ngx_int_t ngx_mail_auth_cram_md5(ngx_mail_session_t *s, ngx_connection_t *c);