diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-08-31 19:05:39 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-08-31 19:05:39 +0000 |
commit | 9e51181229fc00e3dfeb888c008fb02affc48246 (patch) | |
tree | 22f0323ff0796922bd6c23dd57d2654e315e3de0 /src/imap/ngx_imap_proxy.c | |
parent | 13836ce3e6a22c3c58b4696c1ec1d753dff57237 (diff) | |
download | nginx-9e51181229fc00e3dfeb888c008fb02affc48246.tar.gz nginx-9e51181229fc00e3dfeb888c008fb02affc48246.zip |
nginx-0.0.10-2004-08-31-23:05:39 import
Diffstat (limited to 'src/imap/ngx_imap_proxy.c')
-rw-r--r-- | src/imap/ngx_imap_proxy.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/imap/ngx_imap_proxy.c b/src/imap/ngx_imap_proxy.c new file mode 100644 index 000000000..900dcb347 --- /dev/null +++ b/src/imap/ngx_imap_proxy.c @@ -0,0 +1,34 @@ + +#include <ngx_config.h> +#include <ngx_core.h> +#include <ngx_event.h> + + +static ngx_command_t ngx_imap_commands[] = { + + { ngx_string("imap"), + NGX_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS, + ngx_imap_block, + 0, + 0, + NULL }, + + ngx_null_command +}; + + +static ngx_core_module_t ngx_imap_module_ctx = { + ngx_string("imap"), + NULL, + NULL +}; + + +ngx_module_t ngx_imap_module = { + NGX_MODULE, + &ngx_imap_module_ctx, /* module context */ + ngx_imap_commands, /* module directives */ + NGX_CORE_MODULE, /* module type */ + NULL, /* init module */ + NULL /* init child */ +}; |