Mercurial > hg > nginx-vendor-0-5
diff src/imap/ngx_imap.h @ 88:e916a291e9aa NGINX_0_1_44
nginx 0.1.44
*) Feature: the IMAP/POP3 proxy supports SSL.
*) Feature: the "proxy_timeout" directive of the ngx_imap_proxy_module.
*) Feature: the "userid_mark" directive.
*) Feature: the $remote_user variable value is determined independently
of authorization use.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 06 Sep 2005 00:00:00 +0400 |
parents | da9a3b14312d |
children | 71c46860eb55 |
line wrap: on
line diff
--- a/src/imap/ngx_imap.h +++ b/src/imap/ngx_imap.h @@ -13,6 +13,11 @@ #include <ngx_event.h> #include <ngx_event_connect.h> +#if (NGX_IMAP_SSL) +#include <ngx_imap_ssl_module.h> +#endif + + typedef struct { void **main_conf; @@ -32,7 +37,6 @@ typedef struct { ngx_msec_t timeout; size_t imap_client_buffer_size; - size_t proxy_buffer_size; ngx_uint_t protocol; @@ -82,8 +86,8 @@ typedef struct { ngx_connection_t *connection; + ngx_str_t out; ngx_buf_t *buffer; - ngx_str_t out; void **ctx; void **main_conf; @@ -93,6 +97,8 @@ typedef struct { ngx_uint_t imap_state; + unsigned blocked:1; + unsigned quit:1; unsigned protocol:1; unsigned quoted:1; @@ -100,6 +106,7 @@ typedef struct { ngx_str_t passwd; ngx_str_t tag; + ngx_str_t tagged_line; ngx_uint_t command; ngx_array_t args; @@ -167,6 +174,7 @@ typedef struct { void ngx_imap_init_connection(ngx_connection_t *c); +void ngx_imap_send(ngx_event_t *wev); void ngx_imap_auth_state(ngx_event_t *rev); void ngx_pop3_auth_state(ngx_event_t *rev); void ngx_imap_close_connection(ngx_connection_t *c);