#ifndef __FSTORAGE_HPP #define __FSTORAGE_HPP #include "fileheap.hpp" class FileHeapStorage_file : public FileHeapStorage { int fd; public: FileHeapStorage_file(const char *fname, int create, int readonly); ~FileHeapStorage_file(); int Read(void *buf, int buflen); int Write(const void *buf, int buflen); long Tell(); int Seek(long pos, int from); }; #endif