Mercurial > hg > nginx-vendor-1-0
annotate src/imap/ngx_imap_ssl_module.h @ 270:6eb1e38f0f1f NGINX_0_5_5
nginx 0.5.5
*) Change: the -v switch does not show compiler information any more.
*) Feature: the -V switch.
*) Feature: the "worker_rlimit_core" directive supports size in K, M,
and G.
*) Bugfix: the nginx.pm module now could be installed by an
unprivileged user.
*) Bugfix: a segmentation fault might occur if the $r->request_body or
$r->request_body_file methods were used.
*) Bugfix: the ppc platform specific bugs.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sun, 24 Dec 2006 00:00:00 +0300 |
parents | 91372f004adf |
children | 29a6403156b0 |
rev | line source |
---|---|
88 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_IMAP_SSL_H_INCLUDED_ | |
8 #define _NGX_IMAP_SSL_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 #include <ngx_imap.h> | |
14 | |
15 | |
132 | 16 #define NGX_IMAP_STARTTLS_OFF 0 |
17 #define NGX_IMAP_STARTTLS_ON 1 | |
18 #define NGX_IMAP_STARTTLS_ONLY 2 | |
19 | |
20 | |
88 | 21 typedef struct { |
22 ngx_flag_t enable; | |
96 | 23 |
24 ngx_ssl_t ssl; | |
25 | |
26 ngx_flag_t prefer_server_ciphers; | |
132 | 27 ngx_flag_t starttls; |
96 | 28 |
29 ngx_uint_t protocols; | |
30 | |
122 | 31 time_t session_timeout; |
32 | |
88 | 33 ngx_str_t certificate; |
34 ngx_str_t certificate_key; | |
35 | |
36 ngx_str_t ciphers; | |
37 | |
38 } ngx_imap_ssl_conf_t; | |
39 | |
40 | |
41 extern ngx_module_t ngx_imap_ssl_module; | |
42 | |
43 | |
44 #endif /* _NGX_IMAP_SSL_H_INCLUDED_ */ |