1 #ifndef _XRDPSS_URLINFO_H
2 #define _XRDPSS_URLINFO_H
41 bool addCGI(
const char *prot,
char *buff,
int blen);
43 bool Extend(
const char *cgi,
int cgiln);
45 const char *
getID() {
return theID;}
47 bool hasCGI() {
return CgiSsz || CgiUsz;}
49 void setID(
const char *tid=0);
52 {
if (sP != 0 && !(sP->
Obtain(&idVal)))
return;
54 snprintf(theID,
sizeof(theID),
"p%d@", idVal.
sidS);
57 static void setMapID(
bool onoff) {MapID = onoff;}
61 const char *
Tident() {
return tident;}
64 bool addusrcgi=
true,
bool addident=
true);
bool Obtain(theSid *sidP)
bool Release(theSid *sidP)
The type to pass to Obtain(). Simply cast the char[2] to (theSid *).
void setID(XrdOucSid *sP)
XrdPssUrlInfo(XrdOucEnv *envP, const char *path, const char *xtra="", bool addusrcgi=true, bool addident=true)
static void setMapID(bool onoff)
bool Extend(const char *cgi, int cgiln)
void setID(const char *tid=0)
bool addCGI(const char *prot, char *buff, int blen)