Defines | Functions | Variables

RawAPI/rawapin.h File Reference

#include <stdint.h>
#include <unistd.h>
#include "rawcommn.h"
#include "rawclin.h"

Go to the source code of this file.

Defines

#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 *)

Variables

FILE * fLogFile

Define Documentation

#define RFILE   srawAPIFile

Definition at line 70 of file rawapin.h.


Function Documentation

int rfio_access ( const char *  ,
int   
)

Definition at line 4443 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 4931 of file rawapin.c.

References fLogClient.

int rfio_endfile ( int   ) 
int rfio_fclose ( RFILE *   ) 

Definition at line 4415 of file rawapin.c.

References rfio_close().

int rfio_fendfile ( RFILE *   ) 

Definition at line 4386 of file rawapin.c.

References rfio_endfile().

int rfio_fnewfile ( RFILE *  ,
char *   
)

Definition at line 4239 of file rawapin.c.

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

RFILE* rfio_fopen ( char *  ,
char *   
)

Definition at line 4003 of file rawapin.c.

References RFILE, and rfio_fopen_gsidaq().

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

Definition at line 4152 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 4043 of file rawapin.c.

References cNodeMover, pAPIFile, and rfio_open_gsidaq().

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

Definition at line 4308 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 4346 of file rawapin.c.

References fLogClient, and rfio_write().

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

Definition at line 5311 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 4856 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 cApplType, srawComm::cApplType, srawFileSystem::cArchiveDate, srawFileSystem::cArchiveUser, srawCopyCache::cCopyPath, srawComm::cDataFS, cDataFSHigh1, cDataFSHigh2, srawObjAttr::cDateCreate, srawComm::cliNode, cLogClient, srawComm::cNamefs, cNamefs, srawComm::cNamehl, cNamehl, srawComm::cNamell, srawDataMoverAttr::cNode, srawFileSystem::cNode, srawObjAttr::cNode, srawComm::cNodeCacheMgr, srawAPIFile::cNodeMaster, cNodeMaster, cNodeMaster0, srawAPIFile::cNodeMover, cNodeMover, cNodePrefix, srawComm::cNodeRC, srawComm::cNodeWC, srawFileSystem::cOS, srawComm::cOS, srawObjAttr::cOwner, srawComm::cOwner, cPrefix, srawStatus::cStatus, srawComm::cTapeLib, fLogClient, fLogFile, GSI_CACHE_INCOMPLETE, GSI_CACHE_LOCKED, GSI_MEDIA_CACHE, GSI_MEDIA_INCOMPLETE, GSI_MEDIA_LOCKED, GSI_MEDIA_STAGE, srawComm::iAction, srawAPIFile::iAction, srawComm::iArchDev, srawDataMoverAttr::iATLServer, srawObjAttr::iATLServer, srawComm::iATLServer, iATLServer, srawAPIFile::iBufnoServ, srawAPIFile::iBufsizeAct, srawObjAttr::iBufsizeFile, srawComm::iBufsizeFile, srawComm::iClient32, srawComm::iCommLen, srawCopyCache::iCopyFraction, srawCopyCache::iCopyLen, srawCopyCache::iCopyMode, srawComm::iDataFS, srawAPIFile::iDataServ, IDENT_COPY_CACHE, srawDataMoverAttr::iExecStatus, srawComm::iExecStatus, iFileCount, srawAPIFile::iFileId, iFileMax, srawObjAttr::iFileSize, srawComm::iFileSize, srawObjAttr::iFileSize2, srawComm::iFileSize2, srawFileSystem::iFileSystem, srawObjAttr::iFileType, srawComm::iFileType, srawAPIFile::iFlags, srawObjAttr::iFS, srawComm::iFSidWC, srawCopyCache::iIdent, srawComm::iIdent, iLogFile, srawAPIFile::iMassSto, srawCopyCache::iMaxFile, srawObjAttr::iMediaClass, srawAPIFile::iMode, iObjAttr, srawObjAttr::iObjHigh, srawComm::iObjHigh, srawObjAttr::iObjLow, srawComm::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, srawDataMoverAttr::iWaitTime, srawComm::iWaitTime, MAX_ATLSERVER, MAX_NODE, MAX_OBJ_FS, MAX_OBJ_HL, MAX_OBJ_LL, srawQueryResult::objAttr, pAPIFile, pcDevDelim, pcPerc, pcQM, pcStar, rawGetFSpName(), rawGetHLName(), rawGetLLName(), rawGetUserid(), rawQueryFile(), rawQueryString(), rawRecvHeadC(), rawRecvStatus(), rawSendStatus(), rconnect(), rfio_errmsg, srawAPIFile::sCommAPI, srawAPIFile::sCommServ, srawAPIFile::sCopyCacheServ, SPM_REQUEST_MOVER, srawAPIFile::sQueryAPI, STA_CACHE_FULL, STA_SWITCH_SERVER, and STREAM.

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

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

Definition at line 4727 of file rawapin.c.

void rfio_perror ( const char *   ) 

Definition at line 4752 of file rawapin.c.

References rfio_errmsg.

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

Definition at line 4780 of file rawapin.c.

References fLogClient, and rfio_errmsg.

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

Definition at line 4809 of file rawapin.c.

References fLogClient.

ssize_t rfio_write ( int  ,
const char *  ,
size_t   
)

Variable Documentation

FILE* fLogFile

Definition at line 54 of file rawapin.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines