comparison src/imap/ngx_imap.h @ 418:cf072d26d6d6

nginx-0.0.10-2004-09-08-09:18:51 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 08 Sep 2004 05:18:51 +0000
parents 0526206251f6
children 47709bff4468
comparison
equal deleted inserted replaced
417:0526206251f6 418:cf072d26d6d6
5 #include <ngx_config.h> 5 #include <ngx_config.h>
6 #include <ngx_core.h> 6 #include <ngx_core.h>
7 7
8 8
9 typedef struct { 9 typedef struct {
10 ngx_chain_t *send; 10 ngx_connection_t *connection;
11 } ngx_imap_request_t; 11
12 ngx_buf_t *downstream_buffer;
13 ngx_buf_t *upstream_buffer;
14 } ngx_imap_proxy_ctx_t;
12 15
13 16
14 #define NGX_POP3_USER 1 17 typedef struct {
15 #define NGX_POP3_PASS 2 18 uint32_t signature; /* "IMAP" */
16 #define NGX_POP3_APOP 3 19
17 #define NGX_POP3_STAT 4 20 ngx_connection_t *connection;
18 #define NGX_POP3_LIST 5 21 ngx_imap_proxy_ctx_t *proxy;
19 #define NGX_POP3_RETR 6 22 } ngx_imap_session_t;
20 #define NGX_POP3_DELE 7 23
21 #define NGX_POP3_NOOP 8 24
22 #define NGX_POP3_RSET 9 25 #define NGX_POP3_USER 1
23 #define NGX_POP3_TOP 10 26 #define NGX_POP3_PASS 2
24 #define NGX_POP3_UIDL 11 27 #define NGX_POP3_APOP 3
25 #define NGX_POP3_QUIT 12 28 #define NGX_POP3_STAT 4
29 #define NGX_POP3_LIST 5
30 #define NGX_POP3_RETR 6
31 #define NGX_POP3_DELE 7
32 #define NGX_POP3_NOOP 8
33 #define NGX_POP3_RSET 9
34 #define NGX_POP3_TOP 10
35 #define NGX_POP3_UIDL 11
36 #define NGX_POP3_QUIT 12
26 37
27 38
28 void ngx_imap_init_connection(ngx_connection_t *c); 39 void ngx_imap_init_connection(ngx_connection_t *c);
29 void ngx_imap_close_connection(ngx_connection_t *c); 40 void ngx_imap_close_connection(ngx_connection_t *c);
30 41