diff options
Diffstat (limited to 'src/imap/ngx_imap.h')
| -rw-r--r-- | src/imap/ngx_imap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imap/ngx_imap.h b/src/imap/ngx_imap.h index d5adc184e..dc1af908b 100644 --- a/src/imap/ngx_imap.h +++ b/src/imap/ngx_imap.h @@ -15,12 +15,20 @@ typedef struct { } ngx_imap_proxy_ctx_t; +typedef enum { + ngx_pop3_start = 0, + ngx_pop3_user +} ngx_imap_state_e; + + typedef struct { uint32_t signature; /* "IMAP" */ ngx_connection_t *connection; ngx_buf_t *buffer; + ngx_imap_state_e imap_state; + ngx_imap_proxy_ctx_t *proxy; ngx_uint_t command; |
