diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/imap/ngx_imap.c	Sun Sep 05 19:54:02 2004 +0000
@@ -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 */
+};