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

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
static int iqueryMax = 0
static int iQueryCount = 0
static char * pQueryBuffer
static srawQueryResultpQueryResult
static srawObjAttrpQueryObj
static srawObjAttrpQueryObj0


Function Documentation

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

Definition at line 116 of file rawCliProcn.c.

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

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

Definition at line 337 of file rawCliProcn.c.

References bFalse, 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 620 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 739 of file rawCliProcn.c.

References bFalse, 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 945 of file rawCliProcn.c.

References srawArchList::cFile, fLogFile, MAX_FILE, pcDevDelim, pcPerc, pcQM, pcStar, piEntryList, and piFilelist.

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

Definition at line 1398 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 1992 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 2181 of file rawCliProcn.c.

References bFalse, bTrue, cApplType, srawComm::cApplType, srawComm::cliNode, srawComm::cNamefs, cNamefs, srawComm::cNamehl, 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, rawGetFSName(), rawGetHLName(), rawGetLLName(), rawGetUserid(), rawQueryString(), rawRecvError(), rawRecvHead(), STA_ERROR, and STA_ERROR_EOF.

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

Definition at line 2505 of file rawCliProcn.c.

References srawRetrList::cNamell.


Variable Documentation

FILE* fLogFile
 

Definition at line 45 of file rawapigsin.c.

int* piEntryList
 

Definition at line 69 of file rawapin.c.

Referenced by rawGetFilelistEntries().

int iqueryMax = 0 [static]
 

Definition at line 101 of file rawCliProcn.c.

Referenced by rawQueryList().

int iQueryCount = 0 [static]
 

Definition at line 102 of file rawCliProcn.c.

Referenced by rawQueryList().

char* pQueryBuffer [static]
 

Definition at line 103 of file rawCliProcn.c.

Referenced by rawQueryList().

srawQueryResult* pQueryResult [static]
 

Definition at line 104 of file rawCliProcn.c.

srawObjAttr* pQueryObj [static]
 

Definition at line 105 of file rawCliProcn.c.

srawObjAttr * pQueryObj0 [static]
 

Definition at line 105 of file rawCliProcn.c.


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