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,
20 virtual void create (
const std::string &name,
21 bool exclusive =
false,
23 virtual void open (
const char *name,
26 virtual void open (
const std::string &name,
40 virtual void close (
void);
41 virtual void abort (
void);
67 void * (*redd_open)(
const char *, int32_t, int32_t );
71 const std::string & (*redd_strerror)();
74 #endif // LSTORE_ADAPTOR_LSTORE_FILE_H
int64_t(* redd_read)(void *, char *, int64_t)
std::vector< Variable::Flags > flags
virtual void resize(IOOffset size)
MutexWrapper(pthread_mutex_t *lock)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
int64_t(* redd_lseek)(void *, int64_t, uint32_t)
unsigned int offset(bool)
int32_t(* redd_close)(void *)
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
int64_t(* redd_write)(void *, const char *, int64_t)
static std::string from(" from ")
virtual IOOffset size(void) const
virtual IOSize write(const void *from, IOSize n)
static pthread_mutex_t m_dlopen_lock
virtual void create(const char *name, bool exclusive=false, int perms=0666)