Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/RawAPI/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 1717 of file rawapin.c.

References pAPIFile, and rfio_open().

int rfio_fread char *   ,
int   ,
int   ,
RFILE *   
 

Definition at line 1754 of file rawapin.c.

References rfio_read().

int rfio_fwrite char *   ,
int   ,
int   ,
RFILE *   
 

Definition at line 1792 of file rawapin.c.

References rfio_write().

int rfio_fclose RFILE *   
 

Definition at line 1830 of file rawapin.c.

References rfio_close(), and STA_END_OF_SESSION.

int rfio_open char *   ,
int   ,
int   
 

Definition at line 90 of file rawapin.c.

References ARCH_DISK, ARCHIVE, ARCHIVE_RECORD, srawComm::cApplType, srawFileSystem::cArchiveDate, srawFileSystem::cArchiveUser, srawObjAttr::cDate, srawComm::cliNode, srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, srawDataMoverAttr::cNode, srawFileSystem::cNode, srawObjAttr::cNode, srawAPIFile::cNodeMaster, 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, 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, PORT_RFIO_SERV, QUERY_ARCHIVE_RECORD, QUERY_RETRIEVE_API, 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 1205 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 1486 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 1655 of file rawapin.c.

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

int rfio_close int   
 

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

int rfio_fstat int   ,
void *   
 

Definition at line 1878 of file rawapin.c.

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

Definition at line 1900 of file rawapin.c.

void rfio_perror const char *   
 

Definition at line 1923 of file rawapin.c.

References rfio_errmsg.

char* rfio_serror  
 

Definition at line 1947 of file rawapin.c.

References rfio_errmsg.

int rfio_unlink char *   
 

Definition at line 1970 of file rawapin.c.

int rfio_gsi_query int   ,
int   ,
char *   
 

Definition at line 2110 of file rawapin.c.

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


Variable Documentation

FILE* fLogFile
 

Definition at line 44 of file rawapin.h.

Referenced by rawGetDirEntries(), rawGetFileAttr(), rawGetFileList(), rawGetFSEntries(), rawGetFSfree(), rawGetFSSpace(), rawGetHostConn(), and rawGetUserid().

int* piFilelist
 

Definition at line 45 of file rawapin.h.

Referenced by rawGetFileList(), and rawGetFilelistEntries().


Generated on Tue Nov 8 10:56:24 2005 for Go4-v2.10-5 by doxygen1.2.15