YAZ 5.38.1
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 401 of file tcpip.c.

References connect_and_bind(), ssl_type(), and yaz_ssl_create().

Referenced by cs_create_host2(), and yaz_ssl_create().

◆ yaz_tcpip_create()

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

Definition at line 346 of file tcpip.c.

References tcpip_state::connect_host, yaz_tcpip_create(), and yaz_tcpip_create2().

Referenced by yaz_tcpip_create().

◆ yaz_tcpip_create2()

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

◆ 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 )