12 #ifndef ROOT_XProofProtUtils
13 #define ROOT_XProofProtUtils
27 int clientMarshall(XPClientRequest* str);
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);
33 void smartPrintClientHeader(XPClientRequest* hdr);
34 void smartPrintServerHeader(
struct ServerResponseHeader* hdr);