|
DABC (Data Acquisition Backbone Core)
2.9.9
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <fcntl.h>#include <time.h>#include <ctype.h>#include <errno.h>#include "rawdefn.h"#include "rawapin.h"#include "rawentn.h"#include "rawapitd.h"#include "rawapitd-gsin.h"#include "rawapplcli.h"Go to the source code of this file.
Macros | |
| #define | MAX_BUFSIZE 32768 |
| #define | MAX_LOG_FILE 64 /* max length of client log file name */ |
Functions | |
| char * | rawGetFSpName (char *) |
| int | rfio_access (const char *pcFile, int iMode) |
| int | rfio_cache_stat (const char *pcFile) |
| int | rfio_close (int iFileId) |
| int | rfio_closedir (void *dirp) |
| int | rfio_endfile (int iFileId) |
| int | rfio_fclose (RFILE *pRemFile) |
| int | rfio_fendfile (RFILE *pRemFile) |
| int | rfio_ffileid (RFILE *fRemoteFile) |
| int | rfio_fnewfile (RFILE *pRemFile, char *pcFile) |
| RFILE * | rfio_fopen (char *pcFile, char *pcOptions) |
| RFILE * | rfio_fopen_gsidaq (char *pcFile, char *pcOptions, int iCopyMode, char *pcCopyPath, int iCopyFraction, int iMaxFile, int iPathConvention) |
| RFILE * | rfio_fopen_gsidaq_dm (char *pcFile, char *pcOptions, char *pcDataMover, int *piDataMover, int iCopyMode, char *pcCopyPath, int iCopyFraction, int iMaxFile, int iPathConvention) |
| size_t | rfio_fread (char *pcBuffer, size_t iSize, size_t iItems, RFILE *pRemFile) |
| int | rfio_fstat (int iFileId, struct stat *pStatBuf) |
| size_t | rfio_fwrite (const char *pcBuffer, size_t iSize, size_t iItems, RFILE *pRemFile) |
| int | rfio_gsi_query (int iFileId, int iFull, int iOut, char *pInfo) |
| int | rfio_lseek (int iFileId, int ilocOffset, int ilocSeekMode) |
| int | rfio_mkdir (const char *path, int mode) |
| int | rfio_newfile (int iFileId, char *pcFile) |
| int | rfio_open (const char *pcFile, int iFlags, int iOpenMode) |
| int | rfio_open_gsidaq (const char *pcFile, int iFlags, int iOpenMode, int iCopyMode, char *pcCopyPath, int iCopyFraction, int iMaxFile, int iPathConvention) |
| void * | rfio_opendir (const char *dirpath) |
| int | rfio_parse (char *pcFile, char **pcNode, char **pcPath) |
| void | rfio_perror (const char *pUMsg) |
| ssize_t | rfio_read (int iFileId, char *pcBuffer, size_t iItems) |
| void * | rfio_readdir (void *dirp) |
| char * | rfio_serror () |
| int | rfio_stat (const char *pcFile, struct stat *pStatBuf) |
| int | rfio_unlink (const char *pcFile) |
| ssize_t | rfio_write (int iFileId, const char *pcBuffer, size_t iItems) |
| int | rfiosetopt (int iopt, int *pival, int ilen) |
Variables | |
| static char | cLogClient [MAX_LOG_FILE] = "" |
| static char | cNodeMaster [MAX_NODE] = "" |
| static char | cNodeMover [MAX_NODE] = "" |
| static char | cNodePrefix [MAX_NODE] = "" |
| static char | cPrefix [MAX_FULL_FILE] = "" |
| FILE * | fLogClient = NULL |
| FILE * | fLogFile = NULL |
| static int | iATLServer |
| static int | iFileCount = 0 |
| static int | iFileMax = 10 |
| static int | iint = sizeof(int) |
| static int | iLogFile = 1 |
| int | imySigS |
| static int | iObjAttr = sizeof(srawObjAttr) |
| static int | iOnlyQuery = 0 |
| static int | iOS64 = 0 |
| static int | iPortMaster = PORT_MASTER |
| static int | iPortMover = PORT_MOVER |
| static int | irawAPIFile = sizeof(srawAPIFile) |
| static int | irawComm = sizeof(srawComm) |
| static int | irawCopyCache = sizeof(srawCopyCache) |
| static int | irawFileSystem = sizeof(srawFileSystem) |
| static int | iSleepCacheFull = SLEEP_CACHE_FULL |
| static int | iStatusLoopMax = MAXLOOP_CACHE_FULL |
| static RFILE * | pAPIFile [10] |
| int * | piEntryList |
| static char | rfio_errmsg [STATUS_LEN] = "" |
| int | rfio_errno |
| int | serrno |
| int | tCastorVersionKey |
| int | tStageHostKey |
| int | tStagePortKey |
| int | tSvcClassKey |
| #define MAX_LOG_FILE 64 /* max length of client log file name */ |
| char* rawGetFSpName | ( | char * | pcUser | ) |
Definition at line 971 of file rawProcn.c.
| int rfio_open | ( | const char * | pcFile, |
| int | iFlags, | ||
| int | iOpenMode | ||
| ) |
| int rfio_open_gsidaq | ( | const char * | pcFile, |
| int | iFlags, | ||
| int | iOpenMode, | ||
| int | iCopyMode, | ||
| char * | pcCopyPath, | ||
| int | iCopyFraction, | ||
| int | iMaxFile, | ||
| int | iPathConvention | ||
| ) |
| ssize_t rfio_read | ( | int | iFileId, |
| char * | pcBuffer, | ||
| size_t | iItems | ||
| ) |
| ssize_t rfio_write | ( | int | iFileId, |
| const char * | pcBuffer, | ||
| size_t | iItems | ||
| ) |
| int rfio_lseek | ( | int | iFileId, |
| int | ilocOffset, | ||
| int | ilocSeekMode | ||
| ) |
| RFILE* rfio_fopen_gsidaq_dm | ( | char * | pcFile, |
| char * | pcOptions, | ||
| char * | pcDataMover, | ||
| int * | piDataMover, | ||
| int | iCopyMode, | ||
| char * | pcCopyPath, | ||
| int | iCopyFraction, | ||
| int | iMaxFile, | ||
| int | iPathConvention | ||
| ) |
| RFILE* rfio_fopen_gsidaq | ( | char * | pcFile, |
| char * | pcOptions, | ||
| int | iCopyMode, | ||
| char * | pcCopyPath, | ||
| int | iCopyFraction, | ||
| int | iMaxFile, | ||
| int | iPathConvention | ||
| ) |
| size_t rfio_fread | ( | char * | pcBuffer, |
| size_t | iSize, | ||
| size_t | iItems, | ||
| RFILE * | pRemFile | ||
| ) |
| size_t rfio_fwrite | ( | const char * | pcBuffer, |
| size_t | iSize, | ||
| size_t | iItems, | ||
| RFILE * | pRemFile | ||
| ) |
| int rfio_parse | ( | char * | pcFile, |
| char ** | pcNode, | ||
| char ** | pcPath | ||
| ) |
| int rfio_stat | ( | const char * | pcFile, |
| struct stat * | pStatBuf | ||
| ) |
| int rfio_gsi_query | ( | int | iFileId, |
| int | iFull, | ||
| int | iOut, | ||
| char * | pInfo | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |