1 #ifndef LSTORE_ADAPTOR_LSTORE_FILE_H 2 #define LSTORE_ADAPTOR_LSTORE_FILE_H 16 virtual void create(
const char *name,
bool exclusive =
false,
int perms = 0666);
31 void close(
void)
override;
32 virtual void abort(
void);
64 void *(*redd_open)(
const char *, int32_t, int32_t);
71 #endif // LSTORE_ADAPTOR_LSTORE_FILE_H
int64_t(* redd_lseek)(void *, int64_t, uint32_t)
void close(void) override
int64_t(* redd_write)(void *, const char *, int64_t)
MutexWrapper(pthread_mutex_t *lock)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
void resize(IOOffset size) override
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOOffset size(void) const
int32_t(* redd_close)(void *)
int64_t(* redd_read)(void *, char *, int64_t)
static pthread_mutex_t m_dlopen_lock
virtual void create(const char *name, bool exclusive=false, int perms=0666)
IOSize write(const void *from, IOSize n) override
~LStoreFile(void) override