📄 ssl.h
字号:
/* $Id: ssl.h,v 1.21 2004/08/03 00:50:50 jonas Exp $ */#ifndef EL__SSL_SSL_H#define EL__SSL_SSL_H#ifdef CONFIG_SSL#include "modules/module.h"#include "sched/connection.h"extern struct module ssl_module;/* Initializes the SSL connection data. Returns S_OK on success and S_SSL_ERROR * on failure. */int init_ssl_connection(struct connection_socket *socket);/* Releases the SSL connection data */void done_ssl_connection(struct connection_socket *socket);unsigned char *get_ssl_connection_cipher(struct connection *conn);/* Internal type used in ssl module. */#ifdef CONFIG_OPENSSL#define ssl_t SSL#elif defined(CONFIG_GNUTLS)#define ssl_t GNUTLS_STATE#endif#endif /* CONFIG_SSL */#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -