1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
<title>schroot: dchroot::chroot_config Class Reference</title>
4
<link href="tabs.css" rel="stylesheet" type="text/css">
5
<link href="doxygen.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.9 -->
8
<div class="navigation" id="top">
11
<li><a href="index.html"><span>Main Page</span></a></li>
12
<li><a href="pages.html"><span>Related Pages</span></a></li>
13
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
14
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
15
<li><a href="files.html"><span>Files</span></a></li>
16
<li><a href="dirs.html"><span>Directories</span></a></li>
21
<li><a href="annotated.html"><span>Class List</span></a></li>
22
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
23
<li><a href="functions.html"><span>Class Members</span></a></li>
26
<div class="navpath"><a class="el" href="namespacedchroot.html">dchroot</a>::<a class="el" href="classdchroot_1_1chroot__config.html">chroot_config</a>
29
<div class="contents">
30
<h1>dchroot::chroot_config Class Reference</h1><!-- doxytag: class="dchroot::chroot_config" -->Chroot configuration for <a class="el" href="namespacedchroot.html">dchroot</a> compatibility.
31
<a href="#_details">More...</a>
33
<code>#include <<a class="el" href="dchroot-chroot-config_8h_source.html">dchroot-chroot-config.h</a>></code>
37
<a href="classdchroot_1_1chroot__config-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
39
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
40
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1chroot__config.html#24e9f935f723bb1090157225a2fe9105">chroot_config</a> ()</td></tr>
42
<tr><td class="mdescLeft"> </td><td class="mdescRight">The constructor. <a href="#24e9f935f723bb1090157225a2fe9105"></a><br></td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1chroot__config.html#6acae22ee996d9da16d509086ed16ce1">chroot_config</a> (std::string const &file, bool active)</td></tr>
45
<tr><td class="mdescLeft"> </td><td class="mdescRight">The constructor. <a href="#6acae22ee996d9da16d509086ed16ce1"></a><br></td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1chroot__config.html#dd25fa9f67e2db1030b27cc1a6a71d79">~chroot_config</a> ()</td></tr>
48
<tr><td class="mdescLeft"> </td><td class="mdescRight">The destructor. <a href="#dd25fa9f67e2db1030b27cc1a6a71d79"></a><br></td></tr>
49
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1chroot__config.html#32a3a4e480c9c0a526dea65abceb7e62">parse_data</a> (std::istream &stream, bool active)</td></tr>
53
<hr><a name="_details"></a><h2>Detailed Description</h2>
54
Chroot configuration for <a class="el" href="namespacedchroot.html">dchroot</a> compatibility.
56
This class provides all the functionality of <a class="el" href="classdchroot_1_1chroot__config.html" title="Chroot configuration for dchroot compatibility.">chroot_config</a>, but parses the <a class="el" href="namespacedchroot.html">dchroot</a> configuration file format, rather than the <a class="el" href="namespaceschroot.html">schroot</a> format. <hr><h2>Constructor & Destructor Documentation</h2>
57
<a class="anchor" name="24e9f935f723bb1090157225a2fe9105"></a><!-- doxytag: member="dchroot::chroot_config::chroot_config" ref="24e9f935f723bb1090157225a2fe9105" args="()" -->
59
<div class="memproto">
60
<table class="memname">
62
<td class="memname">chroot_config::chroot_config </td>
64
<td class="paramname"> </td>
65
<td> ) </td>
78
<a class="anchor" name="6acae22ee996d9da16d509086ed16ce1"></a><!-- doxytag: member="dchroot::chroot_config::chroot_config" ref="6acae22ee996d9da16d509086ed16ce1" args="(std::string const &file, bool active)" -->
80
<div class="memproto">
81
<table class="memname">
83
<td class="memname">chroot_config::chroot_config </td>
85
<td class="paramtype">std::string const & </td>
86
<td class="paramname"> <em>file</em>, </td>
89
<td class="paramkey"></td>
91
<td class="paramtype">bool </td>
92
<td class="paramname"> <em>active</em></td><td> </td>
97
<td></td><td></td><td></td>
106
<dl compact><dt><b>Parameters:</b></dt><dd>
107
<table border="0" cellspacing="2" cellpadding="0">
108
<tr><td valign="top"></td><td valign="top"><em>file</em> </td><td>initialise using a configuration file or a whole directory containing configuration files. </td></tr>
109
<tr><td valign="top"></td><td valign="top"><em>active</em> </td><td>true if the chroots in the configuration file are active sessions, otherwise false. </td></tr>
115
<a class="anchor" name="dd25fa9f67e2db1030b27cc1a6a71d79"></a><!-- doxytag: member="dchroot::chroot_config::~chroot_config" ref="dd25fa9f67e2db1030b27cc1a6a71d79" args="()" -->
116
<div class="memitem">
117
<div class="memproto">
118
<table class="memname">
120
<td class="memname">chroot_config::~chroot_config </td>
122
<td class="paramname"> </td>
123
<td> ) </td>
124
<td><code> [virtual]</code></td>
136
<hr><h2>Member Function Documentation</h2>
137
<a class="anchor" name="32a3a4e480c9c0a526dea65abceb7e62"></a><!-- doxytag: member="dchroot::chroot_config::parse_data" ref="32a3a4e480c9c0a526dea65abceb7e62" args="(std::istream &stream, bool active)" -->
138
<div class="memitem">
139
<div class="memproto">
140
<table class="memname">
142
<td class="memname">void chroot_config::parse_data </td>
144
<td class="paramtype">std::istream & </td>
145
<td class="paramname"> <em>stream</em>, </td>
148
<td class="paramkey"></td>
150
<td class="paramtype">bool </td>
151
<td class="paramname"> <em>active</em></td><td> </td>
156
<td></td><td></td><td><code> [private, virtual]</code></td>
166
<hr>The documentation for this class was generated from the following files:<ul>
167
<li>bin/dchroot/<a class="el" href="dchroot-chroot-config_8h_source.html">dchroot-chroot-config.h</a><li>bin/dchroot/<a class="el" href="dchroot-chroot-config_8cc.html">dchroot-chroot-config.cc</a></ul>
169
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:39:00 2009 for schroot by
170
<a href="http://www.doxygen.org/index.html">
171
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>