1
/* Copyright © 2005-2006 Roger Leigh <rleigh@debian.org>
3
* schroot is free software; you can redistribute it and/or modify it
4
* under the terms of the GNU General Public License as published by
5
* the Free Software Foundation; either version 2 of the License, or
6
* (at your option) any later version.
8
* schroot is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18
*********************************************************************/
20
#ifndef DCHROOT_CHROOT_CONFIG_H
21
#define DCHROOT_CHROOT_CONFIG_H
28
#include "sbuild-chroot-config.h"
34
* Chroot configuration for dchroot compatibility.
36
* This class provides all the functionality of chroot_config, but
37
* parses the dchroot configuration file format, rather than the
40
class chroot_config : public sbuild::chroot_config
49
* @param file initialise using a configuration file or a whole
50
* directory containing configuration files.
51
* @param active true if the chroots in the configuration file are
52
* active sessions, otherwise false.
54
chroot_config (std::string const& file,
58
virtual ~chroot_config ();
62
parse_data (std::istream& stream,
68
#endif /* DCHROOT_CHROOT_CONFIG_H */