#include <dchroot-chroot-config.h>
Public Member Functions | |
chroot_config () | |
The constructor. | |
chroot_config (std::string const &file, bool active) | |
The constructor. | |
virtual | ~chroot_config () |
The destructor. | |
Private Member Functions | |
virtual void | parse_data (std::istream &stream, bool active) |
This class provides all the functionality of chroot_config, but parses the dchroot configuration file format, rather than the schroot format.
chroot_config::chroot_config | ( | ) |
chroot_config::chroot_config | ( | std::string const & | file, | |
bool | active | |||
) |
The constructor.
file | initialise using a configuration file or a whole directory containing configuration files. | |
active | true if the chroots in the configuration file are active sessions, otherwise false. |
Reimplemented from sbuild::chroot_config.
chroot_config::~chroot_config | ( | ) | [virtual] |
void chroot_config::parse_data | ( | std::istream & | stream, | |
bool | active | |||
) | [private, virtual] |
Reimplemented from sbuild::chroot_config.
References sbuild::chroot_config::aliases, sbuild::basic_keyfile< K, P >::has_group(), sbuild::chroot_config::load_keyfile(), sbuild::basic_keyfile< K, P >::set_group(), sbuild::basic_keyfile< K, P >::set_list_value(), and sbuild::basic_keyfile< K, P >::set_value().