#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 |
Definition at line 80 of file XrdOucPup.hh.
XrdOucPup::XrdOucPup | ( | XrdSysError * | erp = 0 , |
|
XrdOucPupNames * | nms = 0 | |||
) | [inline] |
XrdOucPup::~XrdOucPup | ( | ) | [inline] |
Definition at line 141 of file XrdOucPup.hh.
Definition at line 36 of file XrdOucPup.cc.
References iovec::iov_base, and iovec::iov_len.
Referenced by XrdSecProtocolsss::Authenticate(), XrdCmsCluster::Broadcast(), XrdCmsNode::do_Space(), XrdSecProtocolsss::Encode(), XrdSecsssID::genID(), XrdCmsParser::Pack(), and XrdCmsNode::Report_Usage().
int XrdOucPup::Pack | ( | char ** | buff, | |
unsigned int | data | |||
) | [static] |
int XrdOucPup::Pack | ( | char ** | buff, | |
const char * | data, | |||
int | dlen = -1 | |||
) | [static] |
Definition at line 80 of file XrdOucPup.cc.
int XrdOucPup::Pack | ( | struct iovec * | , | |
struct iovec * | , | |||
XrdOucPupArgs * | , | |||
char * | Base, | |||
char * | Work | |||
) |
Definition at line 121 of file XrdOucPup.cc.
References Reflex::Dummy::Base(), XrdOucPupArgs::Dlen, XrdOucPupArgs::Doffs, XrdOucPupArgs::Dtype, eMsg(), int, iovec::iov_base, iovec::iov_len, long, 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, PT_Totlen, and short.
int XrdOucPup::Unpack | ( | char ** | buff, | |
const char * | bend, | |||
char ** | data, | |||
int & | dlen | |||
) | [static] |
Definition at line 229 of file XrdOucPup.cc.
Referenced by XrdSecProtocolsss::Authenticate(), XrdSecProtocolsss::getCred(), XrdCmsLogin::Login(), and XrdCmsParser::Parse().
int XrdOucPup::Unpack | ( | const char * | buff, | |
const char * | bend, | |||
XrdOucPupArgs * | pup, | |||
char * | base | |||
) |
Definition at line 253 of file XrdOucPup.cc.
References Reflex::Dummy::Base(), 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, PT_short, and short.
int XrdOucPup::eMsg | ( | const char * | etxt, | |
int | ino, | |||
XrdOucPupArgs * | pup | |||
) | [private] |
Definition at line 329 of file XrdOucPup.cc.
References XrdOucPupArgs::Dtype, eDest, XrdSysError::Emsg(), XrdOucPupArgs::Name, Names, XrdOucPupNames::NList, XrdOucPupNames::NLnum, PT_char, PT_int, PT_longlong, PT_short, PT_special, and sprintf().
const int XrdOucPup::MaxLen = 0x7ff [static] |
XrdSysError* XrdOucPup::eDest [private] |
XrdOucPupNames* XrdOucPup::Names [private] |