YAZ 5.37.0
tcpip.h File Reference

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)

Detailed Description

Header for TCP/IP + SSL COMSTACK.

Definition in file tcpip.h.

Function Documentation

◆ ssl_type()

◆ tcpip_type()

◆ yaz_ssl_create()

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 346 of file tcpip.c.

References connect_and_bind(), and ssl_type().

Referenced by cs_create_host2().

◆ yaz_tcpip_create()

COMSTACK yaz_tcpip_create ( int s,
int flags,
int protocol,
const char * connect_host )

Definition at line 308 of file tcpip.c.

References yaz_tcpip_create2().

◆ yaz_tcpip_create2()

COMSTACK yaz_tcpip_create2 ( int s,
int flags,
int protocol,
const char * connect_host,
const char * bind_host )

Definition at line 301 of file tcpip.c.

References tcpip_state::bind_host, and yaz_tcpip_create3().

Referenced by yaz_tcpip_create().

◆ yaz_tcpip_create3()

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 289 of file tcpip.c.

References tcpip_state::bind_host, connect_and_bind(), and tcpip_type().

Referenced by cs_create_host2(), and yaz_tcpip_create2().