xrootd
XrdCnsLog.hh
Go to the documentation of this file.
1 #ifndef __XRDCnsLog_H_
2 #define __XRDCnsLog_H_
3 /******************************************************************************/
4 /* */
5 /* X r d C n s L o 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 #include "XrdOuc/XrdOucNSWalk.hh"
16 
17 class XrdOucTList;
18 
19 class XrdCnsLog
20 {
21 public:
22 
23 static XrdOucTList *Dirs(const char *Path, int &rc);
24 
25 static XrdOucNSWalk::NSEnt *List(const char *logDir,
26  XrdOucNSWalk::NSEnt **Base,
27  int isEP=0);
28 
29 static const char *invFNa; // Name of lcl inventory log file phase 1
30 static const char *invFNt; // Name of lcl inventory log file phase 2
31 static const char *invFNz; // Name of rmt inventory log file
32 
33  XrdCnsLog() {}
35 
36 private:
37 static int isEP(const char *Path);
38 };
39 #endif