diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:25:05 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:25:05 +0900 |
| commit | c7a201b58080c7a0f57b38c59e7865aa42c1d029 (patch) | |
| tree | cde6146e3aada31e68594fd4f034abe90621ce34 /ssl.h | |
| download | vsftpd-master.tar.gz vsftpd-master.zip | |
Import vsftpd-3.0.5.tar.gzHEADlocal/vsftpdmaster
Diffstat (limited to 'ssl.h')
| -rw-r--r-- | ssl.h | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -0,0 +1,33 @@ +#ifndef VSF_SSL_H +#define VSF_SSL_H + +struct vsf_session; +struct mystr; + +int ssl_read(struct vsf_session* p_sess, + void* p_ssl, + char* p_buf, + unsigned int len); +int ssl_peek(struct vsf_session* p_sess, + void* p_ssl, + char* p_buf, + unsigned int len); +int ssl_write(void* p_ssl, const char* p_buf, unsigned int len); +int ssl_write_str(void* p_ssl, const struct mystr* p_str); +int ssl_read_into_str(struct vsf_session* p_sess, + void* p_ssl, + struct mystr* p_str); +void ssl_init(struct vsf_session* p_sess); +int ssl_accept(struct vsf_session* p_sess, int fd); +int ssl_data_close(struct vsf_session* p_sess); +void ssl_comm_channel_init(struct vsf_session* p_sess); +void ssl_comm_channel_set_consumer_context(struct vsf_session* p_sess); +void ssl_comm_channel_set_producer_context(struct vsf_session* p_sess); +void handle_auth(struct vsf_session* p_sess); +void handle_pbsz(struct vsf_session* p_sess); +void handle_prot(struct vsf_session* p_sess); +void ssl_control_handshake(struct vsf_session* p_sess); +void ssl_add_entropy(struct vsf_session* p_sess); + +#endif /* VSF_SSL_H */ + |
