1 #ifndef __lib_base_rawfile_h
2 #define __lib_base_rawfile_h
12 int open(const char *filename);
14 off_t lseek(off_t offset, int whence);
16 ssize_t read(void *buf, size_t count); /* NOTE: you must be able to handle short reads! */
21 std::string m_basename;
22 off_t m_splitsize, m_totallength, m_current_offset, m_base_offset;
26 int switchOffset(off_t off);