rconfig.cc File Reference

#include "config.h"
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <map>
#include <algorithm>
#include <cctype>
#include "asserts.h"
#include "error.h"
#include "estring.h"
#include "fs.h"
#include "tstamp.h"
#include "rconfig.h"

Include dependency graph for rconfig.cc:

Include dependency graph

Go to the source code of this file.

Functions

void parse_line (std::istream &a_in, std::string &a_keyword, std::string &a_value)
 Parse a keyword/value pair read from a configuration file.

const std::string parse_dirname (const std::string &a_path)
 Given a path, strip off the basename -- like the dirname UNIX command.

const std::string parse_basename (const std::string &a_path)
 Given a path, strip off the directory -- like the basename UNIX commane.


Variables

configuration_manager config
 The global configuration manager instance.


Function Documentation

const std::string parse_basename const std::string &  a_path  ) 
 

Given a path, strip off the directory -- like the basename UNIX commane.

Definition at line 1498 of file rconfig.cc.

const std::string parse_dirname const std::string &  a_path  ) 
 

Given a path, strip off the basename -- like the dirname UNIX command.

Definition at line 1476 of file rconfig.cc.

References TRY_nomem.

void parse_line std::istream &  a_in,
std::string &  a_keyword,
std::string &  a_value
 

Parse a keyword/value pair read from a configuration file.

Definition at line 1409 of file rconfig.cc.

Referenced by global_parser::parse(), and job_parser::parse().


Variable Documentation

configuration_manager config
 

The global configuration manager instance.

Definition at line 2721 of file rconfig.cc.

Referenced by archive_manager::archive(), archive_manager::archive_path(), catalog_manager::catalog(), vault_manager::delete_oldest_archive(), catalog_manager::erase(), report_manager::file_report(), vault_report::format_synopsis(), report_manager::init(), log_manager::init(), archive_manager::init(), main(), job_archiver::mf_do_chores(), job_archiver::mf_process_child_io(), job_archiver::mf_process_rsync_io(), vault_manager::overflow(), global_parser::parse_default(), global_parser::parse_io_poll_interval(), global_parser::parse_job(), global_parser::parse_link_catalog_dir(), global_parser::parse_log_dir(), global_parser::parse_logging_level(), global_parser::parse_rsync_local_path(), global_parser::parse_rsync_parallel(), global_parser::parse_timestamp_resolution(), global_parser::parse_vault(), global_parser::parse_vault_overflow_behavior(), global_parser::parse_vault_overflow_blocks(), global_parser::parse_vault_overflow_inodes(), global_parser::parse_vault_selection_behavior(), vault_manager::prepare(), vault_manager::select(), test(), test_rvm(), test_vaulter(), and log_manager::write().


Generated on Mon Jul 12 12:04:26 2004 for rvm by doxygen 1.3.6