GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Functions
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

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

Macro Definition Documentation

#define RFILE   srawAPIFile

Definition at line 72 of file rawapin.h.

Function Documentation

int rfio_access ( const char *  ,
int   
)

Definition at line 4442 of file rawapin.c.

References rfio_close(), and rfio_open().

int rfio_cache_stat ( const char *  )
int rfio_close ( int  )
int rfio_closedir ( void *  )

Definition at line 4930 of file rawapin.c.

References fLogClient.

int rfio_endfile ( int  )
int rfio_fclose ( RFILE )

Definition at line 4414 of file rawapin.c.

References rfio_close().

int rfio_fendfile ( RFILE )

Definition at line 4385 of file rawapin.c.

References rfio_endfile().

int rfio_fnewfile ( RFILE ,
char *   
)

Definition at line 4238 of file rawapin.c.

References fLogClient, iFileCount, iFileMax, pAPIFile, and rfio_newfile().

RFILE* rfio_fopen ( char *  ,
char *   
)

Definition at line 4002 of file rawapin.c.

References RFILE, and rfio_fopen_gsidaq().

RFILE* rfio_fopen_gsidaq ( char *  ,
char *  ,
int  ,
char *  ,
int  ,
int  ,
int   
)

Definition at line 4151 of file rawapin.c.

References pAPIFile, and rfio_open_gsidaq().

Referenced by rfio_fopen().

RFILE* rfio_fopen_gsidaq_dm ( char *  ,
char *  ,
char *  ,
int *  ,
int  ,
char *  ,
int  ,
int  ,
int   
)

Definition at line 4042 of file rawapin.c.

References cNodeMover, pAPIFile, and rfio_open_gsidaq().

size_t rfio_fread ( char *  ,
size_t  ,
size_t  ,
RFILE  
)

Definition at line 4307 of file rawapin.c.

References fLogClient, and rfio_read().

int rfio_fstat ( int  ,
struct stat *   
)
size_t rfio_fwrite ( const char *  ,
size_t  ,
size_t  ,
RFILE  
)

Definition at line 4345 of file rawapin.c.

References fLogClient, and rfio_write().

int rfio_gsi_query ( int  ,
int  ,
int  ,
char *   
)

Definition at line 5309 of file rawapin.c.

References iFileCount, iFileMax, pAPIFile, rawQueryString(), and srawAPIFile::sQueryAPI.

int rfio_lseek ( int  ,
int  ,
int   
)
int rfio_mkdir ( const char *  ,
int   
)

Definition at line 4855 of file rawapin.c.

References fLogClient.

int rfio_newfile ( int  ,
char *   
)
int rfio_open ( const char *  ,
int  ,
int   
)

Definition at line 275 of file rawapin.c.

References rfio_open_gsidaq().

Referenced by rfio_access(), rfio_cache_stat(), and rfio_stat().

int rfio_open_gsidaq ( const char *  ,
int  ,
int  ,
int  ,
char *  ,
int  ,
int  ,
int   
)

Definition at line 314 of file rawapin.c.

References ARCH_DAQ_DISK, ARCH_DISK, ARCH_TAPE, ARCHIVE_RECORD, ATLSERVER_ARCHIVE, cApplType, srawComm::cApplType, srawFileSystem::cArchiveDate, srawFileSystem::cArchiveUser, srawCopyCache::cCopyPath, srawComm::cDataFS, cDataFSHigh1, cDataFSHigh2, srawObjAttr::cDateCreate, srawComm::cliNode, cLogClient, cNamefs, srawComm::cNamefs, cNamehl, srawComm::cNamehl, srawComm::cNamell, srawObjAttr::cNode, srawDataMoverAttr::cNode, srawFileSystem::cNode, srawComm::cNodeCacheMgr, srawAPIFile::cNodeMaster, cNodeMaster, cNodeMaster0, srawAPIFile::cNodeMover, cNodeMover, cNodePrefix, srawComm::cNodeRC, srawComm::cNodeWC, srawComm::cOS, srawFileSystem::cOS, srawComm::cOwner, srawObjAttr::cOwner, cPrefix, srawStatus::cStatus, srawComm::cTapeLib, DSM_MAX_OWNER_LENGTH, fLogClient, fLogFile, GSI_CACHE_INCOMPLETE, GSI_CACHE_LOCKED, GSI_MEDIA_CACHE, GSI_MEDIA_INCOMPLETE, GSI_MEDIA_LOCKED, GSI_MEDIA_STAGE, HEAD_LEN, srawAPIFile::iAction, srawComm::iAction, srawComm::iArchDev, iATLServer, srawComm::iATLServer, srawObjAttr::iATLServer, srawDataMoverAttr::iATLServer, srawAPIFile::iBufnoServ, srawAPIFile::iBufsizeAct, srawComm::iBufsizeFile, srawObjAttr::iBufsizeFile, srawComm::iClient32, srawComm::iCommLen, srawCopyCache::iCopyFraction, srawCopyCache::iCopyLen, srawCopyCache::iCopyMode, srawComm::iDataFS, srawAPIFile::iDataServ, IDENT_COMM, IDENT_COPY_CACHE, srawComm::iExecStatus, srawDataMoverAttr::iExecStatus, iFileCount, srawAPIFile::iFileId, iFileMax, srawComm::iFileSize, srawObjAttr::iFileSize, srawComm::iFileSize2, srawObjAttr::iFileSize2, srawFileSystem::iFileSystem, srawComm::iFileType, srawObjAttr::iFileType, srawAPIFile::iFlags, srawObjAttr::iFS, srawComm::iFSidWC, srawComm::iIdent, srawCopyCache::iIdent, iLogFile, srawAPIFile::iMassSto, srawCopyCache::iMaxFile, srawObjAttr::iMediaClass, srawAPIFile::iMode, iObjAttr, srawComm::iObjHigh, srawObjAttr::iObjHigh, srawComm::iObjLow, srawObjAttr::iObjLow, srawAPIFile::iOffset, iOnlyQuery, srawAPIFile::iOpMode, iOS64, srawCopyCache::iPathConvention, srawObjAttr::iPoolId, srawComm::iPoolIdRC, srawComm::iPoolIdWC, iPortMaster, iPortMover, irawAPIFile, irawComm, irawFileSystem, srawAPIFile::iSeekMode, iSleepCacheFull, srawAPIFile::iSockMaster, srawAPIFile::iSockMover, srawComm::iStageFSid, srawStatus::iStatus, iStatusLoopMax, srawComm::iSynchId, srawComm::iWaitTime, srawDataMoverAttr::iWaitTime, MAX_ATLSERVER, MAX_FULL_FILE, MAX_LOG_FILE, MAX_NODE, MAX_OBJ_FS, MAX_OBJ_HL, MAX_OBJ_LL, srawQueryResult::objAttr, pAPIFile, pcDevDelim, pcPerc, pcQM, pcStar, PORT_MASTER, PORT_MOVER, PORT_MOVER_DATAFS, PORT_RFIO_SERV, QUERY, QUERY_ARCHIVE_RECORD, QUERY_RETRIEVE_RECORD, rawGetFSpName(), rawGetHLName(), rawGetLLName(), rawGetUserid(), rawQueryFile(), rawQueryString(), rawRecvHeadC(), rawRecvStatus(), rawSendStatus(), rconnect(), RETR_STAGE_TEMP, RETRIEVE_RECORD, rfio_errmsg, srawAPIFile::sCommAPI, srawAPIFile::sCommServ, srawAPIFile::sCopyCacheServ, SPM_REQUEST_MOVER, srawAPIFile::sQueryAPI, STA_CACHE_FULL, STA_END_OF_SESSION, STA_SWITCH_SERVER, STATUS_LEN, and STREAM.

Referenced by rfio_fopen_gsidaq(), rfio_fopen_gsidaq_dm(), and rfio_open().

int rfio_parse ( char *  ,
char **  ,
char **   
)

Definition at line 4726 of file rawapin.c.

void rfio_perror ( const char *  )

Definition at line 4751 of file rawapin.c.

References rfio_errmsg.

ssize_t rfio_read ( int  ,
char *  ,
size_t   
)
char* rfio_serror ( )

Definition at line 4779 of file rawapin.c.

References fLogClient, and rfio_errmsg.

int rfio_stat ( const char *  ,
struct stat *   
)
int rfio_unlink ( const char *  )

Definition at line 4808 of file rawapin.c.

References fLogClient.

ssize_t rfio_write ( int  ,
const char *  ,
size_t   
)