summaryrefslogtreecommitdiffhomepage
path: root/src/imap/ngx_imap.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-10 14:32:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-10 14:32:02 +0000
commit10778353ae8eac375bf4cec5cff358b68c0a74be (patch)
treea65ec8992d91da0bd9bb67edd360949e4a687a3d /src/imap/ngx_imap.h
parent34a497e500bb9da4e3a9cb6032193f836539be84 (diff)
downloadnginx-10778353ae8eac375bf4cec5cff358b68c0a74be.tar.gz
nginx-10778353ae8eac375bf4cec5cff358b68c0a74be.tar.bz2
nginx-0.0.10-2004-09-10-18:32:02 import
Diffstat (limited to '')
-rw-r--r--src/imap/ngx_imap.h8
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;