annotate src/imap/ngx_imap_ssl_module.h @ 260:0effe91f6083 NGINX_0_5_0

nginx 0.5.0 *) Change: the parameters in the "%name" form in the "log_format" directive are not supported anymore. *) Change: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", "fastcgi_upstream_fail_timeout", "memcached_upstream_max_fails", and "memcached_upstream_fail_timeout" directives are not supported anymore. *) Feature: the "server" directive in the "upstream" context supports the "max_fails", "fail_timeout", and "down" parameters. *) Feature: the "ip_hash" directive inside the "upstream" block. *) Feature: the WAIT status in the "Auth-Status" header line of the IMAP/POP3 proxy authentication server response. *) Bugfix: nginx could not be built on 64-bit platforms; bug appeared in 0.4.14.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Dec 2006 00:00:00 +0300
parents 91372f004adf
children 29a6403156b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 /*
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3 * Copyright (C) Igor Sysoev
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 */
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 #ifndef _NGX_IMAP_SSL_H_INCLUDED_
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 #define _NGX_IMAP_SSL_H_INCLUDED_
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 #include <ngx_config.h>
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 #include <ngx_core.h>
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13 #include <ngx_imap.h>
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15
132
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
16 #define NGX_IMAP_STARTTLS_OFF 0
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
17 #define NGX_IMAP_STARTTLS_ON 1
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
18 #define NGX_IMAP_STARTTLS_ONLY 2
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
19
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
20
88
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21 typedef struct {
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22 ngx_flag_t enable;
96
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
23
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
24 ngx_ssl_t ssl;
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
25
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
26 ngx_flag_t prefer_server_ciphers;
132
91372f004adf nginx 0.3.13
Igor Sysoev <http://sysoev.ru>
parents: 122
diff changeset
27 ngx_flag_t starttls;
96
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
28
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
29 ngx_uint_t protocols;
ca4f70b3ccc6 nginx 0.2.2
Igor Sysoev <http://sysoev.ru>
parents: 88
diff changeset
30
122
d25a1d6034f1 nginx 0.3.8
Igor Sysoev <http://sysoev.ru>
parents: 96
diff changeset
31 time_t session_timeout;
d25a1d6034f1 nginx 0.3.8
Igor Sysoev <http://sysoev.ru>
parents: 96
diff changeset
32
88
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
33 ngx_str_t certificate;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
34 ngx_str_t certificate_key;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
35
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
36 ngx_str_t ciphers;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
37
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
38 } ngx_imap_ssl_conf_t;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
39
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
40
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
41 extern ngx_module_t ngx_imap_ssl_module;
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
42
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
43
e916a291e9aa nginx 0.1.44
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
44 #endif /* _NGX_IMAP_SSL_H_INCLUDED_ */