Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_ssl_filter.h @ 393:5659d773cfa8
nginx-0.0.7-2004-07-15-20:35:51 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 15 Jul 2004 16:35:51 +0000 |
parents | d1222d46b3f9 |
children |
comparison
equal
deleted
inserted
replaced
392:d1222d46b3f9 | 393:5659d773cfa8 |
---|---|
5 #include <ngx_config.h> | 5 #include <ngx_config.h> |
6 #include <ngx_core.h> | 6 #include <ngx_core.h> |
7 #include <ngx_http.h> | 7 #include <ngx_http.h> |
8 | 8 |
9 | 9 |
10 #define NGX_SSL_ERROR -10 | 10 typedef struct { |
11 #define NGX_SSL_HTTP_ERROR -11 | 11 ngx_flag_t enable; |
12 ngx_str_t certificate; | |
13 ngx_str_t certificate_key; | |
14 | |
15 ngx_ssl_ctx_t *ssl_ctx; | |
16 } ngx_http_ssl_srv_conf_t; | |
12 | 17 |
13 | 18 |
14 ngx_int_t ngx_http_ssl_read(ngx_http_request_t *r, u_char *buf, size_t size); | 19 ngx_int_t ngx_http_ssl_read(ngx_http_request_t *r, u_char *buf, size_t size); |
15 ngx_int_t ngx_http_ssl_shutdown(ngx_http_request_t *r); | 20 ngx_int_t ngx_http_ssl_shutdown(ngx_http_request_t *r); |
16 ngx_chain_t *ngx_http_ssl_write(ngx_connection_t *c, ngx_chain_t *in, | 21 ngx_chain_t *ngx_http_ssl_write(ngx_connection_t *c, ngx_chain_t *in, |
17 off_t limit); | 22 off_t limit); |
18 | 23 |
19 void ngx_http_ssl_close_connection(SSL *ssl, ngx_log_t *log); | 24 void ngx_http_ssl_close_connection(SSL *ssl, ngx_log_t *log); |
20 | 25 |
21 | 26 |
27 extern ngx_module_t ngx_http_ssl_filter_module; | |
28 | |
29 | |
22 #endif /* _NGX_HTTP_SSL_FILTER_H_INCLUDED_ */ | 30 #endif /* _NGX_HTTP_SSL_FILTER_H_INCLUDED_ */ |