XrdSectestServer.cc File Reference

#include <unistd.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <strings.h>
#include <stdio.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/param.h>
#include <sys/socket.h>
#include "XrdOuc/XrdOucErrInfo.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysLogger.hh"
#include "XrdSec/XrdSecInterface.hh"

Go to the source code of this file.

Classes

struct  myOpts

Defines

#define H(x)   fprintf(stderr,x); fprintf(stderr, "\n");
#define I(x)   fprintf(stderr, "\n"); H(x)
#define insx(a, b)   sprintf(errbuff,a,b)
#define insy(a, b, c)   sprintf(errbuff,a,b,c)

Typedefs

typedef unsigned char uchar

Functions

int getbintix (uchar *buff, int blen)
void getargs (int argc, char **argv)
int unhex (uchar *ibuff, uchar *obuff, int blen)
int cvtx (uchar idig, uchar *odig)
void getline (uchar *buff, int blen)
char * Ereason ()
int emsg (int rc, char *msg)
void help (int rc)
void xerr (int x)
int main (int argc, char **argv)

Variables

const char * XrdSectestServerCVSID = "$Id: XrdSectestServer.cc 27487 2009-02-18 13:17:34Z ganis $"
myOpts opts
char errbuff [256]
char hexbuff [256]


Define Documentation

#define H ( x   )     fprintf(stderr,x); fprintf(stderr, "\n");

Definition at line 35 of file XrdSectestServer.cc.

#define I ( x   )     fprintf(stderr, "\n"); H(x)

Definition at line 36 of file XrdSectestServer.cc.

#define insx ( a,
b   )     sprintf(errbuff,a,b)

Definition at line 37 of file XrdSectestServer.cc.

Referenced by getargs(), and getbintix().

#define insy ( a,
b,
c   )     sprintf(errbuff,a,b,c)

Definition at line 38 of file XrdSectestServer.cc.

Referenced by getargs().


Typedef Documentation

typedef unsigned char uchar

Definition at line 40 of file XrdSectestServer.cc.


Function Documentation

int cvtx ( uchar  idig,
uchar odig 
)

Definition at line 271 of file XrdSectestServer.cc.

References x09, and x20.

Referenced by unhex().

int emsg ( int  rc,
char *  msg 
)

Definition at line 299 of file XrdSectestServer.cc.

Referenced by TProof::AssertDataSet(), XrdSecProtocolkrb4::Authenticate(), XrdSecProtocolkrb5::Authenticate(), BroadcastPriority(), XrdProofdClientMgr::CheckAdminPath(), XrdProofdClientMgr::CheckClients(), XrdProofdAdmin::CheckPath(), XrdSecProtocolgsi::CheckRtag(), XrdSecProtocolpwd::CheckRtag(), XrdProofdProofServ::CheckSession(), XrdSecProtocolpwd::CheckTimeStamp(), XrdProofdProofServMgr::CleanupLostProofServ(), XrdProofdProofServMgr::CleanupProofServ(), XrdSecProtocolgsi::ClientDoCert(), XrdSecProtocolgsi::ClientDoInit(), XrdSecProtocolgsi::ClientDoPxyreq(), CountTopMasters(), XrdProofdAdmin::CpFile(), XrdProofdProofServMgr::Create(), CreateActiveList(), XrdProofdClientMgr::CreateAdminPath(), XrdSecProtocolsss::Decode(), XrdCmsAdmin::do_Login(), XrdClientConn::DoLogin(), XrdProofdAdmin::Exec(), XrdProofdAdmin::ExecCmd(), XrdProofdClient::ExportSessions(), GetAFSErrorString(), getargs(), XrdProofdClientMgr::GetClient(), XrdProofdProtocol::GetData(), XrdProofdAdmin::GetFile(), XrdProofdAux::GetIDFromPath(), TProof::GetInputData(), XrdProofdAux::GetNumCPUs(), XrdProofdAux::GetProcesses(), XrdProofdClient::GetServObj(), GlobusIssuerName(), TProofServ::HandleException(), TProofServ::HandleProcess(), TProofServ::HandleSocketInput(), XrdProofdMultiStrToken::Init(), TDataSetManagerFile::Init(), XrdProofdResponse::LinkSend(), XrdProofdNetMgr::LocateLocalFile(), XrdProofdClientMgr::Login(), main(), XrdSecProtocolpwd::ParseClientInput(), XrdProofdClientMgr::ParsePreviousClients(), TProofLite::Process(), XrdProofdAdmin::Process(), TProofPlayerRemote::Process(), XrdProofdManager::Process(), XrdProofdProofServMgr::Process(), XrdProofdAdmin::PutFile(), XrdProofdNetMgr::ReadBuffer(), XrdProofdNetMgr::ReadBufferLocal(), XrdProofdProofServMgr::Recover(), TProof::SaveInputData(), TQueryResultManager::SaveQuery(), XrdProofdResponse::Send(), XrdProofdResponse::SendI(), TProof::SendInputData(), XrdSecProtocolgsi::ServerCertNameOK(), XrdProofdAdmin::SetROOTVersion(), XrdProofdClient::SkipSessionsCheck(), TProof::StartSlaves(), TAFS::TAFS(), XrdProofdAux::VerifyProcessByID(), WriteSessEnvs(), WriteSessRCs(), and xerr().

char * Ereason (  ) 

Definition at line 289 of file XrdSectestServer.cc.

References strerror().

Referenced by getargs(), and getbintix().

void getargs ( int  argc,
char **  argv 
)

Definition at line 195 of file XrdSectestServer.cc.

References myOpts::bin, c, myOpts::cfn, myOpts::debug, emsg(), EOF, Ereason(), fopen, help(), myOpts::host, myOpts::infid, myOpts::inpt, insx, insy, myOpts::online, optarg, optind, opts, xerr(), and myOpts::xtra.

Referenced by main().

int getbintix ( uchar buff,
int  blen 
)

Definition at line 179 of file XrdSectestServer.cc.

References EOF, Ereason(), i, if(), myOpts::infid, insx, j, opts, and xerr().

Referenced by main().

void getline ( uchar buff,
int  blen 
)

Definition at line 281 of file XrdSectestServer.cc.

References i, myOpts::infid, and opts.

Referenced by AddFile(), TSystem::CompileMacro(), TClassDocOutput::CreateDotClassChartIncl(), el_source(), G__G__Base2__0_111(), G__G__Base2__0_112(), history_load(), main(), readline(), TDocOutput::RunDot(), MSIDir::SetupGuids(), TGraph::TGraph(), TGraphErrors::TGraphErrors(), and TMVA::MethodANNBase::WaitForKeyboard().

void help ( int  rc  ) 

Definition at line 168 of file XrdSectestClient.cc.

References H, and I.

int main ( int  argc,
char **  argv 
)

Definition at line 86 of file XrdSectestServer.cc.

References XrdSecProtocol::Authenticate(), myOpts::bin, XrdSecBuffer::buffer, myOpts::cfn, emsg(), XrdSecProtocol::Entity, getargs(), getbintix(), XrdOucErrInfo::getErrInfo(), XrdOucErrInfo::getErrText(), getline(), XrdSecService::getParms(), XrdSecService::getProtocol(), XrdSecEntity::host, myOpts::host, hp, i, myOpts::inpt, Logger, malloc(), XrdSecEntity::name, myOpts::online, opts, XrdSecEntity::prot, XrdSecBuffer::size, strcpy(), unhex(), and XrdSecgetService().

int unhex ( uchar ibuff,
uchar obuff,
int  blen 
)

Definition at line 259 of file XrdSectestServer.cc.

References cvtx(), i, and j.

Referenced by main().

void xerr ( int  x  ) 

Definition at line 295 of file XrdSectestServer.cc.

References emsg(), and errbuff.

Referenced by getargs(), getbintix(), RooMinimizer::lastMinuitFit(), RooFitResult::lastMinuitFit(), and RooXYChi2Var::xErrorContribution().


Variable Documentation

char errbuff[256]

Definition at line 61 of file XrdSectestServer.cc.

Referenced by xerr().

char hexbuff[256]

Definition at line 63 of file XrdSectestServer.cc.

struct myOpts opts

Referenced by _bdf_set_default_spacing(), TMVA::Configurable::AddOptionsXMLTo(), XrdFrmAdmin::AuditNames(), TSocket::Authenticate(), XrdNet::Bind(), ClassImp(), XrdSecProtocolgsi::ClientDoInit(), TNetSystem::Create(), XrdXrootdProtocol::do_Locate(), XrdXrootdProtocol::do_Open(), XrdXrootdProtocol::do_Prepare(), XrdCmsNode::do_Select(), XrdCmsNode::do_SelPrep(), XrdProofdManager::DoDirectiveDataDir(), XrdProofdManager::DoDirectiveDataSetSrc(), TMVA::exampleGA(), TXProofMgr::Exec(), executePrepare(), XrdFrmAdmin::FindFail(), XrdFrmAdmin::FindNolk(), XrdFrmAdmin::FindUnmi(), RooMinuit::fit(), RooMinimizer::fit(), RooRealVar::format(), getargs(), TMVA::ResultsMulticlass::GetBestMultiClassCuts(), getbintix(), getline(), TFile::GetType(), ROOT::Math::GSLMCIntegrator::GSLMCIntegrator(), XrdCmsFinderTRG::Hookup(), XrdCmsClientMan::Hookup(), TXSlave::Init(), TProof::Init(), XrdOssSpace::Init(), TProofLite::InitDataSetManager(), ROOT::Math::IntegratorMultiDimOptions::IntegratorMultiDimOptions(), ROOT::Math::IntegratorOneDimOptions::IntegratorOneDimOptions(), TDSetElement::Lookup(), main(), TPRegexp::Match(), TMVA::MaximizeSignificance(), XrdFrmAdmin::mkLock(), XrdFrmAdmin::mkPin(), TFile::Open(), TProof::Open(), RooAbsPdf::paramOn(), XrdSecProtocolpwd::ParseClientInput(), XrdSecProtocolpwd::ParseCrypto(), TPRegexp::ParseMods(), ROOT::Math::IntegOptionsUtil::PrintDefault(), XrdFrmAdmin::QuerySpace(), RooDataSet::read(), XrdOssSys::Remdir(), TPMERegexp::Reset(), TDataSetManager::ScanDataSet(), TPgSQLServer::SelectDataBase(), TProofServ::SetupCommon(), TPRegexp::Substitute(), testFitters(), tigetstr(), TPMERegexp::TPMERegexp(), TProof::TProof(), XrdSecProtocolgsiInit(), XrdSecProtocolkrb5Init(), XrdSecProtocolpwdInit(), and XrdSutBuffer::XrdSutBuffer().

const char* XrdSectestServerCVSID = "$Id: XrdSectestServer.cc 27487 2009-02-18 13:17:34Z ganis $"

Definition at line 13 of file XrdSectestServer.cc.


Generated on Tue Jul 5 16:08:11 2011 for ROOT_528-00b_version by  doxygen 1.5.1