#include <XrdXrootdXPath.hh>
Definition at line 42 of file XrdXrootdXPath.hh.
◆ XrdXrootdXPath()
XrdXrootdXPath::XrdXrootdXPath |
( |
const char * |
pathdata = "" , |
|
|
int |
popt = 0 , |
|
|
int |
flags = XROOTDXP_OK |
|
) |
| |
|
inline |
Definition at line 86 of file XrdXrootdXPath.hh.
88 pathopt = popt | flags;
89 pathlen = strlen(pathdata);
90 path = strdup(pathdata);
Referenced by Insert().
◆ ~XrdXrootdXPath()
XrdXrootdXPath::~XrdXrootdXPath |
( |
| ) |
|
|
inline |
◆ Insert()
void XrdXrootdXPath::Insert |
( |
const char * |
pd, |
|
|
int |
popt = 0 , |
|
|
int |
flags = XROOTDXP_OK |
|
) |
| |
|
inline |
Definition at line 60 of file XrdXrootdXPath.hh.
64 {
while(p && newp->pathlen < p->pathlen)
65 {pp = p; p = p->next;}
67 while(p && newp->pathlen >= p->pathlen)
68 {pp = p; p = p->next;}
71 if (pp) pp->next = newp;
XrdXrootdXPath(const char *pathdata="", int popt=0, int flags=XROOTDXP_OK)
References XrdXrootdXPath(), and XROOTDXP_OK.
Referenced by XrdXrootdProtocol::Configure().
◆ Next()
◆ Opts()
int XrdXrootdXPath::Opts |
( |
| ) |
|
|
inline |
◆ Path() [1/2]
char* XrdXrootdXPath::Path |
( |
| ) |
|
|
inline |
◆ Path() [2/2]
char* XrdXrootdXPath::Path |
( |
int & |
PLen | ) |
|
|
inline |
◆ Set()
void XrdXrootdXPath::Set |
( |
int |
opts, |
|
|
const char * |
pathdata = 0 |
|
) |
| |
|
inline |
Definition at line 51 of file XrdXrootdXPath.hh.
54 {
if (path) free(path);
55 pathlen = strlen(pathdata);
56 path = strdup(pathdata);
References opts.
◆ Validate()
int XrdXrootdXPath::Validate |
( |
const char * |
pd, |
|
|
const int |
pl = 0 |
|
) |
| |
|
inline |
Definition at line 75 of file XrdXrootdXPath.hh.
76 {
int plen = (pl ? pl : strlen(pd));
78 while(p && plen >= p->pathlen)
79 {
if (!strncmp(pd, p->path, p->pathlen))
The documentation for this class was generated from the following file: