1 #ifndef Utilities_XrdAdaptor_XrdFile_h
2 #define Utilities_XrdAdaptor_XrdFile_h
7 # include "XrdClient/XrdClient.hh"
20 virtual void create (
const char *name,
21 bool exclusive =
false,
24 bool exclusive =
false,
26 virtual void open (
const char *name,
49 virtual void close (
void);
50 virtual void abort (
void);
72 #endif // XRD_ADAPTOR_XRD_FILE_H
virtual void resize(IOOffset size)
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
IOSize readv_send(char **result_buffer, readahead_list &read_chunk_list, IOSize n, IOSize total_len)
virtual void create(const char *name, bool exclusive=false, int perms=0666)
std::vector< Variable::Flags > flags
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
virtual IOSize readv(IOBuffer *into, IOSize n)
unsigned int offset(bool)
virtual IOOffset size(void) const
pthread_mutex_t m_readv_mutex
IOSize readv_unpack(char **result_buffer, std::vector< char > &res_buf, IOSize datalen, readahead_list &read_chunk_list, IOSize n)
void addConnection(cms::Exception &)
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOSize write(const void *from, IOSize n)