diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-09-13 20:27:28 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-13 20:27:28 +0000 |
commit | c4cb0c7cf11b917bc11de41b9bca6052c8616785 (patch) | |
tree | 9b401b14d98d12639eb9a0ff907f8b64cb39af0c /src/mail/ngx_mail.h | |
parent | 6cc54cc3bed8f3c1d35e59dc3c8bd331ff5c0949 (diff) | |
download | nginx-c4cb0c7cf11b917bc11de41b9bca6052c8616785.tar.gz nginx-c4cb0c7cf11b917bc11de41b9bca6052c8616785.zip |
style fix and optimizations
Diffstat (limited to 'src/mail/ngx_mail.h')
-rw-r--r-- | src/mail/ngx_mail.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h index 1171f78ce..d282d9f2c 100644 --- a/src/mail/ngx_mail.h +++ b/src/mail/ngx_mail.h @@ -307,7 +307,8 @@ typedef struct { typedef void (*ngx_mail_init_session_pt)(ngx_mail_session_t *s, ngx_connection_t *c); typedef void (*ngx_mail_init_protocol_pt)(ngx_event_t *rev); -typedef ngx_int_t (*ngx_mail_parse_pt)(ngx_mail_session_t *s); +typedef void (*ngx_mail_auth_state_pt)(ngx_event_t *rev); +typedef ngx_int_t (*ngx_mail_parse_command_pt)(ngx_mail_session_t *s); #if (NGX_MAIL_SSL) @@ -317,9 +318,9 @@ void ngx_mail_starttls_handler(ngx_event_t *rev); void ngx_mail_init_connection(ngx_connection_t *c); -void ngx_pop3_auth_state(ngx_event_t *rev); -void ngx_imap_auth_state(ngx_event_t *rev); -void ngx_smtp_auth_state(ngx_event_t *rev); +void ngx_mail_pop3_auth_state(ngx_event_t *rev); +void ngx_mail_imap_auth_state(ngx_event_t *rev); +void ngx_mail_smtp_auth_state(ngx_event_t *rev); ngx_int_t ngx_mail_salt(ngx_mail_session_t *s, ngx_connection_t *c, ngx_mail_core_srv_conf_t *cscf); @@ -347,9 +348,9 @@ void ngx_mail_pop3_init_protocol(ngx_event_t *rev); void ngx_mail_imap_init_protocol(ngx_event_t *rev); void ngx_mail_smtp_init_protocol(ngx_event_t *rev); -ngx_int_t ngx_pop3_parse_command(ngx_mail_session_t *s); -ngx_int_t ngx_imap_parse_command(ngx_mail_session_t *s); -ngx_int_t ngx_smtp_parse_command(ngx_mail_session_t *s); +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); /* STUB */ |