Defines | Functions | Variables

MbsAPI/f_evt.c File Reference

#include "typedefs.h"
#include "f_stccomm.h"
#include "s_filhe.h"
#include "fLmd.h"
#include "gps_sc_def.h"
#include "f_evt.h"
#include "f_evcli.h"
#include "portnum_def.h"

Go to the source code of this file.

Defines

#define RFIO_open   open
#define RFIO_close   close
#define RFIO_read   read
#define RFIO_lseek   lseek

Functions

INTS4 f_evt_get_newbuf (s_evt_channel *)
INTS4 f_evt_check_buf (CHARS *, INTS4 *, INTS4 *, INTS4 *, INTS4 *)
INTS4 f_evt_ini_bufhe (s_evt_channel *ps_chan)
INTS4 f_evt_swap_filhe (s_bufhe *)
INTS4 f_ut_utime (INTS4, INTS4, CHARS *)
INTS4 f_evt_get_subevent (s_ve10_1 *ps_ve10_1, INTS4 l_subevent, INTS4 **pl_se, INTS4 **pl_d, INTS4 *pl_lwords)
INTS4 f_evt_type (s_bufhe *ps_bufhe, s_evhe *ps_evhe, INTS4 l_subid, INTS4 l_long, INTS4 l_hex, INTS4 l_data)
INTS4 f_evt_source_port (INTS4 l_port)
INTS4 f_evt_rev_port (INTS4 l_port)
INTS4 f_evt_get_open (INTS4 l_mode, CHARS *pc_server, s_evt_channel *ps_chan, CHARS **ps_info, INTS4 l_sample, INTS4 l_param)
INTS4 f_evt_get_event (s_evt_channel *ps_chan, INTS4 **ppl_buffer, INTS4 **ppl_goobuf)
INTS4 f_evt_get_close (s_evt_channel *ps_chan)
INTS4 f_evt_put_open (CHARS *pc_file, INTS4 l_size, INTS4 l_stream, INTS4 l_type, INTS4 l_subtype, s_evt_channel *ps_chan, CHARS *ps_filhe)
INTS4 f_evt_put_event (s_evt_channel *ps_chan, INTS4 *pl_evt_buf)
INTS4 f_evt_put_buffer (s_evt_channel *ps_chan, s_bufhe *ps_bufhe)
INTS4 f_evt_put_close (s_evt_channel *ps_chan)
INTS4 f_evt_error (INTS4 l_error, CHARS *pc_dest, INTS4 l_out)
INTS4 f_evt_get_buffer (s_evt_channel *ps_chan, INTS4 *ps_buffer)
INTS4 f_evt_skip_buffer (s_evt_channel *ps_chan, INTS4 l_buffer)
INTS4 f_evt_timeout (s_evt_channel *ps_chan, INTS4 l_sec)
INTS4 f_evt_swap (CHARS *pc_source, INTS4 l_length)
CHARSf_evt_get_buffer_ptr (s_evt_channel *ps_chan)
INTS4 f_evt_tag_filter (s_ve10_1 *ps_ve10_1)
INTS4 f_evt_cre_tagfile (CHARS *pc_lmd, CHARS *pc_tag, INTS4(*e_filter)())
INTS4 f_evt_get_tagopen (s_evt_channel *ps_chan, CHARS *pc_tag, CHARS *pc_lmd, CHARS **ps_head, INTS4 l_prihe)
INTS4 f_evt_get_tagnext (s_evt_channel *ps_chan, INTS4 l_skip, INTS4 **pl_event)
INTS4 f_evt_get_tagevent (s_evt_channel *ps_chan, INTS4 l_value, INTS4 l_type, INTS4 **pl_event)
INTS4 f_evt_get_tagclose (s_evt_channel *ps_chan)
s_evt_channelf_evt_control ()

Variables

static struct s_tcpcomm s_tcpcomm_st_evt
static CHARS c_temp [MAX_BUF_LGTH]
static int l_gl_source_port = 0
static int l_gl_evt_check = 0

Define Documentation

#define RFIO_close   close

Definition at line 160 of file f_evt.c.

Referenced by f_evt_get_close(), and f_evt_get_open().

#define RFIO_lseek   lseek

Definition at line 162 of file f_evt.c.

Referenced by f_evt_get_open(), and f_evt_skip_buffer().

#define RFIO_open   open

Definition at line 159 of file f_evt.c.

Referenced by f_evt_get_open().

#define RFIO_read   read

Definition at line 161 of file f_evt.c.

Referenced by f_evt_get_buffer(), f_evt_get_newbuf(), and f_evt_get_open().


Function Documentation

INTS4 f_evt_check_buf ( CHARS pc_head,
INTS4 pl_size,
INTS4 pl_is_goosybuf,
INTS4 pl_swap,
INTS4 pl_filehead 
)

Definition at line 2068 of file f_evt.c.

References f_evt_swap(), and PUTEVT__SUCCESS.

Referenced by f_evt_cre_tagfile(), and f_evt_get_open().

s_evt_channel* f_evt_control (  ) 

Definition at line 2845 of file f_evt.c.

Referenced by TGo4MbsSource::TGo4MbsSource().

INTS4 f_evt_cre_tagfile ( CHARS pc_lmd,
CHARS pc_tag,
INTS4(*)()  e_filter 
)
INTS4 f_evt_error ( INTS4  l_error,
CHARS pc_dest,
INTS4  l_out 
)
INTS4 f_evt_get_buffer ( s_evt_channel ps_chan,
INTS4 ps_buffer 
)
CHARS* f_evt_get_buffer_ptr ( s_evt_channel ps_chan  ) 

Definition at line 1955 of file f_evt.c.

References s_evt_channel::pc_io_buf.

Referenced by TGo4MbsSource::GetBufferHeader().

INTS4 f_evt_get_close ( s_evt_channel ps_chan  ) 
INTS4 f_evt_get_event ( s_evt_channel ps_chan,
INTS4 **  ppl_buffer,
INTS4 **  ppl_goobuf 
)
INTS4 f_evt_get_newbuf ( s_evt_channel ps_chan  ) 
INTS4 f_evt_get_open ( INTS4  l_mode,
CHARS pc_server,
s_evt_channel ps_chan,
CHARS **  ps_info,
INTS4  l_sample,
INTS4  l_param 
)
INTS4 f_evt_get_subevent ( s_ve10_1 ps_ve10_1,
INTS4  l_subevent,
INTS4 **  pl_se,
INTS4 **  pl_d,
INTS4 pl_lwords 
)

Definition at line 243 of file f_evt.c.

References GETEVT__FAILURE, GETEVT__NOMORE, GETEVT__SUCCESS, l, s_ves10_1::l_dlen, s_ve10_1::l_dlen, and l_status.

Referenced by f_evt_type().

INTS4 f_evt_get_tagclose ( s_evt_channel ps_chan  ) 
INTS4 f_evt_get_tagevent ( s_evt_channel ps_chan,
INTS4  l_value,
INTS4  l_type,
INTS4 **  pl_event 
)
INTS4 f_evt_get_tagnext ( s_evt_channel ps_chan,
INTS4  l_skip,
INTS4 **  pl_event 
)
INTS4 f_evt_get_tagopen ( s_evt_channel ps_chan,
CHARS pc_tag,
CHARS pc_lmd,
CHARS **  ps_head,
INTS4  l_prihe 
)
INTS4 f_evt_ini_bufhe ( s_evt_channel ps_chan  ) 
INTS4 f_evt_put_buffer ( s_evt_channel ps_chan,
s_bufhe ps_bufhe 
)
INTS4 f_evt_put_close ( s_evt_channel ps_chan  ) 
INTS4 f_evt_put_event ( s_evt_channel ps_chan,
INTS4 pl_evt_buf 
)
INTS4 f_evt_put_open ( CHARS pc_file,
INTS4  l_size,
INTS4  l_stream,
INTS4  l_type,
INTS4  l_subtype,
s_evt_channel ps_chan,
CHARS ps_filhe 
)
INTS4 f_evt_rev_port ( INTS4  l_port  ) 

Definition at line 518 of file f_evt.c.

References l_gl_source_port.

INTS4 f_evt_skip_buffer ( s_evt_channel ps_chan,
INTS4  l_buffer 
)
INTS4 f_evt_source_port ( INTS4  l_port  ) 

Definition at line 495 of file f_evt.c.

References l_gl_source_port.

Referenced by TGo4MbsSource::Open().

INTS4 f_evt_swap ( CHARS pc_source,
INTS4  l_length 
)
INTS4 f_evt_swap_filhe ( s_bufhe ps_bufhe  ) 
INTS4 f_evt_tag_filter ( s_ve10_1 ps_ve10_1  ) 

Definition at line 2215 of file f_evt.c.

INTS4 f_evt_timeout ( s_evt_channel ps_chan,
INTS4  l_sec 
)

Definition at line 1858 of file f_evt.c.

References GETEVT__SUCCESS, and s_evt_channel::l_timeout.

Referenced by TGo4MbsSource::Open().

INTS4 f_evt_type ( s_bufhe ps_bufhe,
s_evhe ps_evhe,
INTS4  l_subid,
INTS4  l_long,
INTS4  l_hex,
INTS4  l_data 
)
INTS4 f_ut_utime ( INTS4  ,
INTS4  ,
CHARS  
)

Variable Documentation

CHARS c_temp[MAX_BUF_LGTH] [static]

Definition at line 183 of file f_evt.c.

Referenced by f_evt_cre_tagfile(), f_evt_get_open(), f_evt_get_tagevent(), and f_evt_get_tagopen().

int l_gl_evt_check = 0 [static]

Definition at line 185 of file f_evt.c.

int l_gl_source_port = 0 [static]

Definition at line 184 of file f_evt.c.

Referenced by f_evt_get_open(), f_evt_rev_port(), and f_evt_source_port().

struct s_tcpcomm s_tcpcomm_st_evt [static]

Definition at line 182 of file f_evt.c.

Referenced by f_evt_get_close(), and f_evt_get_open().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines