1 #ifndef LSTORE_ADAPTOR_LSTORE_FILE_H 2 # define LSTORE_ADAPTOR_LSTORE_FILE_H 17 virtual void create (
const char *name,
18 bool exclusive =
false,
21 bool exclusive =
false,
23 virtual void open (
const char *name,
40 void close (
void)
override;
41 virtual void abort (
void);
73 void * (*redd_open)(
const char *, int32_t, int32_t );
80 #endif // LSTORE_ADAPTOR_LSTORE_FILE_H
int64_t(* redd_lseek)(void *, int64_t, uint32_t)
std::vector< Variable::Flags > flags
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