Mercurial > hg > nginx
comparison src/imap/ngx_imap.c @ 415:3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 05 Sep 2004 19:54:02 +0000 |
parents | src/imap/ngx_imap_proxy.c@de9d4726e28a |
children | 0526206251f6 |
comparison
equal
deleted
inserted
replaced
414:388a842cbbe1 | 415:3c56e834be46 |
---|---|
1 | |
2 #include <ngx_config.h> | |
3 #include <ngx_core.h> | |
4 #include <ngx_event.h> | |
5 | |
6 | |
7 static ngx_command_t ngx_imap_commands[] = { | |
8 | |
9 { ngx_string("imap"), | |
10 NGX_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS, | |
11 ngx_imap_block, | |
12 0, | |
13 0, | |
14 NULL }, | |
15 | |
16 ngx_null_command | |
17 }; | |
18 | |
19 | |
20 static ngx_core_module_t ngx_imap_module_ctx = { | |
21 ngx_string("imap"), | |
22 NULL, | |
23 NULL | |
24 }; | |
25 | |
26 | |
27 ngx_module_t ngx_imap_module = { | |
28 NGX_MODULE, | |
29 &ngx_imap_module_ctx, /* module context */ | |
30 ngx_imap_commands, /* module directives */ | |
31 NGX_CORE_MODULE, /* module type */ | |
32 NULL, /* init module */ | |
33 NULL /* init child */ | |
34 }; |