YAZ  5.34.0
Functions
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()

COMSTACK ssl_type ( int  s,
int  flags,
int  protocol,
void *  vp 
)

◆ tcpip_type()

COMSTACK tcpip_type ( int  s,
int  flags,
int  protocol,
void *  vp 
)

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

References tcpip_state::bind_host, 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 307 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 300 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 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().