DABC (Data Acquisition Backbone Core)  2.9.9
Macros | Functions | Variables
rawapin.h File Reference
#include <stdint.h>
#include <unistd.h>
#include "rawcommn.h"
#include "rawclin.h"

Go to the source code of this file.

Macros

#define RFILE   srawAPIFile
 

Functions

int rfio_access (const char *, int)
 
int rfio_cache_stat (const char *)
 
int rfio_close (int)
 
int rfio_closedir (void *)
 
int rfio_endfile (int)
 
int rfio_fclose (RFILE *)
 
int rfio_fendfile (RFILE *)
 
int rfio_ffileid (RFILE *)
 
int rfio_fnewfile (RFILE *, char *)
 
RFILErfio_fopen (char *, char *)
 
RFILErfio_fopen_gsidaq (char *, char *, int, char *, int, int, int)
 
RFILErfio_fopen_gsidaq_dm (char *, char *, char *, int *, int, char *, int, int, int)
 
size_t rfio_fread (char *, size_t, size_t, RFILE *)
 
int rfio_fstat (int, struct stat *)
 
size_t rfio_fwrite (const char *, size_t, size_t, RFILE *)
 
int rfio_gsi_query (int, int, int, char *)
 
int rfio_lseek (int, int, int)
 
int rfio_mkdir (const char *, int)
 
int rfio_newfile (int, char *)
 
int rfio_open (const char *, int, int)
 
int rfio_open_gsidaq (const char *, int, int, int, char *, int, int, int)
 
int rfio_parse (char *, char **, char **)
 
void rfio_perror (const char *)
 
ssize_t rfio_read (int, char *, size_t)
 
char * rfio_serror ()
 
int rfio_stat (const char *, struct stat *)
 
int rfio_unlink (const char *)
 
ssize_t rfio_write (int, const char *, size_t)
 

Variables

FILE * fLogFile
 

Macro Definition Documentation

◆ RFILE

#define RFILE   srawAPIFile

Definition at line 71 of file rawapin.h.

Function Documentation

◆ rfio_fopen_gsidaq_dm()

RFILE* rfio_fopen_gsidaq_dm ( char *  pcFile,
char *  pcOptions,
char *  pcDataMover,
int *  piDataMover,
int  iCopyMode,
char *  pcCopyPath,
int  iCopyFraction,
int  iMaxFile,
int  iPathConvention 
)

Definition at line 4663 of file rawapin.c.

◆ rfio_fopen_gsidaq()

RFILE* rfio_fopen_gsidaq ( char *  pcFile,
char *  pcOptions,
int  iCopyMode,
char *  pcCopyPath,
int  iCopyFraction,
int  iMaxFile,
int  iPathConvention 
)

Definition at line 4772 of file rawapin.c.

◆ rfio_fopen()

RFILE* rfio_fopen ( char *  pcFile,
char *  pcOptions 
)

Definition at line 4623 of file rawapin.c.

◆ rfio_fread()

size_t rfio_fread ( char *  pcBuffer,
size_t  iSize,
size_t  iItems,
RFILE pRemFile 
)

Definition at line 4928 of file rawapin.c.

◆ rfio_fwrite()

size_t rfio_fwrite ( const char *  pcBuffer,
size_t  iSize,
size_t  iItems,
RFILE pRemFile 
)

Definition at line 4966 of file rawapin.c.

◆ rfio_fclose()

int rfio_fclose ( RFILE pRemFile)

Definition at line 5035 of file rawapin.c.

◆ rfio_fendfile()

int rfio_fendfile ( RFILE pRemFile)

Definition at line 5006 of file rawapin.c.

◆ rfio_fnewfile()

int rfio_fnewfile ( RFILE pRemFile,
char *  pcFile 
)

Definition at line 4859 of file rawapin.c.

◆ rfio_mkdir()

int rfio_mkdir ( const char *  path,
int  mode 
)

Definition at line 5607 of file rawapin.c.

◆ rfio_ffileid()

int rfio_ffileid ( RFILE fRemoteFile)

Definition at line 4583 of file rawapin.c.

◆ rfio_open_gsidaq()

int rfio_open_gsidaq ( const char *  pcFile,
int  iFlags,
int  iOpenMode,
int  iCopyMode,
char *  pcCopyPath,
int  iCopyFraction,
int  iMaxFile,
int  iPathConvention 
)

Definition at line 346 of file rawapin.c.

◆ rfio_open()

int rfio_open ( const char *  pcFile,
int  iFlags,
int  iOpenMode 
)

Definition at line 307 of file rawapin.c.

◆ rfio_read()

ssize_t rfio_read ( int  iFileId,
char *  pcBuffer,
size_t  iItems 
)

Definition at line 2967 of file rawapin.c.

◆ rfio_write()

ssize_t rfio_write ( int  iFileId,
const char *  pcBuffer,
size_t  iItems 
)

Definition at line 3285 of file rawapin.c.

◆ rfio_close()

int rfio_close ( int  iFileId)

Definition at line 4299 of file rawapin.c.

◆ rfio_endfile()

int rfio_endfile ( int  iFileId)

Definition at line 2836 of file rawapin.c.

◆ rfio_newfile()

int rfio_newfile ( int  iFileId,
char *  pcFile 
)

Definition at line 3459 of file rawapin.c.

◆ rfio_lseek()

int rfio_lseek ( int  iFileId,
int  ilocOffset,
int  ilocSeekMode 
)

Definition at line 4519 of file rawapin.c.

◆ rfio_fstat()

int rfio_fstat ( int  iFileId,
struct stat *  pStatBuf 
)

Definition at line 5266 of file rawapin.c.

◆ rfio_perror()

void rfio_perror ( const char *  pUMsg)

Definition at line 5372 of file rawapin.c.

◆ rfio_serror()

char* rfio_serror ( )

Definition at line 5400 of file rawapin.c.

◆ rfio_cache_stat()

int rfio_cache_stat ( const char *  pcFile)

Definition at line 5934 of file rawapin.c.

◆ rfio_gsi_query()

int rfio_gsi_query ( int  iFileId,
int  iFull,
int  iOut,
char *  pInfo 
)

Definition at line 6062 of file rawapin.c.

◆ rfio_access()

int rfio_access ( const char *  pcFile,
int  iMode 
)

Definition at line 5063 of file rawapin.c.

◆ rfio_stat()

int rfio_stat ( const char *  pcFile,
struct stat *  pStatBuf 
)

Definition at line 5825 of file rawapin.c.

◆ rfio_parse()

int rfio_parse ( char *  pcFile,
char **  pcNode,
char **  pcPath 
)

Definition at line 5347 of file rawapin.c.

◆ rfio_unlink()

int rfio_unlink ( const char *  pcFile)

Definition at line 5429 of file rawapin.c.

◆ rfio_closedir()

int rfio_closedir ( void *  dirp)

Definition at line 5682 of file rawapin.c.

Variable Documentation

◆ fLogFile

FILE* fLogFile

Definition at line 55 of file rawapin.h.