Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
XProofProtUtils.h
Go to the documentation of this file.
1// @(#)root/proofd:$Id$
2// Author: G. Ganis June 2005
3
4/*************************************************************************
5 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_XProofProtUtils
13#define ROOT_XProofProtUtils
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// XProofProtUtils.h //
18// //
19// Authors: G. Ganis, CERN 2005 //
20// //
21// Utility functions prototypes for client-to-server //
22// //
23//////////////////////////////////////////////////////////////////////////
24
25namespace XPD {
26
28 void clientUnmarshall(struct ServerResponseHeader* str);
29 void ServerResponseHeader2NetFmt(struct ServerResponseHeader *srh);
30 void ServerInitHandShake2HostFmt(struct ServerInitHandShake *srh);
31 char *convertRequestIdToChar(kXR_int16 requestid);
32 char *convertRespStatusToChar(kXR_int16 status);
34 void smartPrintServerHeader(struct ServerResponseHeader* hdr);
35
36} // namespace XPD
37
38#endif
void smartPrintClientHeader(XPClientRequest *hdr)
char * convertRespStatusToChar(kXR_int16 status)
void ServerResponseHeader2NetFmt(struct ServerResponseHeader *srh)
void ServerInitHandShake2HostFmt(struct ServerInitHandShake *srh)
void clientUnmarshall(struct ServerResponseHeader *str)
char * convertRequestIdToChar(kXR_int16 requestid)
This procedure convert the request code id (an integer defined in XProtocol.hh) in the ascii label (h...
void smartPrintServerHeader(struct ServerResponseHeader *hdr)
int clientMarshall(XPClientRequest *str)
This function applies the network byte order on those parts of the 16-bytes buffer,...