DABC (Data Acquisition Backbone Core)  2.9.9
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/stat.h>
#include <sys/dir.h>
#include <sys/statfs.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 rawGetBaseDir (char *pcVarDir, char *pcBaseDir)
 
int rawGetDirEntries (char *pcStageFS)
 
int rawGetDirEntryList (char *pcDirName, char *pcEntryMask, int iEntryType, int iEntryLoop, int iPrefixDir, char **ppFileList, char **ppDirList)
 
int rawGetFileAttr (char *pcFile, unsigned long *plFileSize)
 
int rawGetFileList (char *pcFile, int iAccept, int iEntryLoop, char **ppFileList)
 
int rawGetFSEntries (char *pcStageFS)
 
int rawGetFSfree (char *pcStageFS)
 
int rawGetFSSpace (char *pcFileSystem, int *piSizeAll, int *piSizeAvail, int *piNodeAll, int *piNodeAvail)
 
int rawGetHostConn ()
 
int rawGetRecEntryList (char *pcDirName, char *pcEntryMask, int iEntryType, int iMaxFiles, char **ppFileList, int iMaxDirs, char **ppDirList)
 
char * rawGetUserid ()
 

Variables

FILE * fLogFile
 
static int iFileList = sizeof(srawFileList)
 

Macro Definition Documentation

◆ BUFSIZE_SMALL

#define BUFSIZE_SMALL   80

Definition at line 111 of file rawProcUn.c.

Function Documentation

◆ rawGetDirEntries()

int rawGetDirEntries ( char *  pcStageFS)

Definition at line 121 of file rawProcUn.c.

◆ rawGetDirEntryList()

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

Definition at line 179 of file rawProcUn.c.

◆ rawGetRecEntryList()

int rawGetRecEntryList ( char *  pcDirName,
char *  pcEntryMask,
int  iEntryType,
int  iMaxFiles,
char **  ppFileList,
int  iMaxDirs,
char **  ppDirList 
)

Definition at line 748 of file rawProcUn.c.

◆ rawGetFSEntries()

int rawGetFSEntries ( char *  pcStageFS)

Definition at line 1583 of file rawProcUn.c.

◆ rawGetFSfree()

int rawGetFSfree ( char *  pcStageFS)

Definition at line 1640 of file rawProcUn.c.

◆ rawGetFSSpace()

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

Definition at line 1793 of file rawProcUn.c.

◆ rawGetFileAttr()

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

Definition at line 1890 of file rawProcUn.c.

◆ rawGetFileList()

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

Definition at line 2097 of file rawProcUn.c.

◆ rawGetHostConn()

int rawGetHostConn ( )

Definition at line 2492 of file rawProcUn.c.

◆ rawGetBaseDir()

int rawGetBaseDir ( char *  pcVarDir,
char *  pcBaseDir 
)

Definition at line 2674 of file rawProcUn.c.

◆ rawGetUserid()

char* rawGetUserid ( )

Definition at line 2823 of file rawProcUn.c.

Variable Documentation

◆ fLogFile

FILE* fLogFile
extern

Definition at line 217 of file rawapin.c.

◆ iFileList

int iFileList = sizeof(srawFileList)
static

Definition at line 109 of file rawProcUn.c.