xrootd
XrdCpConfig.hh
Go to the documentation of this file.
1 #ifndef __XRDCPCONFIG_HH__
2 #define __XRDCPCONFIG_HH__
3 /******************************************************************************/
4 /* */
5 /* X r d C p C o n f i g . h h */
6 /* */
7 /* (c) 2012 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC02-76-SFO0515 with the Department of Energy */
11 /* */
12 /* This file is part of the XRootD software suite. */
13 /* */
14 /* XRootD is free software: you can redistribute it and/or modify it under */
15 /* the terms of the GNU Lesser General Public License as published by the */
16 /* Free Software Foundation, either version 3 of the License, or (at your */
17 /* option) any later version. */
18 /* */
19 /* XRootD is distributed in the hope that it will be useful, but WITHOUT */
20 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
21 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
22 /* License for more details. */
23 /* */
24 /* You should have received a copy of the GNU Lesser General Public License */
25 /* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
26 /* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
27 /* */
28 /* The copyright holder's institutional names and contributor's names may not */
29 /* be used to endorse or promote products derived from this software without */
30 /* specific prior written permission of the institution or contributor. */
31 /******************************************************************************/
32 
33 #include "XrdCks/XrdCksData.hh"
34 
35 #include <ctype.h>
36 #include <stdint.h>
37 
38 struct option;
39 class XrdCks;
40 class XrdCksCalc;
41 class XrdCpFile;
42 class XrdSysError;
43 
45 {
46 public:
47 
48 struct defVar
49  { defVar *Next; // -> Next such definition, 0 if no more
50  const char *vName; // -> Variable name
51  union {const char *strVal; // -> String value if in strDefs
52  int intVal; // Integer value if in intDefs
53  };
54  defVar(const char *vn, const char *vl)
55  : Next(0), vName(vn), strVal(vl) {}
56  defVar(const char *vn, int vl)
57  : Next(0), vName(vn), intVal(vl) {}
58  };
59 
60  defVar *intDefs; // -> -DI settings
61  defVar *strDefs; // -> -DS settings
62  const char *dstOpq; // -> -OD setting (dest opaque)
63  const char *srcOpq; // -> -OS setting (src opaque)
64  const char *Pgm; // -> Program name
65  long long xRate; // -xrate value in bytes/sec (0 if not set)
66  int Parallel; // Number of simultaneous copy ops (1 to 4)
67  char *pHost; // -> SOCKS4 proxy hname (0 if none)
68  int pPort; // SOCKS4 proxy port
69  long long OpSpec; // Bit mask of set options (see Doxxxx)
70  int Dlvl; // Debug level (0 to 3)
71  int nSrcs; // Number of sources wanted (dflt 1)
72  int nStrm; // Number of streams wanted (dflt 1)
73  int Retry; // Max times to retry connects (<0->use dflt)
74  int Verbose; // True if --verbose specified
75  int CksLen; // Binary length of checksum, if any
76 
77  int numFiles; // Number of source files
78  long long totBytes; // Total number of bytes for local files
79 
80 XrdCksData CksData; // Checksum information
81 XrdCks *CksMan; // -> Checksum manager
82 XrdCksCalc *CksObj; // -> Cks computation object (0 if no cks)
83 const char *CksVal; // -> Cks argument (0 if none)
84 
85 XrdCpFile *srcFile; // List of source files
86 XrdCpFile *dstFile; // The destination for the copy
87 
88 char *zipFile; // The file name if the URL points to a ZIP archive
89 
90 static XrdSysError *Log; // -> Error message object
91 
92 static const uint64_t OpCksum = 'C'; // -adler -MD5 legacy -> DoCksrc
93 static const uint64_t DoCksrc = 0x0000000000000001LL; // --cksum <type>:source
94 static const uint64_t DoCksum = 0x0000000000000002LL; // --cksum <type>
95 static const uint64_t DoCkprt = 0x0000000000000004LL; // --cksum <type>:print
96 
97 static const uint64_t OpCoerce = 'F';
98 static const uint64_t DoCoerce = 0x0000000000000008LL; // -F | --coerce
99 
100 static const uint64_t OpDebug = 'd';
101 static const uint64_t DoDebug = 0x0000000000000010LL; // -d | --debug <val>
102 
103 static const uint64_t OpForce = 'f';
104 static const uint64_t DoForce = 0x0000000000000020LL; // -f | --force
105 
106 static const uint64_t OpHelp = 'h';
107 static const uint64_t DoHelp = 0x0000000000000040LL; // -h | --help
108 
109 static const uint64_t OpIfile = 'I';
110 static const uint64_t DoIfile = 0x0000000000000080LL; // -I | --infiles
111 
112 static const uint64_t OpLicense = 'H'; // -H | --license
113 
114 static const uint64_t OpNoPbar = 'N'; // -N | --nopbar | -np {legacy}
115 static const uint64_t DoNoPbar = 0x0000000000000100LL;
116 
117 static const uint64_t OpPosc = 'P';
118 static const uint64_t DoPosc = 0x0000000000000200LL; // -P | --posc
119 
120 static const uint64_t OpProxy = 'D';
121 static const uint64_t DoProxy = 0x0000000000000400LL; // -D | --proxy
122 
123 static const uint64_t OpRecurse = 'r';
124 static const uint64_t OpRecursv = 'R'; // -r | --recursive | -R {legacy}
125 static const uint64_t DoRecurse = 0x0000000000000800LL;
126 
127 static const uint64_t OpRetry = 't';
128 static const uint64_t DoRetry = 0x0000000000001000LL; // -t | --retry
129 
130 static const uint64_t OpServer = 0x03;
131 static const uint64_t DoServer = 0x0000000000002000LL; // --server
132 
133 static const uint64_t OpSilent = 's';
134 static const uint64_t DoSilent = 0x0000000000004000LL; // -s | --silent
135 
136 static const uint64_t OpSources = 'y';
137 static const uint64_t DoSources = 0x0000000000008000LL; // -y | --sources
138 
139 static const uint64_t OpStreams = 'S';
140 static const uint64_t DoStreams = 0x0000000000010000LL; // -S | --streams
141 
142 static const uint64_t OpTpc = 'T'; // -T | --tpc [delegate] {first | only}
143 static const uint64_t DoTpc = 0x0000000000020000LL; // --tpc {first | only}
144 static const uint64_t DoTpcOnly = 0x0000000000100000LL; // --tpc only
145 static const uint64_t DoTpcDlgt = 0x0000000000800000LL; // --tpc delegate ...
146 
147 static const uint64_t OpVerbose = 'v';
148 static const uint64_t DoVerbose = 0x0000000000040000LL; // -v | --verbose
149 
150 static const uint64_t OpVersion = 'V'; // -V | --version
151 
152 static const uint64_t OpXrate = 'X';
153 static const uint64_t DoXrate = 0x0000000000080000LL; // -X | --xrate
154 
155 static const uint64_t OpParallel = 0x04;
156 static const uint64_t DoParallel = 0x0000000000200000LL; // --parallel
157 
158 static const uint64_t OpDynaSrc = 'Z';
159 static const uint64_t DoDynaSrc = 0x0000000000400000LL; // --dynamic-src
160 
161 // const uint64_t DoTpcDlgt = 0x0000000000800000LL; // Marker for bit used
162 
163 static const uint64_t OpZip = 'z';
164 static const uint64_t DoZip = 0x0000000001000000LL; // -z | --zip
165 
166 static const uint64_t OpTlsNoData = 'E';
167 static const uint64_t DoTlsNoData = 0x0000000002000000LL; // -E | --tlsnodata
168 
169 static const uint64_t OpNoTlsOK = 0x05;
170 static const uint64_t DoNoTlsOK = 0x0000000004000000LL; // --notlsok
171 
172 static const uint64_t OpTlsMLF = 0x06;
173 static const uint64_t DoTlsMLF = 0x0000000008000000LL; // --tlsmetalink
174 
175 static const uint64_t OpPath = 'p';
176 static const uint64_t DoPath = 0x0000000010000000LL; // -p | --path
177 
178 static const uint64_t OpXAttr = 0x07;
179 static const uint64_t DoXAttr = 0x0000000020000000LL; // --xattr
180 
181 static const uint64_t OpZipMtlnCksum = 0x08;
182 static const uint64_t DoZipMtlnCksum = 0x0000000040000000LL; // --zip-mtln-cksum
183 
184 static const uint64_t OpRmOnBadCksum = 0x09;
185 static const uint64_t DoRmOnBadCksum = 0x0000000080000000LL; // --rm-bad-cksum
186 
187 static const uint64_t OpContinue = 0x10;
188 static const uint64_t DoContinue = 0x0000000100000000LL; // --continue
189 
190 // Flag to allow the use of HTTP (and HTTPS) as source and destination
191 // protocols. If specified, the XrdClHttp client plugin must be available
192 // for the transfer operations to succeed.
193 static const int OpAllowHttp = 'A';
194 static const int DoAllowHttp = 0x2000000; // --allow-http
195 
196 // Call Config with the parameters passed to main() to fill out this object. If
197 // the method returns then no errors have been found. Otherwise, it exits.
198 // The following options may be passed (largely to support legacy stuff):
199 //
200 static const int opt1Src = 0x00000001; // Only one source is allowed
201 static const int optNoXtnd = 0x00000002; // Do not index source directories
202 static const int optRmtRec = 0x00000004; // Allow remote recursive copy
203 static const int optNoStdIn = 0x00000008; // Disallow '-' as src for stdin
204 static const int optNoLclCp = 0x00000010; // Disallow local/local copy
205 
206  void Config(int argc, char **argv, int Opts=0);
207 
208 // Method to check for setting
209 //
210 inline int Want(uint64_t What) {return (OpSpec & What) != 0;}
211 
212  XrdCpConfig(const char *pgname);
214 
215 private:
216  int a2i(const char *item, int *val, int minv, int maxv=-1);
217  int a2l(const char *item, long long *val,
218  long long minv, long long maxv=-1);
219  int a2t(const char *item, int *val, int minv, int maxv=-1);
220  int a2x(const char *Val, char *Buff, int Vlen);
221  int a2z(const char *item, long long *val,
222  long long minv, long long maxv=-1);
223  int defCks(const char *opval);
224  int defOpq(const char *theOp);
225  int defOpt(const char *theOp, const char *theArg);
226  void defPxy(const char *opval);
227  const char *Human(long long Val, char *Buff, int Blen);
228  int Legacy(int oIndex);
229  int Legacy(const char *theOp, const char *theArg);
230  void License();
231  const char *OpName();
232  void ProcFile(const char *fname);
233  void Usage(int rc=0);
234 
235  static void toLower( char cstr[] )
236  {
237  for( int i = 0; cstr[i]; ++i )
238  cstr[i] = tolower( cstr[i] );
239  }
240 
241 
242  const char *PName;
243  int Opts;
244  int Argc;
245  char **Argv;
248 
249 static const char *opLetters;
250 static struct option opVec[];
251 
252 static const int dfltSrcs = 12;
253 
257  char *inFile;
258  char **parmVal;
259  int parmCnt;
260  int isLcl;
261 };
262 #endif
XrdCpConfig::DoStreams
static const uint64_t DoStreams
Definition: XrdCpConfig.hh:140
XrdCpConfig::OpSources
static const uint64_t OpSources
Definition: XrdCpConfig.hh:136
XrdCpConfig::nSrcs
int nSrcs
Definition: XrdCpConfig.hh:71
XrdCpConfig::parmVal
char ** parmVal
Definition: XrdCpConfig.hh:258
XrdCksData.hh
XrdCpConfig::a2l
int a2l(const char *item, long long *val, long long minv, long long maxv=-1)
XrdCpConfig::DoXrate
static const uint64_t DoXrate
Definition: XrdCpConfig.hh:153
XrdCpConfig::OpSpec
long long OpSpec
Definition: XrdCpConfig.hh:69
XrdCpConfig::Legacy
int Legacy(int oIndex)
XrdCpConfig::OpRetry
static const uint64_t OpRetry
Definition: XrdCpConfig.hh:127
XrdCpConfig::DoPath
static const uint64_t DoPath
Definition: XrdCpConfig.hh:176
XrdCpConfig::OpParallel
static const uint64_t OpParallel
Definition: XrdCpConfig.hh:155
XrdCpConfig::DoForce
static const uint64_t DoForce
Definition: XrdCpConfig.hh:104
XrdCpConfig::OpIfile
static const uint64_t OpIfile
Definition: XrdCpConfig.hh:109
XrdCpConfig::Log
static XrdSysError * Log
Definition: XrdCpConfig.hh:90
XrdCpConfig::optNoStdIn
static const int optNoStdIn
Definition: XrdCpConfig.hh:203
XrdCpConfig::OpPosc
static const uint64_t OpPosc
Definition: XrdCpConfig.hh:117
XrdCpConfig::OpAllowHttp
static const int OpAllowHttp
Definition: XrdCpConfig.hh:193
XrdCpConfig::defVar::defVar
defVar(const char *vn, const char *vl)
Definition: XrdCpConfig.hh:54
XrdCpConfig::OpZipMtlnCksum
static const uint64_t OpZipMtlnCksum
Definition: XrdCpConfig.hh:181
XrdCpConfig::DoDynaSrc
static const uint64_t DoDynaSrc
Definition: XrdCpConfig.hh:159
XrdCpConfig::Legacy
int Legacy(const char *theOp, const char *theArg)
XrdCpConfig::toLower
static void toLower(char cstr[])
Definition: XrdCpConfig.hh:235
XrdCpConfig::defOpq
int defOpq(const char *theOp)
XrdCpConfig::PName
const char * PName
Definition: XrdCpConfig.hh:242
XrdCpConfig::~XrdCpConfig
~XrdCpConfig()
XrdCpConfig::inFile
char * inFile
Definition: XrdCpConfig.hh:257
XrdCpConfig::intDefs
defVar * intDefs
Definition: XrdCpConfig.hh:60
XrdCpConfig::DoServer
static const uint64_t DoServer
Definition: XrdCpConfig.hh:131
XrdCpConfig::Retry
int Retry
Definition: XrdCpConfig.hh:73
XrdCpConfig::a2z
int a2z(const char *item, long long *val, long long minv, long long maxv=-1)
XrdCpConfig::OpVersion
static const uint64_t OpVersion
Definition: XrdCpConfig.hh:150
XrdCpConfig::DoTlsNoData
static const uint64_t DoTlsNoData
Definition: XrdCpConfig.hh:167
XrdCpConfig::DoTlsMLF
static const uint64_t DoTlsMLF
Definition: XrdCpConfig.hh:173
XrdCpConfig::Opts
int Opts
Definition: XrdCpConfig.hh:243
XrdCpConfig::pHost
char * pHost
Definition: XrdCpConfig.hh:67
XrdCpConfig::defVar::intVal
int intVal
Definition: XrdCpConfig.hh:52
XrdCpConfig::OpRecursv
static const uint64_t OpRecursv
Definition: XrdCpConfig.hh:124
XrdCpConfig::Pgm
const char * Pgm
Definition: XrdCpConfig.hh:64
XrdCpConfig::totBytes
long long totBytes
Definition: XrdCpConfig.hh:78
XrdCpConfig::CksVal
const char * CksVal
Definition: XrdCpConfig.hh:83
XrdCpConfig::DoVerbose
static const uint64_t DoVerbose
Definition: XrdCpConfig.hh:148
XrdCpConfig::DoSources
static const uint64_t DoSources
Definition: XrdCpConfig.hh:137
XrdCpConfig::DoCoerce
static const uint64_t DoCoerce
Definition: XrdCpConfig.hh:98
XrdCpConfig::DoCkprt
static const uint64_t DoCkprt
Definition: XrdCpConfig.hh:95
XrdCpConfig::OpNoPbar
static const uint64_t OpNoPbar
Definition: XrdCpConfig.hh:114
XrdCpConfig::DoNoTlsOK
static const uint64_t DoNoTlsOK
Definition: XrdCpConfig.hh:170
XrdCpConfig::DoHelp
static const uint64_t DoHelp
Definition: XrdCpConfig.hh:107
XrdCpConfig::Verbose
int Verbose
Definition: XrdCpConfig.hh:74
XrdCpConfig::srcFile
XrdCpFile * srcFile
Definition: XrdCpConfig.hh:85
XrdCpConfig::DoSilent
static const uint64_t DoSilent
Definition: XrdCpConfig.hh:134
XrdCpConfig::OpCoerce
static const uint64_t OpCoerce
Definition: XrdCpConfig.hh:97
XrdCpConfig::License
void License()
XrdCpConfig::Dlvl
int Dlvl
Definition: XrdCpConfig.hh:70
XrdCpFile
Definition: XrdCpFile.hh:37
XrdCpConfig::nStrm
int nStrm
Definition: XrdCpConfig.hh:72
XrdCpConfig::OpZip
static const uint64_t OpZip
Definition: XrdCpConfig.hh:163
XrdCpConfig::OpProxy
static const uint64_t OpProxy
Definition: XrdCpConfig.hh:120
XrdCpConfig::defOpt
int defOpt(const char *theOp, const char *theArg)
XrdCpConfig::OpHelp
static const uint64_t OpHelp
Definition: XrdCpConfig.hh:106
XrdCpConfig::DoProxy
static const uint64_t DoProxy
Definition: XrdCpConfig.hh:121
XrdCpConfig::defCks
int defCks(const char *opval)
XrdCpConfig::OpContinue
static const uint64_t OpContinue
Definition: XrdCpConfig.hh:187
XrdCpConfig::CksLen
int CksLen
Definition: XrdCpConfig.hh:75
XrdCpConfig::OpDebug
static const uint64_t OpDebug
Definition: XrdCpConfig.hh:100
XrdCpConfig::DoTpcDlgt
static const uint64_t DoTpcDlgt
Definition: XrdCpConfig.hh:145
XrdCpConfig::pLast
XrdCpFile * pLast
Definition: XrdCpConfig.hh:255
XrdCpConfig::defVar
Definition: XrdCpConfig.hh:49
XrdCks
Definition: XrdCks.hh:92
XrdCpConfig::Parallel
int Parallel
Definition: XrdCpConfig.hh:66
XrdCpConfig::optRmtRec
static const int optRmtRec
Definition: XrdCpConfig.hh:202
XrdCpConfig
Definition: XrdCpConfig.hh:45
XrdCpConfig::DoCksrc
static const uint64_t DoCksrc
Definition: XrdCpConfig.hh:93
XrdCpConfig::defVar::defVar
defVar(const char *vn, int vl)
Definition: XrdCpConfig.hh:56
XrdCpConfig::dstFile
XrdCpFile * dstFile
Definition: XrdCpConfig.hh:86
XrdCpConfig::OpPath
static const uint64_t OpPath
Definition: XrdCpConfig.hh:175
XrdCpConfig::XrdCpConfig
XrdCpConfig(const char *pgname)
XrdCpConfig::opVec
static struct option opVec[]
Definition: XrdCpConfig.hh:250
XrdCpConfig::OpStreams
static const uint64_t OpStreams
Definition: XrdCpConfig.hh:139
XrdCpConfig::OpTlsMLF
static const uint64_t OpTlsMLF
Definition: XrdCpConfig.hh:172
XrdCpConfig::defVar::vName
const char * vName
Definition: XrdCpConfig.hh:50
XrdCpConfig::Want
int Want(uint64_t What)
Definition: XrdCpConfig.hh:210
XrdCpConfig::DoParallel
static const uint64_t DoParallel
Definition: XrdCpConfig.hh:156
XrdCpConfig::OpCksum
static const uint64_t OpCksum
Definition: XrdCpConfig.hh:92
XrdCpConfig::DoRecurse
static const uint64_t DoRecurse
Definition: XrdCpConfig.hh:125
XrdCpConfig::OpDynaSrc
static const uint64_t OpDynaSrc
Definition: XrdCpConfig.hh:158
XrdCpConfig::defVar::strVal
const char * strVal
Definition: XrdCpConfig.hh:51
XrdCpConfig::DoDebug
static const uint64_t DoDebug
Definition: XrdCpConfig.hh:101
XrdCpConfig::DoAllowHttp
static const int DoAllowHttp
Definition: XrdCpConfig.hh:194
XrdCpConfig::OpNoTlsOK
static const uint64_t OpNoTlsOK
Definition: XrdCpConfig.hh:169
XrdCpConfig::optNoLclCp
static const int optNoLclCp
Definition: XrdCpConfig.hh:204
XrdCpConfig::Argv
char ** Argv
Definition: XrdCpConfig.hh:245
XrdCpConfig::strDefs
defVar * strDefs
Definition: XrdCpConfig.hh:61
XrdCpConfig::OpXAttr
static const uint64_t OpXAttr
Definition: XrdCpConfig.hh:178
XrdCpConfig::OpSilent
static const uint64_t OpSilent
Definition: XrdCpConfig.hh:133
XrdCpConfig::DoNoPbar
static const uint64_t DoNoPbar
Definition: XrdCpConfig.hh:115
XrdCpConfig::pPort
int pPort
Definition: XrdCpConfig.hh:68
XrdCpConfig::opLetters
static const char * opLetters
Definition: XrdCpConfig.hh:249
XrdCpConfig::OpRecurse
static const uint64_t OpRecurse
Definition: XrdCpConfig.hh:123
XrdCpConfig::OpForce
static const uint64_t OpForce
Definition: XrdCpConfig.hh:103
XrdCpConfig::a2i
int a2i(const char *item, int *val, int minv, int maxv=-1)
XrdCpConfig::Human
const char * Human(long long Val, char *Buff, int Blen)
XrdCpConfig::DoRmOnBadCksum
static const uint64_t DoRmOnBadCksum
Definition: XrdCpConfig.hh:185
XrdCpConfig::DoTpc
static const uint64_t DoTpc
Definition: XrdCpConfig.hh:143
XrdCpConfig::strDend
defVar * strDend
Definition: XrdCpConfig.hh:247
XrdCpConfig::DoCksum
static const uint64_t DoCksum
Definition: XrdCpConfig.hh:94
XrdCpConfig::ProcFile
void ProcFile(const char *fname)
XrdCpConfig::defPxy
void defPxy(const char *opval)
XrdCpConfig::OpVerbose
static const uint64_t OpVerbose
Definition: XrdCpConfig.hh:147
XrdCpConfig::DoIfile
static const uint64_t DoIfile
Definition: XrdCpConfig.hh:110
XrdCpConfig::srcOpq
const char * srcOpq
Definition: XrdCpConfig.hh:63
XrdCpConfig::pPrev
XrdCpFile * pPrev
Definition: XrdCpConfig.hh:256
XrdCpConfig::OpName
const char * OpName()
XrdCpConfig::dstOpq
const char * dstOpq
Definition: XrdCpConfig.hh:62
XrdCpConfig::DoZipMtlnCksum
static const uint64_t DoZipMtlnCksum
Definition: XrdCpConfig.hh:182
XrdCpConfig::CksObj
XrdCksCalc * CksObj
Definition: XrdCpConfig.hh:82
XrdCpConfig::numFiles
int numFiles
Definition: XrdCpConfig.hh:77
XrdCksData
Definition: XrdCksData.hh:38
XrdCpConfig::DoZip
static const uint64_t DoZip
Definition: XrdCpConfig.hh:164
XrdCpConfig::opt1Src
static const int opt1Src
Definition: XrdCpConfig.hh:200
XrdCpConfig::a2t
int a2t(const char *item, int *val, int minv, int maxv=-1)
XrdCpConfig::pFile
XrdCpFile * pFile
Definition: XrdCpConfig.hh:254
XrdCpConfig::Usage
void Usage(int rc=0)
XrdCpConfig::dfltSrcs
static const int dfltSrcs
Definition: XrdCpConfig.hh:252
XrdCpConfig::Config
void Config(int argc, char **argv, int Opts=0)
XrdCpConfig::DoRetry
static const uint64_t DoRetry
Definition: XrdCpConfig.hh:128
XrdCpConfig::DoTpcOnly
static const uint64_t DoTpcOnly
Definition: XrdCpConfig.hh:144
XrdCpConfig::isLcl
int isLcl
Definition: XrdCpConfig.hh:260
XrdCpConfig::optNoXtnd
static const int optNoXtnd
Definition: XrdCpConfig.hh:201
XrdCpConfig::zipFile
char * zipFile
Definition: XrdCpConfig.hh:88
XrdCpConfig::intDend
defVar * intDend
Definition: XrdCpConfig.hh:246
XrdCpConfig::OpTpc
static const uint64_t OpTpc
Definition: XrdCpConfig.hh:142
XrdSysError
Definition: XrdSysError.hh:90
XrdCpConfig::xRate
long long xRate
Definition: XrdCpConfig.hh:65
XrdCpConfig::Argc
int Argc
Definition: XrdCpConfig.hh:244
XrdCpConfig::OpTlsNoData
static const uint64_t OpTlsNoData
Definition: XrdCpConfig.hh:166
XrdCpConfig::defVar::Next
defVar * Next
Definition: XrdCpConfig.hh:49
XrdCpConfig::DoPosc
static const uint64_t DoPosc
Definition: XrdCpConfig.hh:118
XrdCpConfig::CksMan
XrdCks * CksMan
Definition: XrdCpConfig.hh:81
XrdCpConfig::parmCnt
int parmCnt
Definition: XrdCpConfig.hh:259
XrdCpConfig::OpXrate
static const uint64_t OpXrate
Definition: XrdCpConfig.hh:152
XrdCksCalc
Definition: XrdCksCalc.hh:40
XrdCpConfig::OpServer
static const uint64_t OpServer
Definition: XrdCpConfig.hh:130
XrdCpConfig::a2x
int a2x(const char *Val, char *Buff, int Vlen)
XrdCpConfig::OpLicense
static const uint64_t OpLicense
Definition: XrdCpConfig.hh:112
XrdCpConfig::OpRmOnBadCksum
static const uint64_t OpRmOnBadCksum
Definition: XrdCpConfig.hh:184
XrdCpConfig::DoContinue
static const uint64_t DoContinue
Definition: XrdCpConfig.hh:188
XrdCpConfig::CksData
XrdCksData CksData
Definition: XrdCpConfig.hh:80
XrdCpConfig::DoXAttr
static const uint64_t DoXAttr
Definition: XrdCpConfig.hh:179