Class Reference for E1039 Core & Analysis Software
evio.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int evOpen (char *filename, char *flags, int *handle)
 
int evRead (int handle, int *buffer, int size)
 
int evClose (int handle)
 

Function Documentation

◆ evClose()

int evClose ( int  handle)

Definition at line 586 of file evio.c.

References EV_MAGIC, EV_PIPE, EV_PIPEWRITE, EV_WRITE, evFlush(), and S_EVFILE_BADHANDLE.

Referenced by CodaInputManager::CloseFile(), and evclose_().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ evOpen()

int evOpen ( char *  filename,
char *  flags,
int *  handle 
)

Definition at line 187 of file evio.c.

References EV_HD_BLKNUM, EV_HD_BLKSIZ, EV_HD_HDSIZ, EV_HD_MAGIC, EV_HD_RESVD, EV_HD_START, EV_HD_USED, EV_HD_VER, EV_HDSIZ, EV_MAGIC, EV_PIPE, EV_PIPEWRITE, EV_READ, EV_VERSION, EV_WRITE, EVBLOCKSIZE, evGetStructure, int_swap_byte(), kill_trailing(), NULL, S_EVFILE_ALLOCFAIL, S_EVFILE_BADFILE, S_EVFILE_BADHANDLE, S_EVFILE_UNKOPTION, S_SUCCESS, and swapped_intcpy().

Referenced by evopen_(), and CodaInputManager::OpenFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ evRead()

int evRead ( int  handle,
int *  buffer,
int  size 
)

Definition at line 369 of file evio.c.

References EV_MAGIC, evGetNewBuffer(), int_swap_byte(), S_EVFILE_BADHANDLE, S_EVFILE_TRUNC, S_SUCCESS, and swapped_memcpy().

Referenced by evread_(), and CodaInputManager::NextCodaEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: