7 int ssl_read(struct vsf_session
* p_sess
,
11 int ssl_peek(struct vsf_session
* p_sess
,
15 int ssl_write(void* p_ssl
, const char* p_buf
, unsigned int len
);
16 int ssl_write_str(void* p_ssl
, const struct mystr
* p_str
);
17 int ssl_read_into_str(struct vsf_session
* p_sess
,
20 void ssl_init(struct vsf_session
* p_sess
);
21 int ssl_accept(struct vsf_session
* p_sess
, int fd
);
22 int ssl_data_close(struct vsf_session
* p_sess
);
23 void ssl_comm_channel_init(struct vsf_session
* p_sess
);
24 void ssl_comm_channel_set_consumer_context(struct vsf_session
* p_sess
);
25 void ssl_comm_channel_set_producer_context(struct vsf_session
* p_sess
);
26 void handle_auth(struct vsf_session
* p_sess
);
27 void handle_pbsz(struct vsf_session
* p_sess
);
28 void handle_prot(struct vsf_session
* p_sess
);
29 void ssl_control_handshake(struct vsf_session
* p_sess
);
30 void ssl_add_entropy(struct vsf_session
* p_sess
);
32 #endif /* VSF_SSL_H */