Mercurial > hg > nginx
comparison src/mail/ngx_mail.h @ 2224:109849282793
*) listen ssl
*) no default ssl_cetificate and ssl_cetificate_key
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Sep 2008 14:19:01 +0000 |
parents | 057d362ee50e |
children | 8156bc03982a |
comparison
equal
deleted
inserted
replaced
2223:005fc65f7ce7 | 2224:109849282793 |
---|---|
32 | 32 |
33 /* server ctx */ | 33 /* server ctx */ |
34 ngx_mail_conf_ctx_t *ctx; | 34 ngx_mail_conf_ctx_t *ctx; |
35 | 35 |
36 unsigned bind:1; | 36 unsigned bind:1; |
37 #if (NGX_MAIL_SSL) | |
38 unsigned ssl:1; | |
39 #endif | |
37 } ngx_mail_listen_t; | 40 } ngx_mail_listen_t; |
38 | 41 |
39 | 42 |
40 typedef struct { | 43 typedef struct { |
41 in_addr_t addr; | 44 in_addr_t addr; |
42 ngx_mail_conf_ctx_t *ctx; | 45 ngx_mail_conf_ctx_t *ctx; |
43 ngx_str_t addr_text; | 46 ngx_str_t addr_text; |
47 #if (NGX_MAIL_SSL) | |
48 ngx_uint_t ssl; /* unsigned ssl:1; */ | |
49 #endif | |
44 } ngx_mail_in_addr_t; | 50 } ngx_mail_in_addr_t; |
45 | 51 |
46 | 52 |
47 typedef struct { | 53 typedef struct { |
48 ngx_mail_in_addr_t *addrs; /* array of ngx_mail_in_addr_t */ | 54 ngx_mail_in_addr_t *addrs; /* array of ngx_mail_in_addr_t */ |
58 | 64 |
59 typedef struct { | 65 typedef struct { |
60 in_addr_t addr; | 66 in_addr_t addr; |
61 ngx_mail_conf_ctx_t *ctx; | 67 ngx_mail_conf_ctx_t *ctx; |
62 unsigned bind:1; | 68 unsigned bind:1; |
69 #if (NGX_MAIL_SSL) | |
70 unsigned ssl:1; | |
71 #endif | |
63 } ngx_mail_conf_in_addr_t; | 72 } ngx_mail_conf_in_addr_t; |
64 | 73 |
65 | 74 |
66 typedef struct { | 75 typedef struct { |
67 ngx_array_t servers; /* ngx_mail_core_srv_conf_t */ | 76 ngx_array_t servers; /* ngx_mail_core_srv_conf_t */ |