aboutsummaryrefslogtreecommitdiff
path: root/src/imap/ngx_imap.h
blob: 5dc48df804f2bd60efe4d31fa1abc133dc28365d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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_ */