aboutsummaryrefslogtreecommitdiff
path: root/src/imap/ngx_imap_ssl_module.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-09-06 16:09:32 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-09-06 16:09:32 +0000
commitceb992921cee6f76d1752af2d388ee6a1d71e078 (patch)
tree2b4916a12d02210134939b7fb388a270e76002fa /src/imap/ngx_imap_ssl_module.h
parent5650106a09de8e8d876ed38fbff57b2161d910c4 (diff)
downloadnginx-ceb992921cee6f76d1752af2d388ee6a1d71e078.tar.gz
nginx-ceb992921cee6f76d1752af2d388ee6a1d71e078.zip
nginx-0.1.44-RELEASE importrelease-0.1.44
*) Feature: the IMAP/POP3 proxy supports SSL. *) Feature: the "proxy_timeout" directive of the ngx_imap_proxy_module. *) Feature: the "userid_mark" directive. *) Feature: the $remote_user variable value is determined independently of authorization use.
Diffstat (limited to 'src/imap/ngx_imap_ssl_module.h')
-rw-r--r--src/imap/ngx_imap_ssl_module.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/imap/ngx_imap_ssl_module.h b/src/imap/ngx_imap_ssl_module.h
new file mode 100644
index 000000000..150a61755
--- /dev/null
+++ b/src/imap/ngx_imap_ssl_module.h
@@ -0,0 +1,30 @@
+
+/*
+ * Copyright (C) Igor Sysoev
+ */
+
+
+#ifndef _NGX_IMAP_SSL_H_INCLUDED_
+#define _NGX_IMAP_SSL_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+#include <ngx_imap.h>
+
+
+typedef struct {
+ ngx_flag_t enable;
+ ngx_str_t certificate;
+ ngx_str_t certificate_key;
+
+ ngx_str_t ciphers;
+
+ ngx_ssl_ctx_t *ssl_ctx;
+} ngx_imap_ssl_conf_t;
+
+
+extern ngx_module_t ngx_imap_ssl_module;
+
+
+#endif /* _NGX_IMAP_SSL_H_INCLUDED_ */