Pol  Revision:cb584c9
cfgrepos.cpp File Reference
#include "cfgrepos.h"
#include <ctype.h>
#include <exception>
#include <iosfwd>
#include <stdlib.h>
#include <sys/stat.h>
#include "../bscript/bobject.h"
#include "../bscript/escrutil.h"
#include "../bscript/impstr.h"
#include "../clib/cfgelem.h"
#include "../clib/cfgfile.h"
#include "../clib/fileutil.h"
#include "../clib/logfacility.h"
#include "../clib/strutil.h"
#include "../plib/pkg.h"
#include "../plib/systemstate.h"
#include "globals/ucfg.h"
#include "polcfg.h"

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Core
 

Functions

void Pol::Core::CreateEmptyStoredConfigFile (const std::string &filename)
 
std::string Pol::Core::extractkey (const std::string &istr)
 
ConfigFileRef Pol::Core::FindConfigFile (const std::string &filename, const std::string &allpkgbase)
 
ConfigFileRef Pol::Core::LoadTusScpFile (const std::string &filename)
 
int Pol::Core::UnloadConfigFile (const std::string &filename)
 

Detailed Description

History
  • 2005/07/01 Shinigami: added StoredConfigFile::modified_ (stat.st_mtime) to detect cfg file modification added oldcfgfiles - holds all references to "removed" cfg files UnloadConfigFile will reload file if modified only
  • 2005/07/04 Shinigami: added StoredConfigFile::reload to check for file modification moved file modification check from UnloadConfigFile to FindConfigFile added ConfigFiles_log_stuff for memory logging
  • 2007/04/28 Shinigami: polcore().internal information will be logged in excel-friendly format too (leak.log)
Note
Configuration File Repository

Definition in file cfgrepos.cpp.