summaryrefslogtreecommitdiffhomepage
path: root/src/mail/ngx_mail_ssl_module.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mail/ngx_mail_ssl_module.h (renamed from src/imap/ngx_imap_ssl_module.h)18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/imap/ngx_imap_ssl_module.h b/src/mail/ngx_mail_ssl_module.h
index 8ab8af287..c69e6186c 100644
--- a/src/imap/ngx_imap_ssl_module.h
+++ b/src/mail/ngx_mail_ssl_module.h
@@ -4,18 +4,18 @@
*/
-#ifndef _NGX_IMAP_SSL_H_INCLUDED_
-#define _NGX_IMAP_SSL_H_INCLUDED_
+#ifndef _NGX_MAIL_SSL_H_INCLUDED_
+#define _NGX_MAIL_SSL_H_INCLUDED_
#include <ngx_config.h>
#include <ngx_core.h>
-#include <ngx_imap.h>
+#include <ngx_mail.h>
-#define NGX_IMAP_STARTTLS_OFF 0
-#define NGX_IMAP_STARTTLS_ON 1
-#define NGX_IMAP_STARTTLS_ONLY 2
+#define NGX_MAIL_STARTTLS_OFF 0
+#define NGX_MAIL_STARTTLS_ON 1
+#define NGX_MAIL_STARTTLS_ONLY 2
typedef struct {
@@ -38,10 +38,10 @@ typedef struct {
ngx_str_t ciphers;
ngx_shm_zone_t *shm_zone;
-} ngx_imap_ssl_conf_t;
+} ngx_mail_ssl_conf_t;
-extern ngx_module_t ngx_imap_ssl_module;
+extern ngx_module_t ngx_mail_ssl_module;
-#endif /* _NGX_IMAP_SSL_H_INCLUDED_ */
+#endif /* _NGX_MAIL_SSL_H_INCLUDED_ */