Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

rawapin.h File Reference

Go to the source code of this file.

Defines

#define USER_API
#define RFILE   srawAPIFile

Functions

RFILE * rfio_fopen (char *, char *)
int rfio_fread (char *, int, int, RFILE *)
int rfio_fwrite (char *, int, int, RFILE *)
int rfio_fclose (RFILE *)
int rfio_open (char *, int, int)
int rfio_read (int, char *, int)
int rfio_write (int, char *, int)
int rfio_lseek (int, int, int)
int rfio_close (int)
int rfio_access (char *, int)
int rfio_fstat (int, void *)
int rfio_parse (char *, char **, char **)
void rfio_perror (const char *)
char * rfio_serror ()
int rfio_unlink (char *)
int rfio_gsi_query (int, int, char *)

Variables

FILE * fLogFile
int * piFilelist


Define Documentation

#define USER_API
 

Definition at line 37 of file rawapin.h.

#define RFILE   srawAPIFile
 

Definition at line 38 of file rawapin.h.


Function Documentation

RFILE* rfio_fopen char *  ,
char * 
 

Definition at line 1724 of file rawapin.c.

References pAPIFile, and rfio_open().

int rfio_fread char *  ,
int  ,
int  ,
RFILE * 
 

Definition at line 1761 of file rawapin.c.

References rfio_read().

int rfio_fwrite char *  ,
int  ,
int  ,
RFILE * 
 

Definition at line 1799 of file rawapin.c.

References rfio_write().

int rfio_fclose RFILE *   ) 
 

Definition at line 1837 of file rawapin.c.

References rfio_close(), and STA_END_OF_SESSION.

int rfio_open char *  ,
int  ,
int 
 

Definition at line 97 of file rawapin.c.

References ARCH_DISK, ARCHIVE, ARCHIVE_RECORD, cApplType, srawComm::cApplType, srawFileSystem::cArchiveDate, srawFileSystem::cArchiveUser, srawObjAttr::cDate, srawComm::cliNode, srawComm::cNamefs, cNamefs, srawComm::cNamehl, cNamehl, srawComm::cNamell, srawDataMoverAttr::cNode, srawFileSystem::cNode, srawObjAttr::cNode, srawAPIFile::cNodeMaster, cNodeMaster, cNodeMaster1, srawAPIFile::cNodeMover, srawFileSystem::cOS, srawComm::cOS, srawObjAttr::cOwner, srawComm::cOwner, srawStatus::cStatus, srawComm::cTapeLib, DSM_MAX_OWNER_LENGTH, fLogFile, GSI_MEDIA_CACHE, GSI_MEDIA_INCOMPLETE, GSI_MEDIA_LOCKED, GSI_MEDIA_STAGE, HEAD_LEN, srawComm::iAction, srawComm::iArchDev, srawAPIFile::iBufnoServ, srawAPIFile::iBufsizeAct, srawObjAttr::iBufsizeFile, srawComm::iBufsizeFile, srawComm::iCommLen, srawAPIFile::iDataServ, IDENT_COMM, IDENT_MOVER_ATTR, srawComm::iExecStatus, srawDataMoverAttr::iExecStatus, iFileCount, srawAPIFile::iFileId, iFileMax, srawObjAttr::iFileSize, srawComm::iFileSize, srawFileSystem::iFileSystem, srawObjAttr::iFileType, srawComm::iFileType, srawAPIFile::iFlags, srawObjAttr::iFS, srawComm::iIdent, srawObjAttr::iMediaClass, srawAPIFile::iMode, srawObjAttr::iObjHigh, srawComm::iObjHigh, srawObjAttr::iObjLow, srawComm::iObjLow, srawAPIFile::iOffset, iPortMaster, iPortMover, irawAPIFile, irawComm, irawFileSystem, srawAPIFile::iSeekMode, srawAPIFile::iSockMaster, srawAPIFile::iSockMover, srawComm::iStageFSid, srawStatus::iStatus, srawDataMover::iStatusLen, srawDataMoverAttr::iSynchId, srawComm::iSynchId, srawComm::iWaitTime, srawDataMoverAttr::iWaitTime, MAX_NODE, MAX_OBJ_FS, MAX_OBJ_HL, MAX_OBJ_LL, srawQueryResult::objAttr, pAPIFile, pcDevDelim, pcPerc, pcQM, pcStar, PORT_RFIO_SERV, QUERY_ARCHIVE_RECORD, QUERY_RETRIEVE_API, rawGetFSName(), rawGetHLName(), rawGetLLName(), rawGetUserid(), rawQueryFile(), rawQueryString(), rawRecvHeadC(), rawRecvStatus(), rawSendStatus(), rconnect(), RETRIEVE_RECORD, rfio_errmsg, srawAPIFile::sCommAPI, srawAPIFile::sCommServ, srawDataMover::sDataMoverAttr, srawAPIFile::sQueryAPI, STA_END_OF_SESSION, STA_SWITCH_SERVER, and STREAM.

Referenced by rfio_fopen().

int rfio_read int  ,
char *  ,
int 
 

Definition at line 1212 of file rawapin.c.

References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, 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().

int rfio_write int  ,
char *  ,
int 
 

Definition at line 1493 of file rawapin.c.

References srawAPIFile::iBufnoServ, srawAPIFile::iBufsizeAct, srawComm::iBufsizeFile, srawAPIFile::iDataServ, iFileCount, iFileMax, iint, srawAPIFile::iSockMover, pAPIFile, srawAPIFile::sCommAPI, and srawAPIFile::sCommServ.

Referenced by rfio_fwrite().

int rfio_lseek int  ,
int  ,
int 
 

Definition at line 1662 of file rawapin.c.

References srawAPIFile::iOffset, srawAPIFile::iSeekMode, srawAPIFile::iSockMover, pAPIFile, and rawSendRequest().

int rfio_close int   ) 
 

Definition at line 1126 of file rawapin.c.

References iFileCount, iFileMax, srawAPIFile::iSockMover, pAPIFile, rawSendStatus(), and STA_END_OF_SESSION.

Referenced by rfio_fclose().

int rfio_access char *  ,
int 
 

Definition at line 1863 of file rawapin.c.

int rfio_fstat int  ,
void * 
 

Definition at line 1885 of file rawapin.c.

int rfio_parse char *  ,
char **  ,
char ** 
 

Definition at line 1907 of file rawapin.c.

void rfio_perror const char *   ) 
 

Definition at line 1930 of file rawapin.c.

References rfio_errmsg.

char* rfio_serror  ) 
 

Definition at line 1954 of file rawapin.c.

References rfio_errmsg.

int rfio_unlink char *   ) 
 

Definition at line 1977 of file rawapin.c.

int rfio_gsi_query int  ,
int  ,
char * 
 

Definition at line 2117 of file rawapin.c.

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


Variable Documentation

FILE* fLogFile
 

Definition at line 44 of file rawapin.h.

int* piFilelist
 

Definition at line 45 of file rawapin.h.

Referenced by rawGetFileList(), and rawGetFilelistEntries().


Generated on Fri Nov 28 13:00:18 2008 for Go4-v3.04-1 by  doxygen 1.4.2