1 #ifndef __XRDXMLMETALINK_HH__
2 #define __XRDXMLMETALINK_HH__
115 const char *
GetStatus(
int &ecode) {ecode = eCode;
return eText;}
137 const char *rdprot=
"xroot:",
138 const char *rdhost=0,
141 fileList(0), lastFile(0), currFile(0),
142 prots(protos ? strdup(protos) : 0),
143 encType(encode ? strdup(encode) : 0),
144 rdProt(rdprot), rdHost(rdhost),
145 fileCnt(0), eCode(0),
146 doAll(false), noUrl(true)
147 {*eText = 0; *tmpFn = 0;}
154 if (encType) free(encType);
158 bool GetFile(
const char *scope);
159 bool GetFileInfo(
const char *scope);
162 void GetRdrError(
const char *why);
166 bool PutFile(
const char *buff,
int blen);
167 bool UrlOK(
char *url);