GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Functions | Variables
rawProcUn.c File Reference
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include <fnmatch.h>
#include <sys/types.h>
#include <sys/statfs.h>
#include <sys/stat.h>
#include <sys/dir.h>
#include "rawcommn.h"
#include "rawdefn.h"
#include "rawentn.h"

Go to the source code of this file.

Macros

#define BUFSIZE_SMALL   80
 

Functions

int rawGetDirEntries (char *pcStageFS)
 
int rawGetDirEntryList (char *pcDirName, char *pcEntryMask, int iEntryType, int iEntryLoop, int iPrefixDir, char **ppFileList, char **ppDirList)
 
int rawGetFSEntries (char *pcStageFS)
 
int rawGetFSfree (char *pcStageFS)
 
int rawGetFSSpace (char *pcFileSystem, int *piSizeAll, int *piSizeAvail, int *piNodeAll, int *piNodeAvail)
 
int rawGetFileAttr (char *pcFile, unsigned long *plFileSize)
 
int rawGetFileList (char *pcFile, int iAccept, int iEntryLoop, char **ppFileList)
 
int rawGetHostConn ()
 
char * rawGetUserid ()
 

Variables

FILE * fLogFile
 
static int iFileList = sizeof(srawFileList)
 

Macro Definition Documentation

#define BUFSIZE_SMALL   80

Definition at line 91 of file rawProcUn.c.

Referenced by rawGetFSfree().

Function Documentation

int rawGetDirEntries ( char *  pcStageFS)

Definition at line 101 of file rawProcUn.c.

References fLogFile.

int rawGetDirEntryList ( char *  pcDirName,
char *  pcEntryMask,
int  iEntryType,
int  iEntryLoop,
int  iPrefixDir,
char **  ppFileList,
char **  ppDirList 
)

Definition at line 159 of file rawProcUn.c.

References srawFileList::cFile, fLogFile, iFileList, MAX_FILE_NO, and MAX_FULL_FILE.

int rawGetFileAttr ( char *  pcFile,
unsigned long *  plFileSize 
)

Definition at line 1045 of file rawProcUn.c.

References BUFSIZE, CMDLEN, fLogFile, and MAX_FILE_SIZE.

int rawGetFileList ( char *  pcFile,
int  iAccept,
int  iEntryLoop,
char **  ppFileList 
)
int rawGetFSEntries ( char *  pcStageFS)

Definition at line 738 of file rawProcUn.c.

References fLogFile.

int rawGetFSfree ( char *  pcStageFS)

Definition at line 795 of file rawProcUn.c.

References BUFSIZE_SMALL, fLogFile, and MAX_FULL_FILE.

int rawGetFSSpace ( char *  pcFileSystem,
int *  piSizeAll,
int *  piSizeAvail,
int *  piNodeAll,
int *  piNodeAvail 
)

Definition at line 948 of file rawProcUn.c.

References fLogFile, and if().

int rawGetHostConn ( )

Definition at line 1647 of file rawProcUn.c.

References CMDLEN, fLogFile, and MAX_NODE.

char* rawGetUserid ( )

Definition at line 1827 of file rawProcUn.c.

References BUFSIZE, CMDLEN, and fLogFile.

Referenced by rfio_open_gsidaq().

Variable Documentation

FILE* fLogFile
int iFileList = sizeof(srawFileList)
static

Definition at line 89 of file rawProcUn.c.

Referenced by rawGetDirEntryList().