12 #ifndef ROOT_TChirpFile 13 #define ROOT_TChirpFile 53 void *OpenDirectory(
const char *name);
54 void FreeDirectory(
void *dirp);
55 const char *GetDirEntry(
void *dirp);
58 Int_t Unlink(
const char *path);
60 int Rename(
const char *from,
const char *to);
61 int Link(
const char *from,
const char *to);
62 int Symlink(
const char *from,
const char *to);
65 int Utime(
const char *file,
Long_t modtime,
Long_t actime);
Int_t SysClose(Int_t fd)
Interface to system close. All arguments like in POSIX close().
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
Return file stat information.
Int_t SysRead(Int_t fd, void *buf, Int_t len)
Interface to system read. All arguments like in POSIX read().
RooCmdArg Link(const char *state, RooAbsData &data)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Bool_t ReadBuffers(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
Read the nbuf blocks described in arrays pos and len.
Int_t SysSync(Int_t fd)
Interface to system fsync. All arguments like in POSIX fsync().
#define ClassDef(name, id)
Read and write data via a Chirp server.
Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence)
Interface to system lseek.
RooCmdArg Rename(const char *suffix)
struct chirp_file * chirp_file_ptr
Int_t SysWrite(Int_t fd, const void *buf, Int_t len)
Interface to system write. All arguments like in POSIX write().
Int_t SysOpen(const char *pathname, Int_t flags, UInt_t mode)
Interface to system open. All arguments like in POSIX open().
Abstract base class defining a generic interface to the underlying Operating System.