XRootD
Loading...
Searching...
No Matches
XrdOucFIHash Class Reference
Collaboration diagram for XrdOucFIHash:

Public Member Functions

 XrdOucFIHash (const char *hn, const char *hv, XrdOucFIHash *np=0)
 ~XrdOucFIHash ()
const char * XrdhName ()

Public Attributes

char * hName
char * hValue
XrdOucFIHashnext

Detailed Description

Definition at line 39 of file XrdOucFileInfo.cc.

Constructor & Destructor Documentation

◆ XrdOucFIHash()

XrdOucFIHash::XrdOucFIHash ( const char * hn,
const char * hv,
XrdOucFIHash * np = 0 )
inline

Definition at line 48 of file XrdOucFileInfo.cc.

49 : hName(strdup(hn)), hValue(strdup(hv)), next(np) {}
XrdOucFIHash * next

References XrdOucFIHash(), hName, hValue, and next.

Referenced by XrdOucFIHash().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~XrdOucFIHash()

XrdOucFIHash::~XrdOucFIHash ( )
inline

Definition at line 51 of file XrdOucFileInfo.cc.

51 {if (hName) free(hName);
52 if (hValue) free(hValue);
53 }

References hName, and hValue.

Member Function Documentation

◆ XrdhName()

const char * XrdOucFIHash::XrdhName ( )

Definition at line 56 of file XrdOucFileInfo.cc.

57{
58 if (!strcmp(hName, "adler-32") || !strcmp(hName, "adler32")
59 || !strcmp(hName, "adler")) return "a32";
60 return hName;
61}

References hName.

Member Data Documentation

◆ hName

char* XrdOucFIHash::hName

Definition at line 42 of file XrdOucFileInfo.cc.

Referenced by XrdOucFIHash(), ~XrdOucFIHash(), XrdOucFileInfo::GetDigest(), and XrdhName().

◆ hValue

char* XrdOucFIHash::hValue

Definition at line 43 of file XrdOucFileInfo.cc.

Referenced by XrdOucFIHash(), ~XrdOucFIHash(), and XrdOucFileInfo::GetDigest().

◆ next

XrdOucFIHash* XrdOucFIHash::next

The documentation for this class was generated from the following file: