Mercurial > hg > nginx
diff src/mail/ngx_mail_ssl_module.h @ 1136:68f30ab68bb7
Many changes:
*) rename imap to mail, sort pop3/imap functions
*) smtp auth support
*) pop3 starttls only
*) fix segfault if cram-md5 was used without apop
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 19 Mar 2007 13:36:56 +0000 |
parents | src/imap/ngx_imap_ssl_module.h@b1431c191cf5 |
children | f45cec1cd270 |
line wrap: on
line diff
copy from src/imap/ngx_imap_ssl_module.h copy to src/mail/ngx_mail_ssl_module.h --- 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_ */