Logo ROOT   6.10/09
Reference Guide
pq2ping.h
Go to the documentation of this file.
1 // @(#)root/proof:$Id$
2 // Author: G. Ganis, Mar 2010
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, 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 PQ2_ping
13 #define PQ2_ping
14 
15 #include "Rtypes.h"
16 
17 //////////////////////////////////////////////////////////////////////////
18 // //
19 // pq2ping //
20 // //
21 // Prototypes for functions used in PQ2 functions to check daemons //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 Int_t checkUrl(const char *url, const char *flog, bool def_proof = 0);
29 
30 #endif
int Int_t
Definition: RtypesCore.h:41
Int_t checkUrl(const char *url, const char *flog, bool def_proof=0)
Check if something is running at gUrl Return 0 if OK and data server 1 if OK and PROOF server -1 if n...
Definition: pq2ping.cxx:62
Int_t pingXrootdAt()
Check if a XrdXrootd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening...
Definition: pq2ping.cxx:125
TString flog
Definition: pq2main.cxx:37
Int_t pingXproofdAt()
Check if a XrdProofd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening...
Definition: pq2ping.cxx:196
Int_t pingServerAt()
Check if service is running at 'url' Return 0 if OK -1 if nothing is listening at the URL 1 if not a ...
Definition: pq2ping.cxx:281