summaryrefslogtreecommitdiffhomepage
path: root/src/mail/ngx_mail.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-09-13 21:24:27 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-09-13 21:24:27 +0000
commit5fbe12146e84860a1e7cea077b1b2c705bacfed1 (patch)
tree0bc45f945103ac77a96fcde0881a5b47cf82b950 /src/mail/ngx_mail.h
parent05d1de757f08cfe8d7fe8f5e14e98032477e178e (diff)
downloadnginx-5fbe12146e84860a1e7cea077b1b2c705bacfed1.tar.gz
nginx-5fbe12146e84860a1e7cea077b1b2c705bacfed1.tar.bz2
optimizations
Diffstat (limited to '')
-rw-r--r--src/mail/ngx_mail.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h
index d282d9f2c..1d81e3516 100644
--- a/src/mail/ngx_mail.h
+++ b/src/mail/ngx_mail.h
@@ -313,6 +313,7 @@ typedef ngx_int_t (*ngx_mail_parse_command_pt)(ngx_mail_session_t *s);
#if (NGX_MAIL_SSL)
void ngx_mail_starttls_handler(ngx_event_t *rev);
+ngx_int_t ngx_mail_starttls_only(ngx_mail_session_t *s, ngx_connection_t *c);
#endif
@@ -330,6 +331,8 @@ ngx_int_t ngx_mail_auth_login_username(ngx_mail_session_t *s,
ngx_connection_t *c);
ngx_int_t ngx_mail_auth_login_password(ngx_mail_session_t *s,
ngx_connection_t *c);
+ngx_int_t ngx_mail_auth_cram_md5_salt(ngx_mail_session_t *s,
+ ngx_connection_t *c, char *prefix, size_t len);
ngx_int_t ngx_mail_auth_cram_md5(ngx_mail_session_t *s, ngx_connection_t *c);
void ngx_mail_send(ngx_event_t *wev);
@@ -351,6 +354,7 @@ void ngx_mail_smtp_init_protocol(ngx_event_t *rev);
ngx_int_t ngx_mail_pop3_parse_command(ngx_mail_session_t *s);
ngx_int_t ngx_mail_imap_parse_command(ngx_mail_session_t *s);
ngx_int_t ngx_mail_smtp_parse_command(ngx_mail_session_t *s);
+ngx_int_t ngx_mail_auth_parse(ngx_mail_session_t *s, ngx_connection_t *c);
/* STUB */