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

/RawAPI/rawProcn.c File Reference

Go to the source code of this file.

Functions

int rawGetFileSize (char *pcFile, unsigned long *piSize, unsigned long *piRecl)
char * rawGetFullFile (char *pcFile, char *pcNamell)
char * rawGetFSName (char *pcUser)
char * rawGetHLName (char *pcPath)
int rawGetLLName (char *pcFile, char *pcDelimiter, char *pcObject)
char * rawGetPathName (char *pcNamehl)
void rawQueryPrint (srawObjAttr *pQAttr, int ipMode)
int rawQueryString (srawObjAttr *pQAttr, int ipMode, char *pcOut)
int rawRecvError (int iSocket, int iLen, char **pMsg)
int rawRecvHead (int iSocket, char **pBuf)
int rawRecvHeadC (int iSocket, char *pBuf, int iIdentReq, int iStatusReq, char *pcMsg)
int rawRecvRequest (int iSocket, int *piSeekMode, int *piOffset, int *piBufferSize)
int rawRecvStatus (int iSocket, char **pBuf)
int rawSendRequest (int iSocket, int iSeekMode, int iOffset, int iBufferSize)
int rawSendStatus (int iSocket, int iStatus, char *pcMsg)
int rawTestFileName (char *pcFile)
int rawTestFilePath (char *pcFile0, char **pcFile, char **pcTape)

Variables

FILE * fLogFile
char cPath [MAX_FILE] = ""
char cNamefs [MAX_OBJ_FS] = ""
char cNamehl [MAX_OBJ_HL] = ""
char * pcNull = ""


Function Documentation

int rawGetFileSize char *    pcFile,
unsigned long *    piSize,
unsigned long *    piRecl
 

Definition at line 144 of file rawProcn.c.

References fLogFile.

Referenced by rawTestFileName().

char* rawGetFullFile char *    pcFile,
char *    pcNamell
 

Definition at line 238 of file rawProcn.c.

References cPath, fLogFile, and MAX_FILE.

char* rawGetFSName char *    pcUser
 

Definition at line 337 of file rawProcn.c.

References cNamefs, and fLogFile.

char* rawGetHLName char *    pcPath
 

Definition at line 394 of file rawProcn.c.

References cNamehl, and fLogFile.

int rawGetLLName char *    pcFile,
char *    pcDelimiter,
char *    pcObject
 

Definition at line 431 of file rawProcn.c.

References fLogFile, and MAX_OBJ_LL.

Referenced by rawCheckFilelist(), rawDelList(), rawQueryList(), and rfio_open().

char* rawGetPathName char *    pcNamehl
 

Definition at line 484 of file rawProcn.c.

References cPath, and fLogFile.

Referenced by rawQueryPrint(), and rawQueryString().

void rawQueryPrint srawObjAttr   pQAttr,
int    ipMode
 

Definition at line 526 of file rawProcn.c.

References cPath, FIXED_INTS4, fLogFile, GSI_MEDIA_CACHE, GSI_MEDIA_INCOMPLETE, GSI_MEDIA_LOCKED, GSI_MEDIA_STAGE, MAX_OBJ_HL, MEDIA_FIXED, MEDIA_LIBRARY, MEDIA_NETWORK, MEDIA_OFFSITE, MEDIA_SHELF, MEDIA_UNAVAILABLE, rawGetPathName(), and STREAM.

int rawQueryString srawObjAttr   pQAttr,
int    ipMode,
char *    pcOut
 

Definition at line 642 of file rawProcn.c.

References srawObjAttr::cDate, srawObjAttr::cMgmtClass, srawObjAttr::cNamefs, srawObjAttr::cNamehl, srawObjAttr::cNamell, srawObjAttr::cNode, srawObjAttr::cOS, srawObjAttr::cOwner, cPath, srawObjAttr::cStageUser, FIXED_INTS4, fLogFile, GSI_MEDIA_CACHE, GSI_MEDIA_INCOMPLETE, GSI_MEDIA_LOCKED, GSI_MEDIA_STAGE, srawObjAttr::iBufsizeFile, srawObjAttr::iFileSize, srawObjAttr::iFileType, srawObjAttr::iFS, srawObjAttr::iMediaClass, srawObjAttr::iObjHigh, srawObjAttr::iObjLow, srawObjAttr::iRestoHigh, srawObjAttr::iRestoLow, srawObjAttr::iVersion, MAX_OBJ_HL, MEDIA_FIXED, MEDIA_LIBRARY, MEDIA_NETWORK, MEDIA_OFFSITE, MEDIA_SHELF, MEDIA_UNAVAILABLE, rawGetPathName(), and STREAM.

Referenced by rawQueryList(), rfio_gsi_query(), and rfio_open().

int rawRecvError int    iSocket,
int    iLen,
char **    pMsg
 

Definition at line 794 of file rawProcn.c.

References fLogFile.

Referenced by rawGetWSInfo(), rawQueryFile(), rawQueryList(), rawRecvHeadC(), and rfio_read().

int rawRecvHead int    iSocket,
char **    pBuf
 

Definition at line 845 of file rawProcn.c.

References fLogFile, HEAD_LEN, IDENT_STATUS, STA_ERROR, and STA_ERROR_EOF.

Referenced by rawGetWSInfo(), rawQueryFile(), and rawQueryList().

int rawRecvHeadC int    iSocket,
char *    pBuf,
int    iIdentReq,
int    iStatusReq,
char *    pcMsg
 

Definition at line 932 of file rawProcn.c.

References fLogFile, HEAD_LEN, IDENT_STATUS, rawRecvError(), STA_ERROR, and STA_ERROR_EOF.

Referenced by rfio_open().

int rawRecvRequest int    iSocket,
int *    piSeekMode,
int *    piOffset,
int *    piBufferSize
 

Definition at line 1081 of file rawProcn.c.

References fLogFile, HEAD_LEN, srawRequest::iBufferSize, IDENT_NEXT_BUFFER, IDENT_STATUS, srawRequest::iIdent, srawRequest::iOffset, srawRequest::iSeekMode, srawRequest::iStatus, srawRequest::iStatusLen, STA_END_OF_FILE, STA_END_OF_SESSION, STA_ERROR, and STA_ERROR_EOF.

int rawRecvStatus int    iSocket,
char **    pBuf
 

Definition at line 1228 of file rawProcn.c.

References fLogFile, HEAD_LEN, IDENT_STATUS, srawStatus::iIdent, srawStatus::iStatus, and srawStatus::iStatusLen.

Referenced by rawDelFile(), and rfio_open().

int rawSendRequest int    iSocket,
int    iSeekMode,
int    iOffset,
int    iBufferSize
 

Definition at line 1323 of file rawProcn.c.

References fLogFile, HEAD_LEN, srawRequest::iBufferSize, IDENT_NEXT_BUFFER, srawRequest::iIdent, srawRequest::iOffset, srawRequest::iSeekMode, srawRequest::iStatus, srawRequest::iStatusLen, STA_NEXT_BUFFER, and STA_SEEK_BUFFER.

Referenced by rfio_lseek(), and rfio_read().

int rawSendStatus int    iSocket,
int    iStatus,
char *    pcMsg
 

Definition at line 1381 of file rawProcn.c.

References srawStatus::cStatus, fLogFile, HEAD_LEN, IDENT_STATUS, srawStatus::iIdent, srawStatus::iStatus, and srawStatus::iStatusLen.

Referenced by rfio_close(), rfio_gsi_disconnect(), and rfio_open().

int rawTestFileName char *    pcFile
 

Definition at line 1433 of file rawProcn.c.

References fLogFile, MAX_FILE, and rawGetFileSize().

Referenced by rawGetFileList().

int rawTestFilePath char *    pcFile0,
char **    pcFile,
char **    pcTape
 

Definition at line 1512 of file rawProcn.c.

References bFalse, bool_t, bTrue, fLogFile, and MAX_FILE.


Variable Documentation

FILE* fLogFile
 

Definition at line 128 of file rawProcn.c.

Referenced by rawGetFileSize(), rawGetFSName(), rawGetFullFile(), rawGetHLName(), rawGetLLName(), rawGetPathName(), rawQueryPrint(), rawQueryString(), rawRecvError(), rawRecvHead(), rawRecvHeadC(), rawRecvRequest(), rawRecvStatus(), rawSendRequest(), rawSendStatus(), rawTestFileName(), and rawTestFilePath().

char cPath[MAX_FILE] = "" [static]
 

Definition at line 130 of file rawProcn.c.

Referenced by rawGetFullFile(), rawGetPathName(), rawQueryPrint(), and rawQueryString().

char cNamefs[MAX_OBJ_FS] = "" [static]
 

Definition at line 131 of file rawProcn.c.

Referenced by rawGetFSName().

char cNamehl[MAX_OBJ_HL] = "" [static]
 

Definition at line 132 of file rawProcn.c.

Referenced by rawGetHLName().

char* pcNull = "" [static]
 

Definition at line 134 of file rawProcn.c.


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