#include <stdio.h>
#include <stdlib.h>
#include "Bytes.h"
#include "TSocket.h"
#include "TString.h"
#include "TSystem.h"
#include "TUrl.h"
#include "redirguard.h"
#include "pq2ping.h"
Go to the source code of this file.
Classes | |
struct | clnt_HS_t |
struct | srv_HS_t |
Functions | |
Int_t | checkUrl (const char *url, const char *flog, bool def_proof) |
Int_t | pingXrootdAt () |
Int_t | pingXproofdAt () |
Int_t | pingServerAt () |
Variables | |
TUrl | gUrl |
Bool_t | gIsProof = kFALSE |
Int_t | gverbose |
Int_t checkUrl | ( | const char * | url, | |
const char * | flog, | |||
bool | def_proof | |||
) |
Definition at line 56 of file pq2ping.cxx.
References TUrl::GetProtocol(), gIsProof, gUrl, gverbose, kFALSE, kTRUE, pingServerAt(), pingXproofdAt(), pingXrootdAt(), Printf(), TUrl::SetOptions(), and TUrl::SetUrl().
Int_t pingServerAt | ( | ) |
Definition at line 256 of file pq2ping.cxx.
References FileStat_t::fMode, TSystem::GetPathInfo(), TUrl::GetUrl(), gSystem, gUrl, and R_ISDIR().
Int_t pingXproofdAt | ( | ) |
Definition at line 184 of file pq2ping.cxx.
References gDebug, TUrl::GetHost(), TUrl::GetPort(), gUrl, host2net(), int, len, srv_HS_t::msglen, srv_HS_t::msgval, net2host(), XrdMonCtrCollector::port, Printf(), srv_HS_t::protover, s, and type.
Int_t pingXrootdAt | ( | ) |
Definition at line 119 of file pq2ping.cxx.
References gDebug, TUrl::GetHost(), TUrl::GetPort(), gUrl, host2net(), len, net2host(), XrdMonCtrCollector::port, Printf(), s, and type.
Definition at line 50 of file pq2ping.cxx.
Referenced by checkUrl(), DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().
Definition at line 49 of file pq2ping.cxx.
Referenced by checkUrl(), getDSMgr(), getProof(), pingServerAt(), pingXproofdAt(), and pingXrootdAt().
Definition at line 40 of file pq2main.cxx.