YAZ
5.34.0
|
Header for TCP/IP + SSL COMSTACK. More...
#include <yaz/comstack.h>
Go to the source code of this file.
Functions | |
COMSTACK | tcpip_type (int s, int flags, int protocol, void *vp) |
COMSTACK | ssl_type (int s, int flags, int protocol, void *vp) |
COMSTACK | yaz_tcpip_create (int s, int flags, int protocol, const char *connect_host) |
COMSTACK | yaz_tcpip_create2 (int s, int flags, int protocol, const char *connect_host, const char *bind_host) |
COMSTACK | yaz_tcpip_create3 (int s, int flags, int protocol, const char *connect_host, const char *connect_auth, const char *bind_host) |
COMSTACK | yaz_ssl_create (int s, int flags, int protocol, const char *connect_host, const char *connect_auth, const char *bind_host) |
Header for TCP/IP + SSL COMSTACK.
Definition in file tcpip.h.
COMSTACK ssl_type | ( | int | s, |
int | flags, | ||
int | protocol, | ||
void * | vp | ||
) |
Definition at line 324 of file tcpip.c.
References comstack::cprivate, tcpip_type(), and comstack::type.
Referenced by cont_connect(), cs_create_host2(), cs_get_peer_certificate_x509(), cs_parse_host(), cs_print_session_info(), cs_set_head_only(), cs_set_ssl_certificate_file(), cs_set_ssl_ctx(), tcpip_bind(), tcpip_rcvconnect(), tcpip_straddr(), and yaz_ssl_create().
COMSTACK tcpip_type | ( | int | s, |
int | flags, | ||
int | protocol, | ||
void * | vp | ||
) |
Definition at line 207 of file tcpip.c.
References comstack::cerrno, comstack::cprivate, CS_NONE, CS_ST_IDLE, CS_ST_UNBND, comstack::event, comstack::f_accept, comstack::f_addrstr, comstack::f_bind, comstack::f_close, comstack::f_connect, comstack::f_get, comstack::f_listen, comstack::f_more, comstack::f_put, comstack::f_rcvconnect, comstack::f_set_blocking, comstack::f_straddr, comstack::flags, comstack::io_pending, comstack::iofile, log_level, comstack::max_recv_bytes, comstack::protocol, comstack::state, tcpip_accept(), tcpip_addrstr(), tcpip_bind(), tcpip_close(), tcpip_connect(), tcpip_get(), tcpip_init(), tcpip_listen(), tcpip_more(), tcpip_put(), tcpip_rcvconnect(), tcpip_set_blocking(), tcpip_state_create(), tcpip_straddr(), comstack::type, comstack::user, xmalloc, and yaz_log().
Referenced by cs_create_host2(), cs_parse_host(), cs_set_head_only(), inetd_connection(), ssl_type(), and yaz_tcpip_create3().
COMSTACK yaz_ssl_create | ( | int | s, |
int | flags, | ||
int | protocol, | ||
const char * | connect_host, | ||
const char * | connect_auth, | ||
const char * | bind_host | ||
) |
Definition at line 345 of file tcpip.c.
References tcpip_state::bind_host, connect_and_bind(), and ssl_type().
Referenced by cs_create_host2().
COMSTACK yaz_tcpip_create | ( | int | s, |
int | flags, | ||
int | protocol, | ||
const char * | connect_host | ||
) |
Definition at line 307 of file tcpip.c.
References yaz_tcpip_create2().
COMSTACK yaz_tcpip_create2 | ( | int | s, |
int | flags, | ||
int | protocol, | ||
const char * | connect_host, | ||
const char * | bind_host | ||
) |
Definition at line 300 of file tcpip.c.
References tcpip_state::bind_host, and yaz_tcpip_create3().
Referenced by yaz_tcpip_create().
COMSTACK yaz_tcpip_create3 | ( | int | s, |
int | flags, | ||
int | protocol, | ||
const char * | connect_host, | ||
const char * | connect_auth, | ||
const char * | bind_host | ||
) |
Definition at line 288 of file tcpip.c.
References tcpip_state::bind_host, connect_and_bind(), and tcpip_type().
Referenced by cs_create_host2(), and yaz_tcpip_create2().