00001 #ifndef __catalog_h__ 00002 #define __catalog_h__ 00003 00004 #include "asserts.h" 00005 #include "rconfig.h" 00006 #include "logger.h" 00007 #include "vaulter.h" 00008 00009 /** Create and maintain a directory of links to all archives on all vaults 00010 */ 00011 class catalog_manager 00012 { 00013 public: 00014 catalog_manager(); 00015 00016 void clear(void); 00017 void init(void); 00018 const bool initialized(void) const; 00019 00020 void erase(void); 00021 void catalog(void); 00022 00023 private: 00024 bool m_initialized; 00025 }; 00026 00027 extern catalog_manager cataloger; 00028 00029 #endif