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 virtual void close (
void);
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
virtual void resize(IOOffset size)
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
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOOffset size(void) const
virtual IOSize write(const void *from, IOSize n)
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)