GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 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.h"
#include "s_ves10_1.h"
#include "s_evhe.h"
#include "s_bufhe.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 138 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 133 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_get_event().

#define GETEVT__NOCHANNEL   8

Definition at line 139 of file f_evt.h.

Referenced by f_evt_error().

#define GETEVT__NOFILE   4
#define GETEVT__NOLMDFILE   14

Definition at line 145 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 136 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_get_open().

#define GETEVT__NOTAG   11

Definition at line 142 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_get_tagevent().

#define GETEVT__NOTAGFILE   10

Definition at line 141 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 126 of file f_evt.h.

#define GETEVT__TAGNUMBER   11

Definition at line 127 of file f_evt.h.

#define GETEVT__TAGRDERR   12

Definition at line 143 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 144 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 26 of file f_evt.h.

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

Definition at line 28 of file f_evt.h.

#define MAX_LONG   99999999 /* maximum long data */

Definition at line 29 of file f_evt.h.

Referenced by f_evt_get_event().

#define MIN_BUF_LGTH   512

Definition at line 27 of file f_evt.h.

Referenced by f_evt_cre_tagfile(), and f_evt_get_open().

#define PUTEVT__CLOSE_ERR   105

Definition at line 152 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_put_close().

#define PUTEVT__FAILURE   102

Definition at line 149 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_put_open().

#define PUTEVT__FILE_EXIST   101

Definition at line 148 of file f_evt.h.

Referenced by f_evt_error(), and f_evt_put_open().

#define PUTEVT__NOCHANNEL   107

Definition at line 154 of file f_evt.h.

Referenced by f_evt_error().

#define PUTEVT__SUCCESS   0
#define PUTEVT__TOO_SMALLS   104

Definition at line 151 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 2816 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 1928 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 235 of file f_evt.c.

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

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 509 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 486 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 1833 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   
)