|
xrootd
|
#include <XrdOucPup.hh>

Public Member Functions | |
| int | Pack (struct iovec *, struct iovec *, XrdOucPupArgs *, char *Base, char *Work) |
| int | Unpack (const char *buff, const char *bend, XrdOucPupArgs *pup, char *base) |
| XrdOucPup (XrdSysError *erp=0, XrdOucPupNames *nms=0) | |
| ~XrdOucPup () | |
Static Public Member Functions | |
| static int | Pack (struct iovec **, const char *, unsigned short &buff) |
| static int | Pack (struct iovec **, const char *, unsigned short &, int dlen) |
| static int | Pack (char **buff, unsigned int data) |
| static int | Pack (char **buff, const char *data, int dlen=-1) |
| static int | Unpack (char **buff, const char *bend, char **data, int &dlen) |
Static Public Attributes | |
| static const int | MaxLen = 0x7ff |
Private Member Functions | |
| int | eMsg (const char *etxt, int ino, XrdOucPupArgs *pup) |
Private Attributes | |
| XrdSysError * | eDest |
| XrdOucPupNames * | Names |
| XrdOucPup::XrdOucPup | ( | XrdSysError * | erp = 0, |
| XrdOucPupNames * | nms = 0 |
||
| ) | [inline] |
| XrdOucPup::~XrdOucPup | ( | ) | [inline] |
| int XrdOucPup::eMsg | ( | const char * | etxt, |
| int | ino, | ||
| XrdOucPupArgs * | pup | ||
| ) | [private] |
References XrdOucPupArgs::Dtype, eDest, XrdSysError::Emsg(), XrdOucPupArgs::Name, Names, XrdOucPupNames::NList, XrdOucPupNames::NLnum, PT_char, PT_int, PT_longlong, PT_short, and PT_special.
| int XrdOucPup::Pack | ( | struct iovec ** | iovP, |
| const char * | data, | ||
| unsigned short & | buff | ||
| ) | [static] |
References iovec::iov_base, and iovec::iov_len.
Referenced by XrdSecProtocolsss::Authenticate(), XrdCmsCluster::Broadcast(), XrdCmsNode::do_Space(), XrdSecProtocolsss::Encode(), XrdSecsssID::genID(), and XrdCmsNode::Report_Usage().
| int XrdOucPup::Pack | ( | struct iovec ** | iovP, |
| const char * | data, | ||
| unsigned short & | buff, | ||
| int | dlen | ||
| ) | [static] |
References iovec::iov_base, and iovec::iov_len.
| int XrdOucPup::Pack | ( | char ** | buff, |
| unsigned int | data | ||
| ) | [static] |
| int XrdOucPup::Pack | ( | char ** | buff, |
| const char * | data, | ||
| int | dlen = -1 |
||
| ) | [static] |
| int XrdOucPup::Pack | ( | struct iovec * | iovP, |
| struct iovec * | iovE, | ||
| XrdOucPupArgs * | pup, | ||
| char * | Base, | ||
| char * | Work | ||
| ) |
References XrdOucPupArgs::Dlen, XrdOucPupArgs::Doffs, XrdOucPupArgs::Dtype, eMsg(), iovec::iov_base, iovec::iov_len, MaxLen, PT_char, PT_Datlen, PT_End, PT_EndFill, PT_Fence, PT_Ignore, PT_int, PT_longlong, PT_MandS, PT_Mark, PT_short, PT_Skip, PT_special, and PT_Totlen.
| int XrdOucPup::Unpack | ( | char ** | buff, |
| const char * | bend, | ||
| char ** | data, | ||
| int & | dlen | ||
| ) | [static] |
| int XrdOucPup::Unpack | ( | const char * | buff, |
| const char * | bend, | ||
| XrdOucPupArgs * | pup, | ||
| char * | base | ||
| ) |
References XrdOucPupArgs::Doffs, XrdOucPupArgs::Dtype, eMsg(), ntohll, PT_char, PT_Datlen, PT_End, PT_EndFill, PT_Fence, PT_Inline, PT_int, PT_longlong, PT_MaskB, PT_MaskD, PT_MaskT, and PT_short.
XrdSysError* XrdOucPup::eDest [private] |
Referenced by eMsg(), and XrdOucPup().
const int XrdOucPup::MaxLen = 0x7ff [static] |
Referenced by Pack().
XrdOucPupNames* XrdOucPup::Names [private] |
Referenced by eMsg(), and XrdOucPup().
1.8.0