|
rvm 1.08
|
#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"
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. | |
| 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 1688 of file rconfig.cc.
References TRY_nomem.
| 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 1666 of file rconfig.cc.
References TRY_nomem.
Referenced by job_parser::parse_exclude_from(), job_parser::parse_include(), global_parser::parse_include(), job_parser::parse_include_from(), and global_parser::parse_include_job().
| 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 1599 of file rconfig.cc.
References estring::lower(), and TRY_nomem.
Referenced by job_parser::parse(), and global_parser::parse().

The global configuration manager instance.
Definition at line 3119 of file rconfig.cc.
Referenced by archive_manager::archive(), archive_manager::archive_path(), catalog_manager::catalog(), job::check(), configuration_manager::configuration_manager(), 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_delete_old_log_files(), global_parser::parse_delete_old_report_files(), global_parser::parse_error_logging_level(), global_parser::parse_include_job(), 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_locking(), 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(), global_parser::read_config(), vault_manager::select(), test(), test_rvm(), test_vaulter(), test_vaulter1(), test_vaulter2(), test_vaulter3(), and log_manager::write().
1.7.3