#include <XrdCksData.hh>
Definition at line 37 of file XrdCksData.hh.
◆ XrdCksData()
XrdCksData::XrdCksData |
( |
| ) |
|
|
inline |
◆ Get()
int XrdCksData::Get |
( |
char * | Buff, |
|
|
int | Blen ) |
|
inline |
◆ HasValue()
bool XrdCksData::HasValue |
( |
| ) |
|
|
inline |
◆ operator!=()
int XrdCksData::operator!= |
( |
const XrdCksData & | oth | ) |
|
|
inline |
◆ operator==()
int XrdCksData::operator== |
( |
const XrdCksData & | oth | ) |
|
|
inline |
◆ Reset()
void XrdCksData::Reset |
( |
| ) |
|
|
inline |
◆ Set() [1/3]
int XrdCksData::Set |
( |
const char * | csName | ) |
|
|
inline |
◆ Set() [2/3]
int XrdCksData::Set |
( |
const char * | csVal, |
|
|
int | csLen ) |
|
inline |
Definition at line 96 of file XrdCksData.hh.
97 {int n, i = 0, Odd = 0;
98 if (csLen > (
int)
sizeof(
Value)*2 || (csLen & 1))
return 0;
100 while(csLen--)
101 { if (*csVal >= '0' && *csVal <= '9') n = *csVal-48;
102 else if (*csVal >= 'a' && *csVal <= 'f') n = *csVal-87;
103 else if (*csVal >= 'A' && *csVal <= 'F') n = *csVal-55;
104 else return 0;
105 if (Odd)
Value[i++] |= n;
106 else Value[i ] = n << 4;
107 csVal++; Odd = ~Odd;
108 }
109 return 1;
110 }
References Length, and Value.
◆ Set() [3/3]
int XrdCksData::Set |
( |
const void * | csVal, |
|
|
int | csLen ) |
|
inline |
◆ [union]
◆ csTime
◆ Length
Definition at line 52 of file XrdCksData.hh.
Referenced by XrdCksManager::Calc(), Get(), XrdCksManager::Get(), XrdPssCks::Get(), operator!=(), operator==(), Reset(), Set(), Set(), XrdCksManager::Set(), XrdCksManager::Ver(), XrdPssCks::Ver(), and XrdCksAttrValue().
◆ Name
Definition at line 44 of file XrdCksData.hh.
Referenced by XrdCksManager::Calc(), XrdCksManager::Del(), XrdCksManager::Get(), XrdPssCks::Get(), operator!=(), operator==(), Reset(), Set(), XrdCksManager::Set(), XrdCksManager::Ver(), XrdPssCks::Ver(), and XrdCksAttrValue().
◆ NameSize
const int XrdCksData::NameSize = 16 |
|
static |
◆ Rsvd1
◆ Rsvd2
◆ Value
◆ ValuSize
const int XrdCksData::ValuSize = 64 |
|
static |
The documentation for this class was generated from the following file: