|
xrootd
|
#include <XrdCpConfig.hh>

Classes | |
| struct | defVar |
Public Member Functions | |
| void | Config (int argc, char **argv, int Opts=0) |
| int | Want (uint64_t What) |
| XrdCpConfig (const char *pgname) | |
| ~XrdCpConfig () | |
Public Attributes | |
| defVar * | intDefs |
| defVar * | strDefs |
| const char * | dstOpq |
| const char * | srcOpq |
| const char * | Pgm |
| long long | xRate |
| long long | xRateThreshold |
| int | Parallel |
| char * | pHost |
| int | pPort |
| long long | OpSpec |
| int | Dlvl |
| int | nSrcs |
| int | nStrm |
| int | Retry |
| std::string | RetryPolicy |
| int | Verbose |
| int | CksLen |
| int | numFiles |
| long long | totBytes |
| XrdCksData | CksData |
| XrdCks * | CksMan |
| XrdCksCalc * | CksObj |
| const char * | CksVal |
| XrdCpFile * | srcFile |
| XrdCpFile * | dstFile |
| char * | zipFile |
| std::vector< std::string > | AddCksVal |
Static Public Attributes | |
| static XrdSysError * | Log |
| static const uint64_t | OpCksum = 'C' |
| static const uint64_t | DoCksrc = 0x0000000000000001LL |
| static const uint64_t | DoCksum = 0x0000000000000002LL |
| static const uint64_t | DoCkprt = 0x0000000000000004LL |
| static const uint64_t | OpCoerce = 'F' |
| static const uint64_t | DoCoerce = 0x0000000000000008LL |
| static const uint64_t | OpDebug = 'd' |
| static const uint64_t | DoDebug = 0x0000000000000010LL |
| static const uint64_t | OpForce = 'f' |
| static const uint64_t | DoForce = 0x0000000000000020LL |
| static const uint64_t | OpHelp = 'h' |
| static const uint64_t | DoHelp = 0x0000000000000040LL |
| static const uint64_t | OpIfile = 'I' |
| static const uint64_t | DoIfile = 0x0000000000000080LL |
| static const uint64_t | OpLicense = 'H' |
| static const uint64_t | OpNoPbar = 'N' |
| static const uint64_t | DoNoPbar = 0x0000000000000100LL |
| static const uint64_t | OpPosc = 'P' |
| static const uint64_t | DoPosc = 0x0000000000000200LL |
| static const uint64_t | OpProxy = 'D' |
| static const uint64_t | DoProxy = 0x0000000000000400LL |
| static const uint64_t | OpRecurse = 'r' |
| static const uint64_t | OpRecursv = 'R' |
| static const uint64_t | DoRecurse = 0x0000000000000800LL |
| static const uint64_t | OpRetry = 't' |
| static const uint64_t | DoRetry = 0x0000000000001000LL |
| static const uint64_t | OpServer = 0x03 |
| static const uint64_t | DoServer = 0x0000000000002000LL |
| static const uint64_t | OpSilent = 's' |
| static const uint64_t | DoSilent = 0x0000000000004000LL |
| static const uint64_t | OpSources = 'y' |
| static const uint64_t | DoSources = 0x0000000000008000LL |
| static const uint64_t | OpStreams = 'S' |
| static const uint64_t | DoStreams = 0x0000000000010000LL |
| static const uint64_t | OpTpc = 'T' |
| static const uint64_t | DoTpc = 0x0000000000020000LL |
| static const uint64_t | DoTpcOnly = 0x0000000000100000LL |
| static const uint64_t | DoTpcDlgt = 0x0000000000800000LL |
| static const uint64_t | OpVerbose = 'v' |
| static const uint64_t | DoVerbose = 0x0000000000040000LL |
| static const uint64_t | OpVersion = 'V' |
| static const uint64_t | OpXrate = 'X' |
| static const uint64_t | DoXrate = 0x0000000000080000LL |
| static const uint64_t | OpParallel = 0x04 |
| static const uint64_t | DoParallel = 0x0000000000200000LL |
| static const uint64_t | OpDynaSrc = 'Z' |
| static const uint64_t | DoDynaSrc = 0x0000000000400000LL |
| static const uint64_t | OpZip = 'z' |
| static const uint64_t | DoZip = 0x0000000001000000LL |
| static const uint64_t | OpTlsNoData = 'E' |
| static const uint64_t | DoTlsNoData = 0x0000000002000000LL |
| static const uint64_t | OpNoTlsOK = 0x05 |
| static const uint64_t | DoNoTlsOK = 0x0000000004000000LL |
| static const uint64_t | OpTlsMLF = 0x06 |
| static const uint64_t | DoTlsMLF = 0x0000000008000000LL |
| static const uint64_t | OpPath = 'p' |
| static const uint64_t | DoPath = 0x0000000010000000LL |
| static const uint64_t | OpXAttr = 0x07 |
| static const uint64_t | DoXAttr = 0x0000000020000000LL |
| static const uint64_t | OpZipMtlnCksum = 0x08 |
| static const uint64_t | DoZipMtlnCksum = 0x0000000040000000LL |
| static const uint64_t | OpRmOnBadCksum = 0x09 |
| static const uint64_t | DoRmOnBadCksum = 0x0000000080000000LL |
| static const uint64_t | OpContinue = 0x10 |
| static const uint64_t | DoContinue = 0x0000000100000000LL |
| static const uint64_t | OpXrateThreshold = 0x11 |
| static const uint64_t | DoXrateThreshold = 0x0000000200000000LL |
| static const uint64_t | OpRetryPolicy = 0x12 |
| static const uint64_t | DoRetryPolicy = 0x0000000400000000LL |
| static const uint64_t | OpZipAppend = 0x13 |
| static const uint64_t | DoZipAppend = 0x0000000800000000LL |
| static const int | OpAllowHttp = 'A' |
| static const int | DoAllowHttp = 0x2000000 |
| static const int | opt1Src = 0x00000001 |
| static const int | optNoXtnd = 0x00000002 |
| static const int | optRmtRec = 0x00000004 |
| static const int | optNoStdIn = 0x00000008 |
| static const int | optNoLclCp = 0x00000010 |
Private Member Functions | |
| int | a2i (const char *item, int *val, int minv, int maxv=-1) |
| int | a2l (const char *item, long long *val, long long minv, long long maxv=-1) |
| int | a2t (const char *item, int *val, int minv, int maxv=-1) |
| int | a2x (const char *Val, char *Buff, int Vlen) |
| int | a2z (const char *item, long long *val, long long minv, long long maxv=-1) |
| int | defCks (const char *opval) |
| int | defOpq (const char *theOp) |
| int | defOpt (const char *theOp, const char *theArg) |
| void | defPxy (const char *opval) |
| const char * | Human (long long Val, char *Buff, int Blen) |
| int | Legacy (int oIndex) |
| int | Legacy (const char *theOp, const char *theArg) |
| void | License () |
| const char * | OpName () |
| void | ProcFile (const char *fname) |
| void | Usage (int rc=0) |
Static Private Member Functions | |
| static void | toLower (char cstr[]) |
Private Attributes | |
| const char * | PName |
| int | Opts |
| int | Argc |
| char ** | Argv |
| defVar * | intDend |
| defVar * | strDend |
| XrdCpFile * | pFile |
| XrdCpFile * | pLast |
| XrdCpFile * | pPrev |
| char * | inFile |
| char ** | parmVal |
| int | parmCnt |
| int | isLcl |
Static Private Attributes | |
| static const char * | opLetters |
| static struct option | opVec [] |
| static const int | dfltSrcs = 12 |
| XrdCpConfig::XrdCpConfig | ( | const char * | pgname | ) |
| XrdCpConfig::~XrdCpConfig | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
| void XrdCpConfig::Config | ( | int | argc, |
| char ** | argv, | ||
| int | Opts = 0 |
||
| ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlinestaticprivate |
|
private |
|
inline |
References OpSpec.
| std::vector<std::string> XrdCpConfig::AddCksVal |
|
private |
|
private |
| XrdCksData XrdCpConfig::CksData |
| int XrdCpConfig::CksLen |
| XrdCks* XrdCpConfig::CksMan |
| XrdCksCalc* XrdCpConfig::CksObj |
| const char* XrdCpConfig::CksVal |
|
staticprivate |
| int XrdCpConfig::Dlvl |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| XrdCpFile* XrdCpConfig::dstFile |
| const char* XrdCpConfig::dstOpq |
|
private |
| defVar* XrdCpConfig::intDefs |
|
private |
|
private |
|
static |
| int XrdCpConfig::nSrcs |
| int XrdCpConfig::nStrm |
| int XrdCpConfig::numFiles |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| long long XrdCpConfig::OpSpec |
Referenced by Want().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int XrdCpConfig::Parallel |
|
private |
|
private |
|
private |
| const char* XrdCpConfig::Pgm |
| char* XrdCpConfig::pHost |
|
private |
|
private |
| int XrdCpConfig::pPort |
|
private |
| int XrdCpConfig::Retry |
| std::string XrdCpConfig::RetryPolicy |
| XrdCpFile* XrdCpConfig::srcFile |
| const char* XrdCpConfig::srcOpq |
| defVar* XrdCpConfig::strDefs |
|
private |
| long long XrdCpConfig::totBytes |
| int XrdCpConfig::Verbose |
| long long XrdCpConfig::xRate |
| long long XrdCpConfig::xRateThreshold |
| char* XrdCpConfig::zipFile |
1.8.5