GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
f_evt.h File Reference
#include "typedefs.h"
#include "s_ve10_1_swap.h"
#include "s_ves10_1_swap.h"
#include "s_evhe_swap.h"
#include "s_bufhe_swap.h"

Go to the source code of this file.

Classes

struct  s_taghe
 
struct  s_tag
 
struct  s_evt_channel
 

Macros

#define MAX_BUF_LGTH   32768
 
#define MIN_BUF_LGTH   512
 
#define MAX_BUFS_IN_STREAM   100 /* at a maximum, 100 buffers per stream */
 
#define MAX_LONG   99999999 /* maximum long data */
 
#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_source_port (INTS4 l_port)
 
INTS4 f_evt_rev_port (INTS4)
 
INTS4 f_evt_swap (CHARS *, INTS4)
 
s_evt_channelf_evt_control ()
 

Macro Definition Documentation

#define GETEVT__CLOSE_ERR   7

Definition at line 145 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_get_close().

#define GETEVT__EVENT   4
#define GETEVT__FAILURE   1
#define GETEVT__FILE   1
#define GETEVT__FRAGMENT   2

Definition at line 140 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_get_event().

#define GETEVT__NOCHANNEL   8

Definition at line 146 of file f_evt.h.

Referenced by f_evt_error().

#define GETEVT__NOFILE   4
#define GETEVT__NOLMDFILE   14

Definition at line 152 of file f_evt.h.

Referenced by f_evt_cre_tagfile(), f_evt_error(), and f_evt_get_open().

#define GETEVT__NOMORE   3
#define GETEVT__NOSERVER   5

Definition at line 143 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_get_open().

#define GETEVT__NOTAG   11

Definition at line 149 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_get_tagevent().

#define GETEVT__NOTAGFILE   10

Definition at line 148 of file f_evt.h.

Referenced by f_evt_error().

#define GETEVT__RDERR   6
#define GETEVT__REVSERV   5
#define GETEVT__RFIO   6
#define GETEVT__STREAM   2
#define GETEVT__SUCCESS   0
#define GETEVT__TAGINDEX   10

Definition at line 133 of file f_evt.h.

#define GETEVT__TAGNUMBER   11

Definition at line 134 of file f_evt.h.

#define GETEVT__TAGRDERR   12

Definition at line 150 of file f_evt.h.

Referenced by f_evt_error(), f_evt_get_tagevent(), and f_evt_get_tagopen().

#define GETEVT__TAGWRERR   13

Definition at line 151 of file f_evt.h.

Referenced by f_evt_cre_tagfile(), and f_evt_error().

#define GETEVT__TIMEOUT   9
#define GETEVT__TRANS   3
#define MAX_BUF_LGTH   32768

Definition at line 34 of file f_evt.h.

#define MAX_BUFS_IN_STREAM   100 /* at a maximum, 100 buffers per stream */

Definition at line 36 of file f_evt.h.

#define MAX_LONG   99999999 /* maximum long data */

Definition at line 37 of file f_evt.h.

Referenced by f_evt_get_event().

#define MIN_BUF_LGTH   512

Definition at line 35 of file f_evt.h.

Referenced by f_evt_cre_tagfile(), and f_evt_get_open().

#define PUTEVT__CLOSE_ERR   105

Definition at line 159 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_put_close().

#define PUTEVT__FAILURE   102

Definition at line 156 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_put_open().

#define PUTEVT__FILE_EXIST   101

Definition at line 155 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_put_open().

#define PUTEVT__NOCHANNEL   107

Definition at line 161 of file f_evt.h.

Referenced by f_evt_error().

#define PUTEVT__SUCCESS   0
#define PUTEVT__TOO_SMALLS   104

Definition at line 158 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_put_event().

#define PUTEVT__TOOBIG   103
#define PUTEVT__WRERR   106

Function Documentation

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 ,
CHARS ,
INTS4(*)()   
)
INTS4 f_evt_error ( INTS4  ,
CHARS ,
INTS4   
)
INTS4 f_evt_get_buffer ( s_evt_channel ,
INTS4  
)
CHARS* f_evt_get_buffer_ptr ( s_evt_channel )

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 )
INTS4 f_evt_get_event ( s_evt_channel ,
INTS4 **  ,
INTS4 **   
)
INTS4 f_evt_get_open ( INTS4  ,
CHARS ,
s_evt_channel ,
CHARS **  ,
INTS4  ,
INTS4   
)
INTS4 f_evt_get_subevent ( s_ve10_1 ,
INTS4  ,
INTS4 **  ,
INTS4 **  ,
INTS4  
)

Definition at line 243 of file f_evt.c.

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

Referenced by f_evt_type().

INTS4 f_evt_get_tagclose ( s_evt_channel )
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_tagopen ( s_evt_channel ,
CHARS ,
CHARS ,
CHARS **  ,
INTS4   
)
INTS4 f_evt_put_buffer ( s_evt_channel ,
s_bufhe  
)
INTS4 f_evt_put_close ( s_evt_channel )
INTS4 f_evt_put_event ( s_evt_channel ,
INTS4  
)
INTS4 f_evt_put_open ( CHARS ,
INTS4  ,
INTS4  ,
INTS4  ,
INTS4  ,
s_evt_channel ,
CHARS  
)
INTS4 f_evt_rev_port ( INTS4  )

Definition at line 518 of file f_evt.c.

References l_gl_source_port.

INTS4 f_evt_skip_buffer ( s_evt_channel ,
INTS4   
)
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 ,
INTS4   
)
INTS4 f_evt_timeout ( s_evt_channel ,
INTS4   
)

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 ,
s_evhe ,
INTS4  ,
INTS4  ,
INTS4  ,
INTS4   
)