nginx/src/http/modules/ngx_http_ssl_module.h

44 lines
826 B
C
Raw Normal View History

/*
* Copyright (C) Igor Sysoev
*/
2004-07-17 01:11:43 +08:00
#ifndef _NGX_HTTP_SSL_H_INCLUDED_
#define _NGX_HTTP_SSL_H_INCLUDED_
2004-07-08 23:17:47 +08:00
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
2004-07-16 00:35:51 +08:00
typedef struct {
ngx_flag_t enable;
ngx_ssl_t ssl;
ngx_flag_t prefer_server_ciphers;
ngx_uint_t protocols;
2004-07-16 00:35:51 +08:00
ngx_str_t certificate;
ngx_str_t certificate_key;
ngx_str_t ciphers;
2004-07-16 00:35:51 +08:00
} ngx_http_ssl_srv_conf_t;
2004-07-12 05:03:47 +08:00
2004-07-15 04:07:58 +08:00
ngx_int_t ngx_http_ssl_read(ngx_http_request_t *r, u_char *buf, size_t size);
ngx_int_t ngx_http_ssl_shutdown(ngx_http_request_t *r);
ngx_chain_t *ngx_http_ssl_write(ngx_connection_t *c, ngx_chain_t *in,
off_t limit);
2004-07-15 00:01:42 +08:00
2004-07-12 05:03:47 +08:00
void ngx_http_ssl_close_connection(SSL *ssl, ngx_log_t *log);
2004-07-08 23:17:47 +08:00
2004-07-17 01:11:43 +08:00
extern ngx_module_t ngx_http_ssl_module;
2004-07-16 00:35:51 +08:00
2004-07-17 01:11:43 +08:00
#endif /* _NGX_HTTP_SSL_H_INCLUDED_ */