1 #ifndef XRD_CLIENT_ADMIN_H
2 #define XRD_CLIENT_ADMIN_H
69 bool writable,
int opts,
bool all =
false);
90 bool Stat(
const char *fname,
102 long long &stagingfree,
106 vecString &entries,
bool askallservers=
false);
118 bool askallservers=
false);
132 long long &largestchunk);
143 bool Mv(
const char *fileSrc,
144 const char *fileDest);
156 bool Rm(
const char *file);
175 bool writable=
false);
181 return Locate( path, hosts, 0 );
189 bool Truncate(
const char *path,
long long newsize);
int kXR_int32
Definition: XPtypes.hh:89
unsigned char kXR_char
Definition: XPtypes.hh:65
XrdClientVector< XrdOucString > vecString
Definition: XrdClientAdmin.hh:44
XrdClientVector< bool > vecBool
Definition: XrdClientAdmin.hh:45
void joinStrings(XrdOucString &buf, vecString &vs, int startidx=0, int endidx=-1)
UnsolRespProcResult
Definition: XrdClientUnsolMsg.hh:43
Definition: XrdClientAbs.hh:49
Definition: XrdClientAdmin.hh:63
bool DirList(const char *dir, XrdClientVector< DirListInfo > &dirlistinfo, bool askallservers=false)
bool Stat(const char *fname, long &id, long long &size, long &flags, long &modtime)
bool CanRedirOnError()
Definition: XrdClientAdmin.hh:72
bool Rmdir(const char *path)
bool Mkdir(const char *dir, int user, int group, int other)
virtual ~XrdClientAdmin()
bool ExistFiles(vecString &, vecBool &)
bool Locate(kXR_char *path, XrdClientLocate_Info &resp, bool writable=false)
bool DirList_low(const char *dir, vecString &entries)
bool Locate(kXR_char *path, XrdClientVector< XrdClientLocate_Info > &hosts)
Definition: XrdClientAdmin.hh:178
long GetChecksum(kXR_char *path, kXR_char **chksum)
bool Protocol(kXR_int32 &proto, kXR_int32 &kind)
void GoBackToRedirector()
bool Truncate(const char *path, long long newsize)
bool GetSpaceInfo(const char *logicalname, long long &totspace, long long &totfree, long long &totused, long long &largestchunk)
bool Locate(kXR_char *path, XrdClientVector< XrdClientLocate_Info > &hosts, int opts)
bool Prepare(vecString vs, kXR_char opts, kXR_char prty)
int LocalLocate(kXR_char *path, XrdClientVector< XrdClientLocate_Info > &res, bool writable, int opts, bool all=false)
UnsolRespProcResult ProcessUnsolicitedMsg(XrdClientUnsolMsgSender *sender, XrdClientMessage *unsolmsg)
bool Mv(const char *fileSrc, const char *fileDest)
bool SysStatX(const char *paths_list, kXR_char *binInfo)
bool IsFileOnline(vecString &, vecBool &)
bool DirList(const char *dir, vecString &entries, bool askallservers=false)
bool OpenFileWhenRedirected(char *, bool &)
bool Prepare(const char *paths, kXR_char opts, kXR_char prty)
bool Stat_vfs(const char *fname, int &rwservers, long long &rwfree, int &rwutil, int &stagingservers, long long &stagingfree, int &stagingutil)
bool Rm(const char *file)
bool ExistDirs(vecString &, vecBool &)
XrdOucString fInitialUrl
Definition: XrdClientAdmin.hh:65
XrdClientAdmin(const char *url)
bool Chmod(const char *file, int user, int group, int other)
Definition: XrdClientMessage.hh:49
Definition: XrdClientUnsolMsg.hh:63
Definition: XrdOucString.hh:254
Definition: XrdClientAdmin.hh:108
XrdOucString host
Definition: XrdClientAdmin.hh:110
XrdOucString fullpath
Definition: XrdClientAdmin.hh:109
long long size
Definition: XrdClientAdmin.hh:111
long flags
Definition: XrdClientAdmin.hh:113
long id
Definition: XrdClientAdmin.hh:112
long modtime
Definition: XrdClientAdmin.hh:114
Definition: XrdClientAdmin.hh:49
bool CanWrite
Definition: XrdClientAdmin.hh:58
enum XrdClientLocate_Info::@62 Infotype
@ kXrdcLocManager
Definition: XrdClientAdmin.hh:54
@ kXrdcLocManagerPending
Definition: XrdClientAdmin.hh:55
@ kXrdcLocNone
Definition: XrdClientAdmin.hh:51
@ kXrdcLocDataServerPending
Definition: XrdClientAdmin.hh:53
@ kXrdcLocDataServer
Definition: XrdClientAdmin.hh:52
kXR_char Location[256]
Definition: XrdClientAdmin.hh:60