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