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

/MbsAPI/f_evt_old.h File Reference

Go to the source code of this file.

Compounds

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__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 PUTEVT__SUCCESS   0
#define PUTEVT__FILE_EXIST   11
#define PUTEVT__FAILURE   12
#define PUTEVT__TOOBIG   13
#define PUTEVT__TOO_SMALLS   14
#define PUTEVT__CLOSE_ERR   15
#define PUTEVT__WRERR   16
#define PUTEVT__NOCHANNEL   17

Functions

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_buffer (s_evt_channel *, INTS4 *)
INTS4 f_evt_get_close (s_evt_channel *)
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_error (INTS4, CHARS *, INTS4)
INTS4 f_evt_swap (CHARS *, INTS4)


Define Documentation

#define MAX_BUF_LGTH   32768
 

Definition at line 107 of file f_evt_old.h.

#define MIN_BUF_LGTH   512
 

Definition at line 108 of file f_evt_old.h.

#define MAX_BUFS_IN_STREAM   100
 

Definition at line 109 of file f_evt_old.h.

#define MAX_LONG   99999999
 

Definition at line 110 of file f_evt_old.h.

#define GETEVT__FILE   1
 

Definition at line 157 of file f_evt_old.h.

#define GETEVT__STREAM   2
 

Definition at line 158 of file f_evt_old.h.

#define GETEVT__TRANS   3
 

Definition at line 159 of file f_evt_old.h.

#define GETEVT__EVENT   4
 

Definition at line 160 of file f_evt_old.h.

#define GETEVT__REVSERV   5
 

Definition at line 161 of file f_evt_old.h.

#define GETEVT__SUCCESS   0
 

Definition at line 165 of file f_evt_old.h.

#define GETEVT__FAILURE   1
 

Definition at line 166 of file f_evt_old.h.

#define GETEVT__FRAGMENT   2
 

Definition at line 167 of file f_evt_old.h.

#define GETEVT__NOMORE   3
 

Definition at line 168 of file f_evt_old.h.

#define GETEVT__NOFILE   4
 

Definition at line 169 of file f_evt_old.h.

#define GETEVT__NOSERVER   5
 

Definition at line 170 of file f_evt_old.h.

#define GETEVT__RDERR   6
 

Definition at line 171 of file f_evt_old.h.

#define GETEVT__CLOSE_ERR   7
 

Definition at line 172 of file f_evt_old.h.

#define GETEVT__NOCHANNEL   8
 

Definition at line 173 of file f_evt_old.h.

#define PUTEVT__SUCCESS   0
 

Definition at line 175 of file f_evt_old.h.

#define PUTEVT__FILE_EXIST   11
 

Definition at line 176 of file f_evt_old.h.

#define PUTEVT__FAILURE   12
 

Definition at line 177 of file f_evt_old.h.

#define PUTEVT__TOOBIG   13
 

Definition at line 178 of file f_evt_old.h.

#define PUTEVT__TOO_SMALLS   14
 

Definition at line 179 of file f_evt_old.h.

#define PUTEVT__CLOSE_ERR   15
 

Definition at line 180 of file f_evt_old.h.

#define PUTEVT__WRERR   16
 

Definition at line 181 of file f_evt_old.h.

#define PUTEVT__NOCHANNEL   17
 

Definition at line 182 of file f_evt_old.h.


Function Documentation

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

Definition at line 525 of file f_evt.c.

References s_evt_channel::c_channel, c_file, c_temp, CHARS, f_evcli_con(), f_evt_check_buf(), f_evt_swap(), f_evt_swap_filhe(), f_stc_connectserver(), f_stc_read(), GETEVT__RFIO, i, INTS2, INTS4, s_evt_channel::l_buf_size, s_evt_channel::l_bufs_in_stream, s_evt_channel::l_channel_no, s_evt_channel::l_evt_buf_size, s_evt_channel::l_first_get, l_gl_rev_port, s_evt_channel::l_io_buf_size, s_evt_channel::l_server_type, s_evt_channel::l_stream_bufs, s_evt_channel::l_timeout, s_evt_channel::pc_evt_buf, s_evt_channel::pc_io_buf, PORT__STREAM_SERV, PORT__TRANSPORT, RFIO_close, RFIO_lseek, RFIO_open, RFIO_read, STC__SUCCESS, and STC__TIMEOUT.

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

INTS4 f_evt_get_event s_evt_channel  ,
INTS4 **   ,
INTS4 **   
 

Definition at line 907 of file f_evt.c.

References CHARS, f_evcli_buf(), f_evcli_evt(), f_evt_get_newbuf(), s_bufhe::h_begin, s_bufhe::h_end, s_bufhe::i_type, s_bufhe::i_used, INTS4, s_bufhe::l_buf, s_evt_channel::l_buf_lmt, s_evt_channel::l_buf_no, s_evt_channel::l_buf_posi, s_evt_channel::l_buf_size, s_ve10_1::l_dlen, s_evt_channel::l_evt_buf_posi, s_evt_channel::l_evt_buf_size, s_evt_channel::l_first_buf, s_evt_channel::l_first_get, s_evt_channel::l_frag_len, s_evt_channel::l_io_buf_posi, s_evt_channel::l_io_buf_size, s_evt_channel::l_server_type, s_evt_channel::pc_evt_buf, s_evt_channel::pc_io_buf, s_evt_channel::ps_bufhe, s_evt_channel::ps_ve10_1, s_evt_channel::s_bufhe_1, STC__SUCCESS, and STC__TIMEOUT.

Referenced by f_evt_get_tagevent(), f_evt_get_tagnext(), and TGo4MbsSource::NextEvent().

INTS4 f_evt_get_buffer s_evt_channel  ,
INTS4  
 

Definition at line 1701 of file f_evt.c.

References CHARS, f_evt_swap(), f_stc_read(), f_stc_write(), GETEVT__RFIO, i, INTS4, s_evt_channel::l_buf_size, s_evt_channel::l_bufs_in_stream, s_evt_channel::l_channel_no, s_evt_channel::l_io_buf_size, s_evt_channel::l_server_type, s_evt_channel::l_stream_bufs, s_evt_channel::l_timeout, s_evt_channel::pc_io_buf, RFIO_read, STC__SUCCESS, and STC__TIMEOUT.

INTS4 f_evt_get_close s_evt_channel  
 

Definition at line 1073 of file f_evt.c.

References f_evcli_close(), f_stc_close(), f_stc_discclient(), GETEVT__RFIO, i, INTS4, s_evt_channel::l_channel_no, s_evt_channel::l_server_type, s_evt_channel::pc_evt_buf, s_evt_channel::pc_io_buf, RFIO_close, and STC__SUCCESS.

Referenced by TGo4MbsSource::Close(), and f_evt_get_tagclose().

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

Definition at line 1159 of file f_evt.c.

References c_file, CHARS, s_filhe::filhe_dlen, s_filhe::filhe_file, s_filhe::filhe_file_l, s_filhe::filhe_free, s_filhe::filhe_run, s_filhe::filhe_run_l, s_filhe::filhe_stime, s_filhe::filhe_subtype, s_filhe::filhe_time, s_filhe::filhe_type, s_filhe::filhe_user, s_filhe::filhe_user_l, i, INTS2, INTS4, s_evt_channel::l_buf_size, s_evt_channel::l_buf_subtype, s_evt_channel::l_buf_type, s_evt_channel::l_bufs_in_stream, s_evt_channel::l_channel_no, s_evt_channel::l_first_put, s_evt_channel::l_io_buf_size, and s_evt_channel::pc_io_buf.

INTS4 f_evt_put_event s_evt_channel  ,
INTS4  
 

Definition at line 1306 of file f_evt.c.

References CHARS, f_evt_ini_bufhe(), s_bufhe::h_begin, s_bufhe::h_end, i, s_ve10_1::i_subtype, s_ve10_1::i_type, s_bufhe::i_used, INTS4, s_evt_channel::l_buf_no, s_evt_channel::l_buf_size, s_evt_channel::l_buf_subtype, s_evt_channel::l_buf_type, s_evt_channel::l_channel_no, s_ve10_1::l_dlen, s_bufhe::l_evt, s_evt_channel::l_evt_size, s_evt_channel::l_first_put, s_bufhe::l_free, s_evt_channel::l_io_buf_posi, s_evt_channel::l_io_buf_size, s_evt_channel::pc_io_buf, s_evt_channel::ps_bufhe, and s_evt_channel::ps_ve10_1.

INTS4 f_evt_put_buffer s_evt_channel  ,
s_bufhe  
 

Definition at line 1448 of file f_evt.c.

References CHARS, i, INTS4, s_evt_channel::l_buf_size, s_evt_channel::l_channel_no, s_evt_channel::l_io_buf_posi, and s_evt_channel::l_io_buf_size.

INTS4 f_evt_put_close s_evt_channel  
 

Definition at line 1493 of file f_evt.c.

References CHARS, s_bufhe::h_begin, s_bufhe::h_end, i, s_bufhe::i_used, INTS4, s_evt_channel::l_buf_size, s_evt_channel::l_channel_no, s_bufhe::l_dlen, s_evt_channel::l_first_put, s_evt_channel::l_io_buf_posi, s_evt_channel::l_io_buf_size, s_evt_channel::pc_io_buf, and s_evt_channel::ps_bufhe.

INTS4 f_evt_error INTS4   ,
CHARS  ,
INTS4   
 

Definition at line 1594 of file f_evt.c.

References CHARS, GETEVT__NOLMDFILE, GETEVT__NOTAG, GETEVT__NOTAGFILE, GETEVT__TAGRDERR, GETEVT__TAGWRERR, GETEVT__TIMEOUT, and INTS4.

Referenced by TGo4MbsSource::NextEvent(), TGo4MbsFile::NextEvent(), TGo4RevServ::Open(), TGo4MbsSource::Open(), and TGo4MbsFile::OpenFile().

INTS4 f_evt_swap CHARS  ,
INTS4   
 

Definition at line 1881 of file f_evt.c.

References CHARS, and INTS4.

Referenced by f_evt_check_buf(), f_evt_cre_tagfile(), f_evt_get_buffer(), f_evt_get_newbuf(), f_evt_get_open(), f_evt_get_tagevent(), f_evt_get_tagopen(), and f_evt_swap_filhe().


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