YAZ  5.23.1
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

COMSTACK ssl_type ( int  s,
int  flags,
int  protocol,
void *  vp 
)
COMSTACK tcpip_type ( int  s,
int  flags,
int  protocol,
void *  vp 
)
COMSTACK yaz_ssl_create ( int  s,
int  flags,
int  protocol,
const char *  connect_host,
const char *  connect_auth,
const char *  bind_host 
)
COMSTACK yaz_tcpip_create ( int  s,
int  flags,
int  protocol,
const char *  connect_host 
)

Definition at line 305 of file tcpip.c.

References comstack::cprivate, xmalloc, and yaz_tcpip_create2().

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

Definition at line 298 of file tcpip.c.

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

References connect_and_bind(), and tcpip_type().

Referenced by cs_create_host2(), and yaz_tcpip_create2().