YAZ  5.23.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

int comstack::cerrno
void* comstack::cprivate
int comstack::event
COMSTACK(* comstack::f_accept) (COMSTACK handle)

Definition at line 82 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

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

Definition at line 84 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

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().

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

Definition at line 83 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

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

Definition at line 74 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

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().

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().

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

Definition at line 73 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

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().

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

Definition at line 75 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

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

Definition at line 86 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

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

Definition at line 85 of file comstack.h.

Referenced by tcpip_type(), and unix_type().

int comstack::flags
unsigned comstack::io_pending
int comstack::iofile
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().

int comstack::newfd

Definition at line 61 of file comstack.h.

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

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().

int comstack::state
CS_TYPE comstack::type
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: