comparison 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
comparison
equal deleted inserted replaced
1135:03f1133f24e8 1136:68f30ab68bb7
1
2 /*
3 * Copyright (C) Igor Sysoev
4 */
5
6
7 #ifndef _NGX_MAIL_SSL_H_INCLUDED_
8 #define _NGX_MAIL_SSL_H_INCLUDED_
9
10
11 #include <ngx_config.h>
12 #include <ngx_core.h>
13 #include <ngx_mail.h>
14
15
16 #define NGX_MAIL_STARTTLS_OFF 0
17 #define NGX_MAIL_STARTTLS_ON 1
18 #define NGX_MAIL_STARTTLS_ONLY 2
19
20
21 typedef struct {
22 ngx_flag_t enable;
23
24 ngx_ssl_t ssl;
25
26 ngx_flag_t prefer_server_ciphers;
27 ngx_flag_t starttls;
28
29 ngx_uint_t protocols;
30
31 ssize_t builtin_session_cache;
32
33 time_t session_timeout;
34
35 ngx_str_t certificate;
36 ngx_str_t certificate_key;
37
38 ngx_str_t ciphers;
39
40 ngx_shm_zone_t *shm_zone;
41 } ngx_mail_ssl_conf_t;
42
43
44 extern ngx_module_t ngx_mail_ssl_module;
45
46
47 #endif /* _NGX_MAIL_SSL_H_INCLUDED_ */