|
xrootd
|
#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"
Classes | |
| struct | myOpts |
Macros | |
| #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 | |
| XrdSecService * | XrdSecgetService (XrdSysLogger *lp, const char *cfn) |
| 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 | |
| struct myOpts | opts |
| char | errbuff [256] |
| char | hexbuff [256] |
| #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) |
Referenced by getargs(), and getbintix().
| typedef unsigned char uchar |
| int emsg | ( | int | rc, |
| char * | msg | ||
| ) |
| char * Ereason | ( | ) |
Referenced by getargs(), and getbintix().
| void getargs | ( | int | argc, |
| char ** | argv | ||
| ) |
References myOpts::bin, myOpts::cfn, myOpts::debug, emsg(), 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 | ||
| ) |
| void getline | ( | uchar * | buff, |
| int | blen | ||
| ) |
References myOpts::infid, and opts.
Referenced by main(), and readline().
| void help | ( | int | rc | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
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, myOpts::inpt, XrdCpConfiguration::Logger, XrdSecEntity::name, myOpts::online, opts, XrdSecEntity::prot, XrdSecBuffer::size, unhex(), and XrdSecgetService().
| void xerr | ( | int | x | ) |
References emsg(), and errbuff.
Referenced by getargs(), and getbintix().
| XrdSecService* XrdSecgetService | ( | XrdSysLogger * | lp, |
| const char * | cfn | ||
| ) |
References XrdSecServer::Configure().
Referenced by main().
| char errbuff[256] |
Referenced by xerr().
| char hexbuff[256] |
| struct myOpts opts |
Referenced by XrdFrmAdmin::AuditNames(), XrdNet::Bind(), XrdSecProtocolgsi::ClientDoInit(), XrdCpConfig::Config(), XrdXrootdProtocol::do_Locate(), XrdXrootdProtocol::do_Open(), XrdXrootdProtocol::do_Prepare(), XrdCmsNode::do_Select(), XrdCmsNode::do_SelPrep(), executePrepare(), XrdFrmAdmin::FindFail(), XrdFrmAdmin::FindMmap(), XrdFrmAdmin::FindNocs(), XrdFrmAdmin::FindNolk(), XrdFrmAdmin::FindPins(), XrdFrmAdmin::FindUnmi(), getargs(), getbintix(), getline(), XrdCmsClientMan::Hookup(), XrdCmsFinderTRG::Hookup(), XrdOssSpace::Init(), XrdClientAdmin::LocalLocate(), main(), XrdOssMio::Map(), XrdFrmAdmin::mkLock(), XrdFrmAdmin::mkMark(), XrdFrmAdmin::mkMmap(), XrdFrmAdmin::mkPin(), XrdSecProtocolpwd::ParseClientInput(), XrdSecProtocolpwd::ParseCrypto(), XrdFrmAdmin::QuerySpace(), XrdOssSys::Remdir(), XrdSecProtocolkrb5::setClientOpts(), XrdAccGroups::SetOptions(), XrdSecProtocolsss::setOpts(), XrdSecProtocolkrb5::setOpts(), XrdOucNSWalk::XrdOucNSWalk(), XrdSecProtocolgsi::XrdSecProtocolgsi(), XrdSecProtocolgsiInit(), XrdSecProtocolkrb5Init(), XrdSecProtocolpwd::XrdSecProtocolpwd(), XrdSecProtocolpwdInit(), and XrdSutBuffer::XrdSutBuffer().
1.8.3.1