xrootd
XrdCnsSsiCfg.hh
Go to the documentation of this file.
1 #ifndef __XRDCNSSSICFG_H__
2 #define __XRDCNSSSICFG_H__
3 /******************************************************************************/
4 /* */
5 /* X r d C n s S s i C f g . h h */
6 /* */
7 /* (c) 2009 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 
13 // $Id$
14 
15 class XrdCnsLogServer;
16 class XrdOucTList;
17 class XrdOucName2Name;
18 class XrdSysLogger;
19 
21 {
22 public:
23 
24 char *bPath; // Backup path
25 char *logFN; // Logmsg path
26 XrdOucTList *dirList; // Backup directories (refreshed)
27 const char *Func;
28 char Xeq; // What we will be doing
29 char Lopt;
30 char Verbose;
31 
32 static const char Lmode = 0x01;
33 static const char Lsize = 0x02;
34 static const char Lfmts = 0x80;
35 static const char Lhost = 0x04;
36 static const char Lname = 0x08;
37 static const char Lmount= 0x10;
38 static const char Lfull = 0x17;
39 
40 int Configure(int argc, char **argv);
41 
42 int Configure(int argc, char **argv, const char *Opts);
43 
44  XrdCnsSsiCfg() : bPath(0), dirList(0), Func("?"),
45  Xeq(0), Lopt(0),
46  Verbose(0)
47  {}
49 private:
50 void Usage(const char *T1, const char *T2=0);
51 };
52 #endif