Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/MbsAPI/f_evcli.c File Reference

Go to the source code of this file.

Defines

#define F__SWAP(ps, l, pd)   f_swaplw((int *)ps,(int)l,(int *)pd)
#define IN_AIX   0
#define EVT_MAX   1000
#define TCP__TIMEOUT   3000
#define FLUSH__TIME   3
#define STDOUT_BUFIO_   1

Functions

void f_clnup (long[], int *)
void f_clnup_save (long[], int *)
int f_fltdscr (struct s_clnt_filter *)
int f_read_server (s_evt_channel *, int *, int, int)
int f_send_ackn (int, int)
int swapw (unsigned short *, unsigned short *, unsigned int)
int swapl (unsigned int *, unsigned int *, unsigned int)
int f_evcli_con (s_evt_channel *ps_chan, char *pc_node, int l_aport, int l_aevents, int l_asample)
int f_evcli_buf (s_evt_channel *ps_chan)
int f_evcli_evt (s_evt_channel *ps_chan)
int f_evcli_close (s_evt_channel *ps_chan)
int f_fltdscr (p_clnt_filter) struct s_clnt_filter *p_clnt_filter

Variables

unsigned short * pi_inbuf
unsigned int * pl_inbuf
unsigned int l_len_w
int i_debug = 0
s_clnt_filterp_clnt_filter
s_clntbufp_clntbuf
s_opc1p_opc1
int unsigned lf_swap = 0
int unsigned l_endian_serv
int l_len_lw1 = CLNT__BUFH_LW
int l_len_lw2
int i_channel
int unsigned l_clnt_sts
int l_status
int l_sts
char c_modnam [] = "f_evcli"
short if_typevt
short i_sign = 1
short i_len
int l_timeout
int l_retval
s_tcpcomm s_tcpcomm_ec = {0,0,0}
struct {
   int   l_ack_buf
   int   l_ack_bytes
   int unsigned   l_clnt_sts
s_ackn
long v_mem_clnup [8]
char * c_file
int * p_bytrd
int i_chan
l
int * p_keyb


Define Documentation

#define F__SWAP ps,
l,
pd       f_swaplw((int *)ps,(int)l,(int *)pd)
 

Definition at line 59 of file f_evcli.c.

Referenced by f_evcli_buf(), and f_evcli_con().

#define IN_AIX   0
 

Definition at line 107 of file f_evcli.c.

#define EVT_MAX   1000
 

Definition at line 166 of file f_evcli.c.

#define TCP__TIMEOUT   3000
 

Definition at line 167 of file f_evcli.c.

Referenced by f_evcli_con().

#define FLUSH__TIME   3
 

Definition at line 168 of file f_evcli.c.

Referenced by f_evcli_con().

#define STDOUT_BUFIO_   1
 

Definition at line 169 of file f_evcli.c.


Function Documentation

void f_clnup long   [],
int *   
 

Referenced by f_evcli_buf(), f_evcli_close(), and f_evcli_con().

void f_clnup_save long   [],
int *   
 

Referenced by f_evcli_buf(), and f_evcli_con().

int f_fltdscr struct s_clnt_filter  
 

int f_read_server s_evt_channel  ,
int *   ,
int   ,
int   
 

Referenced by f_evcli_buf(), and f_evcli_con().

int f_send_ackn int   ,
int   
 

Referenced by f_evcli_buf(), and f_evcli_close().

int swapw unsigned short *   ,
unsigned short *   ,
unsigned    int
 

int swapl unsigned int *   ,
unsigned int *   ,
unsigned    int
 

int f_evcli_con s_evt_channel   ps_chan,
char *    pc_node,
int    l_aport,
int    l_aevents,
int    l_asample
 

Definition at line 197 of file f_evcli.c.

References s_opc1::b1_evtsev, s_opc1::b1_lnkf1, s_opc1::b1_lnkf2, s_opc1::b1_selflt, s_opc1::b1_selwrt, s_opc1::b3_opc, c_modnam, CLNT__BUFH_LW, CLNT__OUTBUFHEAD, CLNT__REST_LW, F__SWAP, f_clnup(), f_clnup_save(), f_fltdscr(), f_read_server(), f_stc_close(), f_stc_connectserver(), f_stc_disperror(), f_stc_write(), FLUSH__TIME, GPS__CLNT_SNDFLT, GPS__ENV_TESTBIT, GPS__OUTBUFSIZ, s_opc1::h_flt_len, s_opc1::h_fltspec, s_opc1::h_next_fltblk, i, s_clntbuf::l_buffertype, s_clntbuf::l_dlen, s_clntbuf::l_endian, s_clnt_filter::l_endian, l_endian_serv, s_clntbuf::l_inbuf_read_cnt, l_len_lw2, s_clnt_filter::l_numb_of_evt, l_port, l_retval, l_status, l_sts, s_clntbuf::l_testbit, s_clnt_filter::l_testbit, l_timeout, lf_swap, STC__SUCCESS, TCP__TIMEOUT, and v_mem_clnup.

Referenced by f_evt_get_open().

int f_evcli_buf s_evt_channel   ps_chan
 

Definition at line 390 of file f_evcli.c.

References s_clntbuf::c_buffer, s_clntbuf::c_message, c_modnam, CLNT__BUFH_LW, CLNT__REST_LW, F__SWAP, f_clnup(), f_clnup_save(), f_read_server(), f_send_ackn(), f_stc_close(), s_clntbuf::l_buffertype, l_clnt_sts, s_clntbuf::l_dlen, s_clntbuf::l_events, s_clntbuf::l_inbuf_read_cnt, l_len_lw2, s_clntbuf::l_msgtyp, l_retval, l_status, l_sts, s_clntbuf::l_testbit, l_timeout, pl_inbuf, STC__SUCCESS, STC__TIMEOUT, and v_mem_clnup.

Referenced by f_evt_get_event().

int f_evcli_evt s_evt_channel   ps_chan
 

Definition at line 481 of file f_evcli.c.

References s_ve10_1::l_dlen, and s_clntbuf::l_events.

Referenced by f_evt_get_event().

int f_evcli_close s_evt_channel   ps_chan
 

Definition at line 500 of file f_evcli.c.

References c_modnam, f_clnup(), f_send_ackn(), f_stc_close(), f_stc_discclient(), l_status, and v_mem_clnup.

Referenced by f_evt_get_close().

int f_fltdscr p_clnt_filter   
 

Referenced by f_evcli_con().


Variable Documentation

unsigned short* pi_inbuf
 

Definition at line 159 of file f_evcli.c.

unsigned int* pl_inbuf
 

Definition at line 160 of file f_evcli.c.

Referenced by f_evcli_buf().

unsigned int l_len_w
 

Definition at line 161 of file f_evcli.c.

int i_debug = 0 [static]
 

Definition at line 164 of file f_evcli.c.

struct s_clnt_filter* p_clnt_filter
 

Definition at line 171 of file f_evcli.c.

struct s_clntbuf* p_clntbuf
 

Definition at line 172 of file f_evcli.c.

struct s_opc1* p_opc1
 

Definition at line 173 of file f_evcli.c.

int unsigned lf_swap = 0 [static]
 

Definition at line 175 of file f_evcli.c.

Referenced by f_evcli_con().

int unsigned l_endian_serv [static]
 

Definition at line 176 of file f_evcli.c.

Referenced by f_evcli_con().

int l_len_lw1 = CLNT__BUFH_LW [static]
 

Definition at line 177 of file f_evcli.c.

int l_len_lw2
 

Definition at line 178 of file f_evcli.c.

Referenced by f_evcli_buf(), and f_evcli_con().

INTS4 i_channel
 

Definition at line 332 of file f_stccomm.c.

int unsigned l_clnt_sts
 

Definition at line 191 of file f_evcli.c.

Referenced by f_evcli_buf().

int l_status
 

Definition at line 181 of file f_evcli.c.

Referenced by f_evcli_buf(), f_evcli_close(), and f_evcli_con().

int l_sts
 

Definition at line 181 of file f_evcli.c.

Referenced by f_evcli_buf(), and f_evcli_con().

char c_modnam[] = "f_evcli" [static]
 

Definition at line 182 of file f_evcli.c.

Referenced by f_evcli_buf(), f_evcli_close(), and f_evcli_con().

short if_typevt
 

Definition at line 183 of file f_evcli.c.

short i_sign = 1
 

Definition at line 183 of file f_evcli.c.

short i_len
 

Definition at line 183 of file f_evcli.c.

int l_timeout
 

Definition at line 1477 of file f_evcli.c.

Referenced by f_evcli_buf(), and f_evcli_con().

int l_retval
 

Definition at line 185 of file f_evcli.c.

Referenced by f_evcli_buf(), and f_evcli_con().

struct s_tcpcomm s_tcpcomm_ec = {0,0,0} [static]
 

Definition at line 186 of file f_evcli.c.

int l_ack_buf
 

Definition at line 189 of file f_evcli.c.

int l_ack_bytes
 

Definition at line 190 of file f_evcli.c.

struct { ... } s_ackn [static]
 

long v_mem_clnup[8]
 

Definition at line 195 of file f_evcli.c.

Referenced by f_evcli_buf(), f_evcli_close(), and f_evcli_con().

char* c_file
 

Definition at line 911 of file f_evcli.c.

Referenced by f_evt_get_open(), and f_evt_put_open().

int* p_bytrd
 

Definition at line 1476 of file f_evcli.c.

int i_chan
 

Definition at line 1706 of file f_evcli.c.

* l
 

Definition at line 1781 of file f_evcli.c.

int * p_keyb
 

Definition at line 1855 of file f_evcli.c.


Generated on Tue Nov 8 10:56:22 2005 for Go4-v2.10-5 by doxygen1.2.15