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

/MbsAPI/f_evt.h File Reference

Go to the source code of this file.

Compounds

struct  s_taghe
struct  s_tag
struct  s_evt_channel

Defines

#define MAX_BUF_LGTH   32768
#define MIN_BUF_LGTH   512
#define MAX_BUFS_IN_STREAM   100
#define MAX_LONG   99999999
#define GETEVT__FILE   1
#define GETEVT__STREAM   2
#define GETEVT__TRANS   3
#define GETEVT__EVENT   4
#define GETEVT__REVSERV   5
#define GETEVT__RFIO   6
#define GETEVT__TAGINDEX   10
#define GETEVT__TAGNUMBER   11
#define GETEVT__SUCCESS   0
#define GETEVT__FAILURE   1
#define GETEVT__FRAGMENT   2
#define GETEVT__NOMORE   3
#define GETEVT__NOFILE   4
#define GETEVT__NOSERVER   5
#define GETEVT__RDERR   6
#define GETEVT__CLOSE_ERR   7
#define GETEVT__NOCHANNEL   8
#define GETEVT__TIMEOUT   9
#define GETEVT__NOTAGFILE   10
#define GETEVT__NOTAG   11
#define GETEVT__TAGRDERR   12
#define GETEVT__TAGWRERR   13
#define GETEVT__NOLMDFILE   14
#define PUTEVT__SUCCESS   0
#define PUTEVT__FILE_EXIST   101
#define PUTEVT__FAILURE   102
#define PUTEVT__TOOBIG   103
#define PUTEVT__TOO_SMALLS   104
#define PUTEVT__CLOSE_ERR   105
#define PUTEVT__WRERR   106
#define PUTEVT__NOCHANNEL   107

Functions

INTS4 f_evt_cre_tagfile (CHARS *, CHARS *, INTS4(*)())
INTS4 f_evt_get_tagopen (s_evt_channel *, CHARS *, CHARS *, CHARS **, INTS4)
INTS4 f_evt_get_tagevent (s_evt_channel *, INTS4, INTS4, INTS4 **)
INTS4 f_evt_get_tagnext (s_evt_channel *, INTS4, INTS4 **)
INTS4 f_evt_get_tagclose (s_evt_channel *)
INTS4 f_evt_get_open (INTS4, CHARS *, s_evt_channel *, CHARS **, INTS4, INTS4)
INTS4 f_evt_get_event (s_evt_channel *, INTS4 **, INTS4 **)
INTS4 f_evt_get_subevent (s_ve10_1 *, INTS4, INTS4 **, INTS4 **, INTS4 *)
INTS4 f_evt_get_buffer (s_evt_channel *, INTS4 *)
INTS4 f_evt_get_close (s_evt_channel *)
CHARSf_evt_get_buffer_ptr (s_evt_channel *)
INTS4 f_evt_skip_buffer (s_evt_channel *, INTS4)
INTS4 f_evt_put_open (CHARS *, INTS4, INTS4, INTS4, INTS4, s_evt_channel *, CHARS *)
INTS4 f_evt_put_event (s_evt_channel *, INTS4 *)
INTS4 f_evt_put_buffer (s_evt_channel *, s_bufhe *)
INTS4 f_evt_put_close (s_evt_channel *)
INTS4 f_evt_type (s_bufhe *, s_evhe *, INTS4, INTS4, INTS4, INTS4)
INTS4 f_evt_error (INTS4, CHARS *, INTS4)
INTS4 f_evt_timeout (s_evt_channel *, INTS4)
INTS4 f_evt_rev_port (INTS4)
INTS4 f_evt_swap (CHARS *, INTS4)


Define Documentation

#define MAX_BUF_LGTH   32768
 

Definition at line 22 of file f_evt.h.

#define MIN_BUF_LGTH   512
 

Definition at line 23 of file f_evt.h.

#define MAX_BUFS_IN_STREAM   100
 

Definition at line 24 of file f_evt.h.

#define MAX_LONG   99999999
 

Definition at line 25 of file f_evt.h.

#define GETEVT__FILE   1
 

Definition at line 107 of file f_evt.h.

#define GETEVT__STREAM   2
 

Definition at line 108 of file f_evt.h.

#define GETEVT__TRANS   3
 

Definition at line 109 of file f_evt.h.

#define GETEVT__EVENT   4
 

Definition at line 110 of file f_evt.h.

#define GETEVT__REVSERV   5
 

Definition at line 111 of file f_evt.h.

#define GETEVT__RFIO   6
 

Definition at line 112 of file f_evt.h.

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

#define GETEVT__TAGINDEX   10
 

Definition at line 113 of file f_evt.h.

#define GETEVT__TAGNUMBER   11
 

Definition at line 114 of file f_evt.h.

#define GETEVT__SUCCESS   0
 

Definition at line 118 of file f_evt.h.

#define GETEVT__FAILURE   1
 

Definition at line 119 of file f_evt.h.

#define GETEVT__FRAGMENT   2
 

Definition at line 120 of file f_evt.h.

#define GETEVT__NOMORE   3
 

Definition at line 121 of file f_evt.h.

#define GETEVT__NOFILE   4
 

Definition at line 122 of file f_evt.h.

#define GETEVT__NOSERVER   5
 

Definition at line 123 of file f_evt.h.

#define GETEVT__RDERR   6
 

Definition at line 124 of file f_evt.h.

#define GETEVT__CLOSE_ERR   7
 

Definition at line 125 of file f_evt.h.

#define GETEVT__NOCHANNEL   8
 

Definition at line 126 of file f_evt.h.

#define GETEVT__TIMEOUT   9
 

Definition at line 127 of file f_evt.h.

Referenced by f_evt_error(), and TGo4MbsSource::NextEvent().

#define GETEVT__NOTAGFILE   10
 

Definition at line 128 of file f_evt.h.

Referenced by f_evt_error().

#define GETEVT__NOTAG   11
 

Definition at line 129 of file f_evt.h.

Referenced by f_evt_error().

#define GETEVT__TAGRDERR   12
 

Definition at line 130 of file f_evt.h.

Referenced by f_evt_error().

#define GETEVT__TAGWRERR   13
 

Definition at line 131 of file f_evt.h.

Referenced by f_evt_error().

#define GETEVT__NOLMDFILE   14
 

Definition at line 132 of file f_evt.h.

Referenced by f_evt_error().

#define PUTEVT__SUCCESS   0
 

Definition at line 134 of file f_evt.h.

#define PUTEVT__FILE_EXIST   101
 

Definition at line 135 of file f_evt.h.

#define PUTEVT__FAILURE   102
 

Definition at line 136 of file f_evt.h.

#define PUTEVT__TOOBIG   103
 

Definition at line 137 of file f_evt.h.

#define PUTEVT__TOO_SMALLS   104
 

Definition at line 138 of file f_evt.h.

#define PUTEVT__CLOSE_ERR   105
 

Definition at line 139 of file f_evt.h.

#define PUTEVT__WRERR   106
 

Definition at line 140 of file f_evt.h.

#define PUTEVT__NOCHANNEL   107
 

Definition at line 141 of file f_evt.h.


Function Documentation

INTS4 f_evt_cre_tagfile CHARS  ,
CHARS  ,
INTS4(*   )()
 

Definition at line 2229 of file f_evt.c.

References c_temp, CHARS, f_evt_check_buf(), f_evt_swap(), s_bufhe::h_begin, s_bufhe::h_end, s_ve10_1::i_subtype, s_ve10_1::i_trigger, s_ve10_1::i_type, INTS2, INTS4, INTU4, s_taghe::l_buffers, s_taghe::l_bufsize, s_ve10_1::l_count, s_ve10_1::l_dlen, s_taghe::l_endian, s_tag::l_event, s_taghe::l_events, s_bufhe::l_evt, s_taghe::l_filesize, s_taghe::l_first, s_bufhe::l_free, s_taghe::l_last, s_taghe::l_linear, s_tag::l_offset, and s_taghe::l_version.

INTS4 f_evt_get_tagopen s_evt_channel  ,
CHARS  ,
CHARS  ,
CHARS **   ,
INTS4   
 

Definition at line 2491 of file f_evt.c.

References c_temp, CHARS, f_evt_get_open(), f_evt_swap(), f_evt_swap_filhe(), f_evt_type(), s_bufhe::i_type, INTS4, s_taghe::l_buffers, s_taghe::l_bufsize, s_evt_channel::l_channel_no, s_taghe::l_endian, s_taghe::l_events, s_evt_channel::l_evt_buf_size, s_taghe::l_filesize, s_taghe::l_first, s_bufhe::l_free, s_evt_channel::l_io_buf_posi, s_taghe::l_last, s_taghe::l_linear, s_evt_channel::l_lmdswap, s_evt_channel::l_tagfile_no, s_evt_channel::l_tagswap, s_evt_channel::pc_evt_buf, s_evt_channel::ps_tag, and s_evt_channel::ps_taghe.

Referenced by TGo4MbsFile::OpenFile().

INTS4 f_evt_get_tagevent s_evt_channel  ,
INTS4   ,
INTS4   ,
INTS4 **   
 

Definition at line 2657 of file f_evt.c.

References c_temp, CHARS, f_evt_get_event(), f_evt_swap(), INTS4, s_taghe::l_bufsize, s_evt_channel::l_channel_no, s_ve10_1::l_count, s_ve10_1::l_dlen, s_tag::l_event, s_taghe::l_events, s_evt_channel::l_evt_buf_size, s_taghe::l_first, s_bufhe::l_free, s_evt_channel::l_io_buf_posi, s_taghe::l_linear, s_evt_channel::l_lmdswap, s_tag::l_offset, s_evt_channel::l_tagfile_no, s_evt_channel::l_tagswap, s_evt_channel::pc_evt_buf, s_evt_channel::ps_tag, and s_evt_channel::ps_taghe.

Referenced by f_evt_get_tagnext().

INTS4 f_evt_get_tagnext s_evt_channel  ,
INTS4   ,
INTS4 **   
 

Definition at line 2608 of file f_evt.c.

References f_evt_get_event(), f_evt_get_tagevent(), INTS4, s_evt_channel::l_io_buf_posi, and s_evt_channel::ps_taghe.

Referenced by TGo4MbsFile::NextEvent().

INTS4 f_evt_get_tagclose s_evt_channel  
 

Definition at line 2817 of file f_evt.c.

References f_evt_get_close(), INTS4, s_evt_channel::l_channel_no, s_evt_channel::l_tagfile_no, s_evt_channel::pc_evt_buf, s_evt_channel::ps_tag, and s_evt_channel::ps_taghe.

Referenced by TGo4MbsFile::CloseFile().

INTS4 f_evt_get_open INTS4   ,
CHARS  ,
s_evt_channel  ,
CHARS **   ,
INTS4   ,
INTS4   
 

INTS4 f_evt_get_event s_evt_channel  ,
INTS4 **   ,
INTS4 **   
 

INTS4 f_evt_get_subevent s_ve10_1  ,
INTS4   ,
INTS4 **   ,
INTS4 **   ,
INTS4  
 

Definition at line 236 of file f_evt.c.

References INTS4, s_ves10_1::l_dlen, and s_ve10_1::l_dlen.

Referenced by f_evt_type().

INTS4 f_evt_get_buffer s_evt_channel  ,
INTS4  
 

INTS4 f_evt_get_close s_evt_channel  
 

CHARS* f_evt_get_buffer_ptr s_evt_channel  
 

Definition at line 1958 of file f_evt.c.

References CHARS, and s_evt_channel::pc_io_buf.

Referenced by TGo4MbsSource::GetBufferHeader().

INTS4 f_evt_skip_buffer s_evt_channel  ,
INTS4   
 

Definition at line 1797 of file f_evt.c.

References CHARS, GETEVT__RFIO, i, INTS4, s_evt_channel::l_buf_size, s_evt_channel::l_channel_no, s_evt_channel::l_first_get, s_evt_channel::l_io_buf_size, s_evt_channel::l_server_type, s_evt_channel::pc_io_buf, and RFIO_lseek.

INTS4 f_evt_put_open CHARS  ,
INTS4   ,
INTS4   ,
INTS4   ,
INTS4   ,
s_evt_channel  ,
CHARS  
 

INTS4 f_evt_put_event s_evt_channel  ,
INTS4  
 

INTS4 f_evt_put_buffer s_evt_channel  ,
s_bufhe  
 

INTS4 f_evt_put_close s_evt_channel  
 

INTS4 f_evt_type s_bufhe  ,
s_evhe  ,
INTS4   ,
INTS4   ,
INTS4   ,
INTS4   
 

Definition at line 299 of file f_evt.c.

References CHARS, f_evt_get_subevent(), f_ut_utime(), s_filhe::filhe_dlen, s_filhe::filhe_exp, s_filhe::filhe_file, s_filhe::filhe_label, s_filhe::filhe_lines, s_filhe::filhe_run, s_filhe::filhe_time, s_filhe::filhe_user, s_bufhe::h_begin, s_ves10_1::h_control, s_bufhe::h_end, s_ves10_1::h_subcrate, s_ves10_1::i_procid, s_ves10_1::i_subtype, s_ve10_1::i_subtype, s_evhe::i_subtype, s_bufhe::i_subtype, s_ve10_1::i_trigger, s_ves10_1::i_type, s_ve10_1::i_type, s_evhe::i_type, s_bufhe::i_type, INTS2, INTS4, s_bufhe::l_buf, s_ve10_1::l_count, s_ves10_1::l_dlen, s_ve10_1::l_dlen, s_evhe::l_dlen, s_bufhe::l_dlen, s_bufhe::l_evt, s_bufhe::l_free, s_bufhe::l_time, s_filhe::s_strings, and cv_string::string.

Referenced by TGo4MbsSource::BuildMbsEvent(), and f_evt_get_tagopen().

INTS4 f_evt_error INTS4   ,
CHARS  ,
INTS4   
 

INTS4 f_evt_timeout s_evt_channel  ,
INTS4   
 

Definition at line 1861 of file f_evt.c.

References INTS4, and s_evt_channel::l_timeout.

Referenced by TGo4MbsSource::Open().

INTS4 f_evt_rev_port INTS4   
 

Definition at line 483 of file f_evt.c.

References INTS4, l_gl_rev_port, and l_port.

Referenced by TGo4RevServ::Open().

INTS4 f_evt_swap CHARS  ,
INTS4   
 


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