#include <XrdOucPup.hh>
List of all members.
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 |
Constructor & Destructor Documentation
XrdOucPup::~XrdOucPup |
( |
| ) |
[inline] |
Member Function Documentation
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.
Referenced by Pack(), and Unpack().
int XrdOucPup::Pack |
( |
char ** |
buff, |
|
|
const char * |
data, |
|
|
int |
dlen = -1 |
|
) |
| [static] |
int XrdOucPup::Pack |
( |
struct iovec ** |
iovP, |
|
|
const char * |
data, |
|
|
unsigned short & |
buff |
|
) |
| [static] |
int XrdOucPup::Pack |
( |
struct iovec ** |
iovP, |
|
|
const char * |
data, |
|
|
unsigned short & |
buff, |
|
|
int |
dlen |
|
) |
| [static] |
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::Pack |
( |
char ** |
buff, |
|
|
unsigned int |
data |
|
) |
| [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.
int XrdOucPup::Unpack |
( |
char ** |
buff, |
|
|
const char * |
bend, |
|
|
char ** |
data, |
|
|
int & |
dlen |
|
) |
| [static] |
Member Data Documentation
The documentation for this class was generated from the following files: