00001 #ifndef __XRDCnsLog_H_ 00002 #define __XRDCnsLog_H_ 00003 /******************************************************************************/ 00004 /* */ 00005 /* X r d C n s L o g . h h */ 00006 /* */ 00007 /* (c) 2009 by the Board of Trustees of the Leland Stanford, Jr., University */ 00008 /* All Rights Reserved */ 00009 /* Produced by Andrew Hanushevsky for Stanford University under contract */ 00010 /* DE-AC02-76-SFO0515 with the Department of Energy */ 00011 /******************************************************************************/ 00012 00013 // $Id: XrdCnsLog.hh 30949 2009-11-02 16:37:58Z ganis $ 00014 00015 #include "XrdOuc/XrdOucNSWalk.hh" 00016 00017 class XrdOucTList; 00018 00019 class XrdCnsLog 00020 { 00021 public: 00022 00023 static XrdOucTList *Dirs(const char *Path, int &rc); 00024 00025 static XrdOucNSWalk::NSEnt *List(const char *logDir, 00026 XrdOucNSWalk::NSEnt **Base, 00027 int isEP=0); 00028 00029 static const char *invFNa; // Name of lcl inventory log file phase 1 00030 static const char *invFNt; // Name of lcl inventory log file phase 2 00031 static const char *invFNz; // Name of rmt inventory log file 00032 00033 XrdCnsLog() {} 00034 ~XrdCnsLog() {} 00035 00036 private: 00037 static int isEP(const char *Path); 00038 }; 00039 #endif