25#ifndef __XRD_CL_FILE_SYSTEM_HH__
26#define __XRD_CL_FILE_SYSTEM_HH__
203 struct FileSystemImpl;
308 const std::
string &dest,
323 const std::
string &dest,
760 const std::vector<
xattr_t> &attrs,
762 time_t timeout = 0 );
775 const std::vector<
xattr_t> &attrs,
777 time_t timeout = 0 );
792 const std::vector<std::
string> &attrs,
794 time_t timeout = 0 );
807 const std::vector<std::
string> &attrs,
808 std::vector<
XAttr> &result,
809 time_t timeout = 0 );
824 const std::vector<std::
string> &attrs,
826 time_t timeout = 0 );
839 const std::vector<std::
string> &attrs,
841 time_t timeout = 0 );
856 time_t timeout = 0 );
868 std::vector<
XAttr> &result,
869 time_t timeout = 0 );
877 bool SetProperty( const std::
string &name, const std::
string &value );
884 bool GetProperty( const std::
string &name, std::
string &value ) const;
909 const std::
string &info,
926 const std::
string &path,
927 const std::vector<T> &attrs,
929 time_t timeout = 0 );
#define XRD_WARN_UNUSED_RESULT
#define XRDOUC_ENUM_OPERATORS(T)
Binary blob representation.
An interface for file plug-ins.
XRootDStatus Ping(ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus Mv(const std::string &source, const std::string &dest, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
bool SetProperty(const std::string &name, const std::string &value)
XRootDStatus DirList(const std::string &path, DirListFlags::Flags flags, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus Locate(const std::string &path, OpenFlags::Flags flags, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus SendCache(const std::string &info, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus Truncate(const std::string &path, uint64_t size, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus RmDir(const std::string &path, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus ListXAttr(const std::string &path, ResponseHandler *handler, time_t timeout=0)
XRootDStatus Stat(const std::string &path, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus Rm(const std::string &path, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus StatVFS(const std::string &path, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
friend class AssignLBHandler
XRootDStatus GetXAttr(const std::string &path, const std::vector< std::string > &attrs, ResponseHandler *handler, time_t timeout=0)
XRootDStatus ChMod(const std::string &path, Access::Mode mode, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
FileSystem(const URL &url, bool enablePlugIns=true)
XRootDStatus Protocol(ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus DelXAttr(const std::string &path, const std::vector< std::string > &attrs, ResponseHandler *handler, time_t timeout=0)
XRootDStatus Prepare(const std::vector< std::string > &fileList, PrepareFlags::Flags flags, uint8_t priority, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus SendInfo(const std::string &info, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus MkDir(const std::string &path, MkDirFlags::Flags flags, Access::Mode mode, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus Query(QueryCode::Code queryCode, const Buffer &arg, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus SetXAttr(const std::string &path, const std::vector< xattr_t > &attrs, ResponseHandler *handler, time_t timeout=0)
bool GetProperty(const std::string &name, std::string &value) const
XRootDStatus DeepLocate(const std::string &path, OpenFlags::Flags flags, ResponseHandler *handler, time_t timeout=0) XRD_WARN_UNUSED_RESULT
std::vector< LocationInfo > LocationList
Location list.
A hub for dispatching and receiving messages.
Handle an async response.
LocateImpl< false > Locate
std::tuple< std::string, std::string > xattr_t
Extended attribute key - value pair.
@ OX
world executable/browsable
@ GX
group executable/browsable
@ UX
owner executable/browsable
@ Zip
List content of ZIP files.
@ Recursive
Do a recursive listing.
@ Cksm
Get checksum for every entry.
@ Chunked
Serve chunked results for better performance.
Implementation holding the data members.
@ MakePath
create the entire directory tree if it doesn't exist
Open flags, may be or'd when appropriate.
Flags
Open flags, may be or'd when appropriate.
@ Read
Open only for reading.
@ Samefs
Open file on the same filesystem as another.
@ Write
Open only for writing.
@ SeqIO
File will be read or written sequentially.
@ Update
Open for reading and writing.
@ Dup
Open file duplicating content from another.
@ Cancel
cancel staging request
@ Colocate
co-locate staged files, if possible
XRootD query request codes.
Code
XRootD query request codes.
@ OpaqueQ
Implementation dependent.
@ OpaqueFile
Implementation dependent.
@ XAttr
Query file extended attributes.
@ Opaque
Implementation dependent.
@ FInfo
Query op-dependant file information on FD.
@ Config
Query server configuration.
@ Stats
Query server stats.
@ ChecksumCancel
Query file checksum cancellation.
@ Checksum
Query file checksum.
@ Space
Query logical space stats.
@ Visa
Query file visa attributes.
@ Prepare
Query prepare status.
@ FSInfo
Query op-dependant file information on FS path.
Procedure execution status.
Extended attribute operation status.
Extended attributes with status.