XProofProtUtils.h

Go to the documentation of this file.
00001 // @(#)root/proofd:$Id: XProofProtUtils.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: G. Ganis  June 2005
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_XProofProtUtils
00013 #define ROOT_XProofProtUtils
00014 
00015 //////////////////////////////////////////////////////////////////////////
00016 //                                                                      //
00017 // XProofProtUtils.h                                                    //
00018 //                                                                      //
00019 // Authors: G. Ganis, CERN 2005                                         //
00020 //                                                                      //
00021 // Utility functions prototypes for client-to-server                    //
00022 //                                                                      //
00023 //////////////////////////////////////////////////////////////////////////
00024 
00025 namespace XPD {
00026 
00027    int clientMarshall(XPClientRequest* str);
00028    void clientUnmarshall(struct ServerResponseHeader* str);
00029    void ServerResponseHeader2NetFmt(struct ServerResponseHeader *srh);
00030    void ServerInitHandShake2HostFmt(struct ServerInitHandShake *srh);
00031    char *convertRequestIdToChar(kXR_int16 requestid);
00032    char *convertRespStatusToChar(kXR_int16 status);
00033    void smartPrintClientHeader(XPClientRequest* hdr);
00034    void smartPrintServerHeader(struct ServerResponseHeader* hdr);
00035 
00036 } // namespace XPD
00037 
00038 #endif

Generated on Tue Jul 5 14:51:42 2011 for ROOT_528-00b_version by  doxygen 1.5.1