40#ifndef __IoIntfCspReader_h
41#define __IoIntfCspReader_h
100 const char* pathName);
109#define IoIntfCspReader_destructor(o) IoIntfCspReader_close(o);
BA_API void IoIntfCspReader_constructor(IoIntfCspReader *o, IoIntf *io, const char *pathName)
Initialize a CSP data reader; see IoIntfCspReader::IoIntfCspReader.
#define IoIntfCspReader_destructor(o)
Close without freeing the object itself.
Definition: IoIntfCspReader.h:109
BA_API int IoIntfCspReader_close(IoIntfCspReader *o)
Close the reader after all its users have stopped.
int(* IoIntf_SeekAndRead)(ResIntfPtr super, BaFileSize offset, void *buf, size_t maxSize, size_t *size)
Perform a combined seek and read on a resource.
Definition: IoIntf.h:461
uint32_t U32
Unsigned 32-bit integer.
Definition: GenPrimT.h:93
Abstract interface class for reading the "dat" file generated by HttpLink.
Definition: CspRunTm.h:126
The IoIntfCspReader, which implements the abstract CspReader interface, makes it possible to open a "...
Definition: IoIntfCspReader.h:53
int close()
Close and consume the file handle, even if closing fails.
Definition: IoIntfCspReader.h:116
~IoIntfCspReader()
Close an open file, ignoring the close status.
Definition: IoIntfCspReader.h:114
IoIntfCspReader()
Uninitialized storage; initialize before use or destruction.
Definition: IoIntfCspReader.h:55
The IoIntf class specifies an abstract file API, implementations include ZipIo, DiskIo,...
Definition: IoIntf.h:482