#include <rconfig.h>
Collaboration diagram for job_parser:
Public Member Functions | |
job_parser (job *a_job, const std::string &a_path, uint16 &a_line, std::istream &a_in, const std::string &a_block_delimiter, const bool a_default_context) | |
C'tor. | |
Private Member Functions | |
const std::string | location (void) |
Construct a string with the current location of the parser in a configuration file. | |
void | read_job (const std::string &a_path) |
Read a job configuration file, used by the "include" command. | |
void | parse (void) |
Job context parser. | |
void | parse_archive_path (const std::string &a_value) |
Parse an "archive-path" command. | |
void | parse_clear (const std::string &a_value) |
Parse a "clear" command. | |
void | parse_exclude_from (const std::string &a_value) |
Parse an "exclude-from" command. | |
void | parse_include_from (const std::string &a_value) |
Parse an "include-from" command. | |
void | parse_groupname (const std::string &a_value) |
Parse a "groupname" command. | |
void | parse_hostname (const std::string &a_value) |
Parse a "hostname" command. | |
void | parse_include (const std::string &a_value) |
Parse an "include" command. | |
void | parse_jobname (const std::string &a_value) |
Parse a "jobname" command. | |
void | parse_path (const std::string &a_value) |
Parse a "path" command. | |
void | parse_rsync_behavior (const std::string &a_value) |
Parse an "rsync-behavior" command. | |
void | parse_rsync_connection_type (const std::string &a_value) |
Parse an "rsync-connection-type" command. | |
void | parse_rsync_hardlink (const std::string &a_value) |
Parse an "rsync-hardlink" command. | |
void | parse_rsync_options (const std::string &a_value) |
Parse an "rsync-options" command. | |
void | parse_rsync_options_context (const std::string &a_value) |
Parse an rsync-options context. | |
void | parse_rsync_remote_user (const std::string &a_value) |
Parse a "remote-user" command. | |
void | parse_rsync_remote_path (const std::string &a_value) |
Parse an "rsync-remote-path" command. | |
void | parse_rsync_remote_port (const std::string &a_value) |
Parse an "rsync-remote-port" command. | |
void | parse_rsync_remote_module (const std::string &a_value) |
Parse an "rsync-remote-module" command. | |
void | parse_rsync_retry_count (const std::string &a_value) |
Parse an "rsync-retry-count" command. | |
void | parse_rsync_timeout (const std::string &a_value) |
Parse an "rsync-timeout" command. | |
Private Attributes | |
job * | m_job |
const std::string * | m_path |
std::istream * | m_in |
uint16 * | m_line |
const std::string * | m_delimiter |
bool | m_default_context |
Definition at line 335 of file rconfig.h.
|
C'tor.
Definition at line 2126 of file rconfig.cc. References m_default_context, m_delimiter, and parse(). |
Here is the call graph for this function:
|
Construct a string with the current location of the parser in a configuration file.
Definition at line 2147 of file rconfig.cc. |
|
Job context parser.
Definition at line 2181 of file rconfig.cc. References parse_line(). Referenced by job_parser(). |
Here is the call graph for this function:
|
Parse an "archive-path" command.
Definition at line 2311 of file rconfig.cc. References TRY_nomem. |
|
Parse a "clear" command.
Definition at line 2320 of file rconfig.cc. |
|
Parse an "exclude-from" command.
Definition at line 2374 of file rconfig.cc. |
|
Parse a "groupname" command.
Definition at line 2442 of file rconfig.cc. References TRY_nomem. |
|
Parse a "hostname" command.
Definition at line 2448 of file rconfig.cc. |
|
Parse an "include" command.
Definition at line 2454 of file rconfig.cc. |
|
Parse an "include-from" command.
Definition at line 2408 of file rconfig.cc. |
|
Parse a "jobname" command.
Definition at line 2507 of file rconfig.cc. References TRY_nomem. |
|
Parse a "path" command.
Definition at line 2513 of file rconfig.cc. References TRY_nomem. |
|
Parse an "rsync-behavior" command.
Definition at line 2519 of file rconfig.cc. |
|
Parse an "rsync-connection-type" command.
Definition at line 2539 of file rconfig.cc. |
|
Parse an "rsync-hardlink" command.
Definition at line 2563 of file rconfig.cc. |
|
Parse an "rsync-options" command.
Definition at line 2598 of file rconfig.cc. Referenced by parse_rsync_options_context(). |
|
Parse an rsync-options context.
Definition at line 2612 of file rconfig.cc. References ERROR, parse_rsync_options(), and TRY_nomem. |
Here is the call graph for this function:
|
Parse an "rsync-remote-module" command.
Definition at line 2683 of file rconfig.cc. References TRY_nomem. |
|
Parse an "rsync-remote-path" command.
Definition at line 2662 of file rconfig.cc. References TRY_nomem. |
|
Parse an "rsync-remote-port" command.
Definition at line 2668 of file rconfig.cc. |
|
Parse a "remote-user" command.
Definition at line 2656 of file rconfig.cc. References TRY_nomem. |
|
Parse an "rsync-retry-count" command.
Definition at line 2689 of file rconfig.cc. |
|
Parse an "rsync-timeout" command.
Definition at line 2704 of file rconfig.cc. |
|
Read a job configuration file, used by the "include" command.
Definition at line 2161 of file rconfig.cc. |
|
Definition at line 353 of file rconfig.h. Referenced by job_parser(). |
|
Definition at line 352 of file rconfig.h. Referenced by job_parser(). |
|
|
|
|
|
|
|
|