GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
Go to the source code of this file.
Macros | |
#define | RFILE srawAPIFile |
Functions | |
RFILE * | rfio_fopen_gsidaq_dm (char *, char *, char *, int *, int, char *, int, int, int) |
RFILE * | rfio_fopen_gsidaq (char *, char *, int, char *, int, int, int) |
RFILE * | rfio_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 *) |
#define RFILE srawAPIFile |
int rfio_access | ( | const char * | , |
int | |||
) |
Definition at line 4442 of file rawapin.c.
References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, fLogClient, iFileCount, iFileMax, srawComm::iFileSize, pAPIFile, rfio_close(), and rfio_open().
int rfio_cache_stat | ( | const char * | ) |
Definition at line 5181 of file rawapin.c.
References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, fLogClient, iFileCount, iFileMax, srawComm::iFileSize, srawComm::iFSidWC, iOnlyQuery, srawComm::iStageFSid, MAX_FULL_FILE, pAPIFile, and rfio_open().
int rfio_close | ( | int | ) |
Definition at line 3716 of file rawapin.c.
References ARCH_TAPE, ARCHIVE_RECORD, srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, srawAPIFile::cNodeMover, fLogClient, HEAD_LEN, srawComm::iAction, srawComm::iArchDev, iFileCount, iFileMax, srawAPIFile::iMassSto, srawAPIFile::iOpMode, srawAPIFile::iSockMaster, srawAPIFile::iSockMover, srawStatus::iStatus, pAPIFile, rawRecvStatus(), rawSendStatus(), rfio_lseek(), srawAPIFile::sCommAPI, and STA_END_OF_SESSION.
Referenced by rfio_access(), and rfio_fclose().
int rfio_closedir | ( | void * | ) |
Definition at line 4930 of file rawapin.c.
References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, fLogClient, iFileCount, iFileMax, srawComm::iFileSize, iOnlyQuery, MAX_FULL_FILE, pAPIFile, and rfio_open().
int rfio_endfile | ( | int | ) |
Definition at line 2395 of file rawapin.c.
References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, srawStatus::cStatus, fLogClient, HEAD_LEN, srawAPIFile::iBufnoServ, iFileCount, iFileMax, srawAPIFile::iMassSto, srawAPIFile::iOpMode, srawAPIFile::iSockMover, srawStatus::iStatus, pAPIFile, rawRecvStatus(), rawSendStatus(), srawAPIFile::sCommAPI, srawAPIFile::sCommServ, srawAPIFile::sCopyCacheServ, STA_CACHE_COPY, STA_CACHE_COPY_ERROR, STA_END_OF_FILE, and STA_END_OF_SESSION.
Referenced by rfio_fendfile().
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 * | |||
) |
Definition at line 4645 of file rawapin.c.
References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, fLogClient, iFileCount, iFileMax, srawComm::iFileSize, and pAPIFile.
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 | |||
) |
Definition at line 3939 of file rawapin.c.
References fLogClient, srawAPIFile::iOffset, srawAPIFile::iSeekMode, srawAPIFile::iSockMover, pAPIFile, and rawSendRequest().
Referenced by rfio_close().
int rfio_mkdir | ( | const char * | , |
int | |||
) |
Definition at line 4855 of file rawapin.c.
References fLogClient.
int rfio_newfile | ( | int | , |
char * | |||
) |
Definition at line 3016 of file rawapin.c.
References ARCH_TAPE, ARCHIVE_RECORD, cNamefs, srawComm::cNamefs, cNamehl, srawComm::cNamehl, srawComm::cNamell, srawAPIFile::cNodeMover, cNodeMover, cPrefix, srawStatus::cStatus, fLogClient, HEAD_LEN, srawAPIFile::iAction, srawComm::iAction, srawComm::iArchDev, iATLServer, srawComm::iATLServer, srawComm::iBufsizeFile, srawComm::iCommLen, srawCopyCache::iCopyLen, srawCopyCache::iCopyMode, iFileCount, iFileMax, srawComm::iIdent, srawAPIFile::iMassSto, iPortMover, irawComm, irawCopyCache, iSleepCacheFull, srawAPIFile::iSockMaster, srawAPIFile::iSockMover, srawStatus::iStatus, iStatusLoopMax, MAX_NODE, MAX_OBJ_FS, MAX_OBJ_HL, MAX_OBJ_LL, srawQueryResult::objAttr, pAPIFile, pcDevDelim, QUERY_ARCHIVE_RECORD, QUERY_RETRIEVE_RECORD, rawGetHLName(), rawQueryFile(), rawRecvStatus(), rconnect(), RETRIEVE_RECORD, rfio_errmsg, srawAPIFile::sCommAPI, srawAPIFile::sCommServ, srawAPIFile::sCopyCacheServ, STA_CACHE_FULL, STA_ERROR_EOF, STA_SWITCH_SERVER, and STATUS_LEN.
Referenced by rfio_fnewfile().
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(), rfio_closedir(), 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().
void rfio_perror | ( | const char * | ) |
Definition at line 4751 of file rawapin.c.
References rfio_errmsg.
ssize_t rfio_read | ( | int | , |
char * | , | ||
size_t | |||
) |
Definition at line 2529 of file rawapin.c.
References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, fLogClient, HEAD_LEN, srawAPIFile::iBufnoServ, srawAPIFile::iBufsizeAct, srawAPIFile::iDataServ, IDENT_STATUS, iFileCount, iFileMax, iint, srawAPIFile::iOffset, srawAPIFile::iSeekMode, srawAPIFile::iSockMover, pAPIFile, rawRecvError(), rawSendRequest(), srawAPIFile::sCommAPI, srawAPIFile::sCommServ, STA_END_OF_FILE, STA_END_OF_SESSION, STA_ERROR, and STA_ERROR_EOF.
Referenced by rfio_fread().
char* rfio_serror | ( | ) |
Definition at line 4779 of file rawapin.c.
References fLogClient, and rfio_errmsg.
int rfio_stat | ( | const char * | , |
struct stat * | |||
) |
Definition at line 5072 of file rawapin.c.
References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, fLogClient, iFileCount, iFileMax, srawComm::iFileSize, iOnlyQuery, MAX_FULL_FILE, pAPIFile, and rfio_open().
int rfio_unlink | ( | const char * | ) |
Definition at line 4808 of file rawapin.c.
References fLogClient.
ssize_t rfio_write | ( | int | , |
const char * | , | ||
size_t | |||
) |
Definition at line 2842 of file rawapin.c.
References fLogClient, srawAPIFile::iBufnoServ, srawAPIFile::iBufsizeAct, srawComm::iBufsizeFile, srawAPIFile::iDataServ, iFileCount, iFileMax, iint, srawAPIFile::iSockMover, pAPIFile, srawAPIFile::sCommAPI, and srawAPIFile::sCommServ.
Referenced by rfio_fwrite().