comparison src/http/modules/ngx_http_ssl_module.h @ 0:f0b350454894 NGINX_0_1_0

nginx 0.1.0 *) The first public version.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Oct 2004 00:00:00 +0400
parents
children 7ca9bdc82b3f
comparison
equal deleted inserted replaced
-1:000000000000 0:f0b350454894
1
2 /*
3 * Copyright (C) Igor Sysoev
4 */
5
6
7 #ifndef _NGX_HTTP_SSL_H_INCLUDED_
8 #define _NGX_HTTP_SSL_H_INCLUDED_
9
10
11 #include <ngx_config.h>
12 #include <ngx_core.h>
13 #include <ngx_http.h>
14
15
16 typedef struct {
17 ngx_flag_t enable;
18 ngx_str_t certificate;
19 ngx_str_t certificate_key;
20
21 ngx_ssl_ctx_t *ssl_ctx;
22 } ngx_http_ssl_srv_conf_t;
23
24
25 ngx_int_t ngx_http_ssl_read(ngx_http_request_t *r, u_char *buf, size_t size);
26 ngx_int_t ngx_http_ssl_shutdown(ngx_http_request_t *r);
27 ngx_chain_t *ngx_http_ssl_write(ngx_connection_t *c, ngx_chain_t *in,
28 off_t limit);
29
30 void ngx_http_ssl_close_connection(SSL *ssl, ngx_log_t *log);
31
32
33 extern ngx_module_t ngx_http_ssl_module;
34
35
36 #endif /* _NGX_HTTP_SSL_H_INCLUDED_ */