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

/RawAPI/rawCliProcn.c File Reference

Go to the source code of this file.

Functions

int rawCheckFilelist (char **pcFileList, char **pcObjList, char *pcNodeMaster)
int rawCheckObjlist (int iFileComp, char **pcObjList, char **pcFileList, char **pcObjListall)
int rawDelFile (int iSocket, srawComm *pCommBuf)
int rawDelList (int iDataMover, srawDataMoverAttr *pDataMover0, srawComm *psComm, char **pcFileList, char **pcObjList)
int rawGetFilelistEntries (char *pcFileName, int *piEntries)
int rawGetWSInfo (srawCliActionComm *pCliActionComm, srawPoolStatus *pPoolInfo, srawWorkSpace **ppWorkSpace)
int rawQueryFile (int iSocket, srawComm *pCommBuf, void **pQueryBuf)
int rawQueryList (int iSocket, char *pFile, int iFilenoReq, int iFull, char *pInfo)
int rawScanObjbuf (char *pcFile, int iObjnoMax, int *piObjBuf0)

Variables

FILE * fLogFile
int * piEntryList
int iqueryMax = 0
int iQueryCount = 0
char * pQueryBuffer
srawQueryResultpQueryResult
srawObjAttrpQueryObj
srawObjAttrpQueryObj0


Function Documentation

int rawCheckFilelist char **    pcFileList,
char **    pcObjList,
char *    pcNodeMaster
 

Definition at line 110 of file rawCliProcn.c.

References bFalse, bool_t, bTrue, fLogFile, MAX_OBJ_LL, and rawGetLLName().

int rawCheckObjlist int    iFileComp,
char **    pcObjList,
char **    pcFileList,
char **    pcObjListall
 

Definition at line 331 of file rawCliProcn.c.

References bFalse, bool_t, bTrue, srawRetrList::cArchiveDate, srawArchList::cFile, srawRetrList::cNamell, srawRetrList::cNodeMover, srawRetrList::cOwner, fLogFile, srawRetrList::iArchiveFS, srawRetrList::iBufsizeFile, srawRetrList::iFileSize, srawRetrList::iFileType, srawRetrList::iObjHigh, srawRetrList::iObjLow, srawRetrList::iRestoHigh, srawRetrList::iRestoLow, and srawRetrList::iStageFS.

int rawDelFile int    iSocket,
srawComm   pCommBuf
 

Definition at line 614 of file rawCliProcn.c.

References srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, srawObjAttr::cNode, srawStatus::cStatus, GSI_MEDIA_LOCKED, GSI_MEDIA_STAGE, HEAD_LEN, srawComm::iAction, srawComm::iCommLen, srawObjAttr::iFS, srawObjAttr::iMediaClass, srawObjAttr::iObjHigh, srawComm::iObjHigh, srawObjAttr::iObjLow, srawComm::iObjLow, srawComm::iStageFSid, srawStatus::iStatus, srawQueryResult::objAttr, QUERY_REMOVE, rawQueryFile(), rawRecvStatus(), and REMOVE.

Referenced by rawDelList().

int rawDelList int    iDataMover,
srawDataMoverAttr   pDataMover0,
srawComm   psComm,
char **    pcFileList,
char **    pcObjList
 

Definition at line 733 of file rawCliProcn.c.

References bFalse, bool_t, bTrue, srawRetrList::cArchiveDate, srawArchList::cFile, srawRetrList::cNamell, srawComm::cNamell, srawDataMoverAttr::cNode, srawRetrList::cNodeMover, srawRetrList::cOwner, srawComm::iAction, srawRetrList::iArchiveFS, srawRetrList::iMaster, srawDataMoverAttr::iSocket, srawRetrList::iStageFS, MAX_OBJ_LL, rawDelFile(), rawGetLLName(), and REMOVE.

int rawGetFilelistEntries char *    pcFileName,
int *    piEntries
 

Definition at line 939 of file rawCliProcn.c.

References srawArchList::cFile, fLogFile, MAX_FILE, piEntryList, and piFilelist.

int rawGetWSInfo srawCliActionComm   pCliActionComm,
srawPoolStatus   pPoolInfo,
srawWorkSpace **    ppWorkSpace
 

Definition at line 1392 of file rawCliProcn.c.

References srawPoolStatusData::cPoolName, srawPoolStatusData::cPoolOS, HEAD_LEN, srawCliActionComm::iAction, srawPoolStatusData::iCheckSize, IDENT_POOL, IDENT_STATUS, IDENT_WORKSPACE, srawPoolStatusData::iFileAvail, srawPoolStatusData::iFiles, srawPoolStatusData::iFreeSize, srawPoolStatusData::iFreeSizeHW, srawWorkSpace::iIdent, srawPoolStatus::iIdent, srawPoolStatusData::iMaxSize, srawPoolStatusData::iMaxSizeHW, srawPoolStatusData::iMaxWorkSize, srawPoolStatus::iPoolNo, srawCliActionComm::iSocket, srawWorkSpace::iStatus, srawCliActionComm::iStatus, srawWorkSpace::iStatusLen, srawPoolStatus::iStatusLen, srawWorkSpace::iWorkFilesAll, srawWorkSpace::iWorkFilesEst, srawWorkSpace::iWorkFilesSta, srawWorkSpace::iWorkFilesStaTemp, srawWorkSpace::iWorkId, srawWorkSpace::iWorkSizeAll, srawWorkSpace::iWorkSizeEst, srawWorkSpace::iWorkSizeSta, srawWorkSpace::iWorkSizeStaTemp, MAX_FILE, srawCliActionComm::pcFile, srawCliActionComm::piBuffer, QUERY_POOL, QUERY_WORKSPACE, rawRecvError(), rawRecvHead(), STA_ERROR, STA_ERROR_EOF, and STAGE.

int rawQueryFile int    iSocket,
srawComm   pCommBuf,
void **    pQueryBuf
 

Definition at line 1986 of file rawCliProcn.c.

References srawComm::cNamell, srawObjAttr::cNamell, srawComm::cOwner, HEAD_LEN, srawComm::iAction, srawQueryResult::iAttrLen, srawComm::iCommLen, IDENT_QUERY, IDENT_QUERY_ARCHDB, IDENT_STATUS, srawQueryResult::iIdent, srawQueryResult::iObjCount, srawObjAttr::iObjLow, QUERY, QUERY_ARCHIVE, QUERY_ARCHIVE_MGR, QUERY_ARCHIVE_RECORD, QUERY_REMOVE, QUERY_REMOVE_MGR, QUERY_RETRIEVE, QUERY_RETRIEVE_API, QUERY_STAGE, rawRecvError(), rawRecvHead(), STA_ERROR, and STA_ERROR_EOF.

Referenced by rawDelFile(), and rfio_open().

int rawQueryList int    iSocket,
char *    pFile,
int    iFilenoReq,
int    iFull,
char *    pInfo
 

Definition at line 2175 of file rawCliProcn.c.

References bFalse, bool_t, bTrue, srawComm::cApplType, srawComm::cliNode, srawComm::cNamefs, srawComm::cNamehl, srawComm::cNamell, srawComm::cOS, srawComm::cOwner, DSM_MAX_OWNER_LENGTH, HEAD_LEN, srawComm::iAction, srawQueryResult::iAttrLen, srawComm::iBufsizeFile, srawComm::iCommLen, IDENT_COMM, IDENT_QUERY, IDENT_STATUS, srawQueryResult::iIdent, srawComm::iIdent, srawQueryResult::iObjCount, iQueryCount, iqueryMax, MAX_NODE, MAX_OBJ_FS, MAX_OBJ_HL, MAX_OBJ_LL, MBUF_SOCK, srawQueryResult::objAttr, pQueryBuffer, QUERY, rawGetLLName(), rawGetUserid(), rawQueryString(), rawRecvError(), rawRecvHead(), STA_ERROR, and STA_ERROR_EOF.

int rawScanObjbuf char *    pcFile,
int    iObjnoMax,
int *    piObjBuf0
 

Definition at line 2499 of file rawCliProcn.c.

References srawRetrList::cNamell.


Variable Documentation

FILE* fLogFile
 

Definition at line 92 of file rawCliProcn.c.

Referenced by rawCheckFilelist(), rawCheckObjlist(), and rawGetFilelistEntries().

int* piEntryList
 

Definition at line 93 of file rawCliProcn.c.

Referenced by rawGetFilelistEntries().

int iqueryMax = 0 [static]
 

Definition at line 95 of file rawCliProcn.c.

Referenced by rawQueryList().

int iQueryCount = 0 [static]
 

Definition at line 96 of file rawCliProcn.c.

Referenced by rawQueryList().

char* pQueryBuffer [static]
 

Definition at line 97 of file rawCliProcn.c.

Referenced by rawQueryList().

srawQueryResult* pQueryResult [static]
 

Definition at line 98 of file rawCliProcn.c.

srawObjAttr* pQueryObj [static]
 

Definition at line 99 of file rawCliProcn.c.

srawObjAttr * pQueryObj0 [static]
 

Definition at line 99 of file rawCliProcn.c.


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