Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
XProofProtUtils.cxx File Reference
#include <sys/types.h>
#include <netinet/in.h>
#include "XrdSys/XrdSysPlatform.hh"
#include "XProofProtocol.h"
#include "XProofProtUtils.h"
#include "Bytes.h"
#include <cstdio>
Include dependency graph for XProofProtUtils.cxx:

Namespaces

namespace  XPD
 

Functions

int XPD::clientMarshall (XPClientRequest *str)
 This function applies the network byte order on those parts of the 16-bytes buffer, only if it is composed by some binary part Return 0 if OK, -1 in case the ID is unknown.
 
void XPD::clientUnmarshall (struct ServerResponseHeader *str)
 
char * XPD::convertRequestIdToChar (kXR_int16 requestid)
 This procedure convert the request code id (an integer defined in XProtocol.hh) in the ascii label (human readable)
 
char * XPD::convertRespStatusToChar (kXR_int16 status)
 
void XPD::ServerInitHandShake2HostFmt (struct ServerInitHandShake *srh)
 
void XPD::ServerResponseHeader2NetFmt (struct ServerResponseHeader *srh)
 
void XPD::smartPrintClientHeader (XPClientRequest *hdr)
 
void XPD::smartPrintServerHeader (struct ServerResponseHeader *hdr)