1 #ifndef LSTORE_ADAPTOR_LSTORE_FILE_H
2 #define LSTORE_ADAPTOR_LSTORE_FILE_H
8 namespace edm::storage {
17 virtual void create(
const char *name,
bool exclusive =
false,
int perms = 0666);
18 virtual void create(
const std::string &name,
bool exclusive =
false,
int perms = 0666);
32 void close(
void)
override;
33 virtual void abort(
void);
65 void *(*redd_open)(
const char *, int32_t, int32_t);
72 #endif // LSTORE_ADAPTOR_LSTORE_FILE_H
virtual IOOffset size() const
IOSize write(const void *from, IOSize n) override
void close(void) override
int64_t(* redd_lseek)(void *, int64_t, uint32_t)
int64_t(* redd_read)(void *, char *, int64_t)
MutexWrapper(pthread_mutex_t *lock)
virtual void create(const char *name, bool exclusive=false, int perms=0666)
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
~LStoreFile(void) override
virtual IOOffset position() const
void resize(IOOffset size) override
int32_t(* redd_close)(void *)
int64_t(* redd_write)(void *, const char *, int64_t)
IOSize write(unsigned char byte)
static pthread_mutex_t m_dlopen_lock