YAZ  5.26.1
Data Fields
comstack Struct Reference

#include <comstack.h>

Data Fields

CS_TYPE type
 
int cerrno
 
int iofile
 
void * cprivate
 
int max_recv_bytes
 
int state
 
int newfd
 
int flags
 
unsigned io_pending
 
int event
 
enum oid_proto protocol
 
int(* f_put )(COMSTACK handle, char *buf, int size)
 
int(* f_get )(COMSTACK handle, char **buf, int *bufsize)
 
int(* f_more )(COMSTACK handle)
 
int(* f_connect )(COMSTACK handle, void *address)
 
int(* f_rcvconnect )(COMSTACK handle)
 
int(* f_bind )(COMSTACK handle, void *address, int mode)
 
int(* f_listen )(COMSTACK h, char *raddr, int *addrlen, int(*check_ip)(void *cd, const char *a, int len, int type), void *cd)
 
COMSTACK(* f_accept )(COMSTACK handle)
 
void(* f_close )(COMSTACK handle)
 
const char *(* f_addrstr )(COMSTACK handle)
 
void *(* f_straddr )(COMSTACK handle, const char *str)
 
int(* f_set_blocking )(COMSTACK handle, int blocking)
 
void * user
 

Detailed Description

Definition at line 46 of file comstack.h.

Field Documentation

◆ cerrno

int comstack::cerrno

◆ cprivate

void* comstack::cprivate

◆ event

int comstack::event

◆ f_accept

COMSTACK(* comstack::f_accept) (COMSTACK handle)

Definition at line 82 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_addrstr

const char*(* comstack::f_addrstr) (COMSTACK handle)

Definition at line 84 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_bind

int(* comstack::f_bind) (COMSTACK handle, void *address, int mode)

Definition at line 76 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_close

void(* comstack::f_close) (COMSTACK handle)

Definition at line 83 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_connect

int(* comstack::f_connect) (COMSTACK handle, void *address)

Definition at line 74 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_get

int(* comstack::f_get) (COMSTACK handle, char **buf, int *bufsize)

Definition at line 72 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_listen

int(* comstack::f_listen) (COMSTACK h, char *raddr, int *addrlen, int(*check_ip)(void *cd, const char *a, int len, int type), void *cd)

Definition at line 79 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_more

int(* comstack::f_more) (COMSTACK handle)

Definition at line 73 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_put

int(* comstack::f_put) (COMSTACK handle, char *buf, int size)

Definition at line 71 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_rcvconnect

int(* comstack::f_rcvconnect) (COMSTACK handle)

Definition at line 75 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_set_blocking

int(* comstack::f_set_blocking) (COMSTACK handle, int blocking)

Definition at line 86 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ f_straddr

void*(* comstack::f_straddr) (COMSTACK handle, const char *str)

Definition at line 85 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

◆ flags

int comstack::flags

◆ io_pending

unsigned comstack::io_pending

◆ iofile

int comstack::iofile

◆ max_recv_bytes

int comstack::max_recv_bytes

Definition at line 52 of file comstack.h.

Referenced by cs_set_max_recv_bytes(), tcpip_get(), and tcpip_type().

◆ newfd

int comstack::newfd

Definition at line 61 of file comstack.h.

Referenced by tcpip_accept(), tcpip_listen(), unix_accept(), and unix_listen().

◆ protocol

enum oid_proto comstack::protocol

Definition at line 70 of file comstack.h.

Referenced by do_connect_host(), tcpip_addrstr(), tcpip_straddr(), tcpip_type(), and unix_type().

◆ state

int comstack::state

◆ type

CS_TYPE comstack::type

◆ user

void* comstack::user

Definition at line 87 of file comstack.h.

Referenced by add_listener(), new_session(), tcpip_type(), unix_type(), and xml_config_bend_stop().


The documentation for this struct was generated from the following file: