summaryrefslogtreecommitdiffhomepage
path: root/src/imap/ngx_imap.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-07 15:29:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-07 15:29:22 +0000
commit59cf56c5d975725be9e2adc84170ffe0c638fa48 (patch)
treed355ce8975bbcacc29cdf54ffac45c84b55649a0 /src/imap/ngx_imap.h
parentaab4d8c0c4aa068cc7ddcb1c5daee330d9dec47a (diff)
downloadnginx-59cf56c5d975725be9e2adc84170ffe0c638fa48.tar.gz
nginx-59cf56c5d975725be9e2adc84170ffe0c638fa48.tar.bz2
nginx-0.0.10-2004-09-07-19:29:22 import
Diffstat (limited to '')
-rw-r--r--src/imap/ngx_imap.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/imap/ngx_imap.h b/src/imap/ngx_imap.h
new file mode 100644
index 000000000..5dc48df80
--- /dev/null
+++ b/src/imap/ngx_imap.h
@@ -0,0 +1,32 @@
+#ifndef _NGX_IMAP_H_INCLUDED_
+#define _NGX_IMAP_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+
+
+typedef struct {
+ ngx_chain_t *send;
+} ngx_imap_request_t;
+
+
+#define NGX_POP3_USER 1
+#define NGX_POP3_PASS 2
+#define NGX_POP3_APOP 3
+#define NGX_POP3_STAT 4
+#define NGX_POP3_LIST 5
+#define NGX_POP3_RETR 6
+#define NGX_POP3_DELE 7
+#define NGX_POP3_NOOP 8
+#define NGX_POP3_RSET 9
+#define NGX_POP3_TOP 10
+#define NGX_POP3_UIDL 11
+#define NGX_POP3_QUIT 12
+
+
+void ngx_imap_init_connection(ngx_connection_t *c);
+void ngx_imap_close_connection(ngx_connection_t *c);
+
+
+#endif /* _NGX_IMAP_H_INCLUDED_ */