1#ifndef __XRDXMLMETALINK_HH__
2#define __XRDXMLMETALINK_HH__
115const 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);
158bool GetFile(
const char *scope);
159bool GetFileInfo(
const char *scope);
162void GetRdrError(
const char *why);
166bool PutFile(
const char *buff,
int blen);
167bool UrlOK(
char *url);