~ubuntu-branches/ubuntu/karmic/schroot/karmic

« back to all changes in this revision

Viewing changes to doc/sbuild/html/classsbuild_1_1chroot__block__device.html

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2009-03-22 16:56:38 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20090322165638-l9cowubm2v49de11
Tags: upstream-1.2.2
ImportĀ upstreamĀ versionĀ 1.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
3
<title>sbuild: sbuild::chroot_block_device Class Reference</title>
 
4
<link href="tabs.css" rel="stylesheet" type="text/css">
4
5
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
6
</head><body>
7
 
<!-- Generated by Doxygen 1.5.6 -->
 
7
<!-- Generated by Doxygen 1.5.8 -->
8
8
<div class="navigation" id="top">
9
9
  <div class="tabs">
10
10
    <ul>
37
37
<div class="dynsection">
38
38
<p><center><img src="classsbuild_1_1chroot__block__device__inherit__graph.png" border="0" usemap="#sbuild_1_1chroot__block__device__inherit__map" alt="Inheritance graph"></center>
39
39
<map name="sbuild_1_1chroot__block__device__inherit__map">
40
 
<area shape="rect" href="classsbuild_1_1chroot__lvm__snapshot.html" title="A chroot stored on an LVM logical volume (LV)." alt="" coords="5,229,192,256"><area shape="rect" href="classsbuild_1_1chroot.html" title="Common chroot data." alt="" coords="49,5,148,32"><area shape="rect" href="classsbuild_1_1chroot__mountable.html" title="A chroot stored on an unmounted block device." alt="" coords="76,80,241,106"></map>
 
40
<area shape="rect" href="classsbuild_1_1chroot__lvm__snapshot.html" title="A chroot stored on an LVM logical volume (LV)." alt="" coords="5,237,192,267"><area shape="rect" href="classsbuild_1_1chroot.html" title="Common chroot data." alt="" coords="49,5,148,35"><area shape="rect" href="classsbuild_1_1chroot__mountable.html" title="A chroot stored on an unmounted block device." alt="" coords="76,83,241,112"></map>
41
41
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
42
42
<div class="dynheader">
43
43
Collaboration diagram for sbuild::chroot_block_device:</div>
44
44
<div class="dynsection">
45
45
<p><center><img src="classsbuild_1_1chroot__block__device__coll__graph.png" border="0" usemap="#sbuild_1_1chroot__block__device__coll__map" alt="Collaboration graph"></center>
46
46
<map name="sbuild_1_1chroot__block__device__coll__map">
47
 
<area shape="rect" href="classsbuild_1_1chroot.html" title="Common chroot data." alt="" coords="249,426,348,453"><area shape="rect" href="classsbuild_1_1chroot__mountable.html" title="A chroot stored on an unmounted block device." alt="" coords="297,504,463,530"><area shape="rect" href="classsbuild_1_1regex.html" title="POSIX extended regular expression." alt="" coords="179,221,275,248"><area shape="rect" href="classsbuild_1_1personality.html" title="Chroot personality." alt="" coords="488,221,613,248"><area shape="rect" title="STL class." alt="" coords="117,96,197,122"><area shape="rect" title="STL class." alt="" coords="75,5,240,32"><area shape="rect" title="STL class." alt="" coords="637,96,752,122"></map>
 
47
<area shape="rect" href="classsbuild_1_1chroot.html" title="Common chroot data." alt="" coords="201,565,300,595"><area shape="rect" href="classsbuild_1_1chroot__mountable.html" title="A chroot stored on an unmounted block device." alt="" coords="45,645,211,675"><area shape="rect" href="classsbuild_1_1regex.html" title="POSIX extended regular expression." alt="" coords="371,428,467,457"><area shape="rect" href="classsbuild_1_1personality.html" title="Chroot personality." alt="" coords="491,428,616,457"><area shape="rect" title="STL class." alt="" coords="103,101,183,131"><area shape="rect" title="STL class." alt="" coords="64,5,221,35"><area shape="rect" title="STL class." alt="" coords="424,101,544,131"><area shape="rect" title="STL class." alt="" coords="272,101,387,131"></map>
48
48
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
49
49
 
50
50
<p>
177
177
 
178
178
</div>
179
179
</div><p>
 
180
<a class="anchor" name="9d804c6a3ca0556c44389526ec54b0ba"></a><!-- doxytag: member="sbuild::chroot_block_device::get_chroot_type" ref="9d804c6a3ca0556c44389526ec54b0ba" args="() const " -->
 
181
<div class="memitem">
 
182
<div class="memproto">
 
183
      <table class="memname">
 
184
        <tr>
 
185
          <td class="memname">std::string const &amp; chroot_block_device::get_chroot_type           </td>
 
186
          <td>(</td>
 
187
          <td class="paramname">          </td>
 
188
          <td>&nbsp;)&nbsp;</td>
 
189
          <td> const<code> [virtual]</code></td>
 
190
        </tr>
 
191
      </table>
 
192
</div>
 
193
<div class="memdoc">
 
194
 
 
195
<p>
 
196
Get the type of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
 
197
<p>
 
198
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> type. </dd></dl>
 
199
 
 
200
<p>Implements <a class="el" href="classsbuild_1_1chroot.html#2fef84e91421d84141dbd8da9d756949">sbuild::chroot</a>.</p>
 
201
 
 
202
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#bc31e9ba89f62fb3387c772a65fe5adf">sbuild::chroot_lvm_snapshot</a>.</p>
 
203
 
 
204
</div>
 
205
</div><p>
 
206
<a class="anchor" name="51b846bb33b77998e7b05953571bad38"></a><!-- doxytag: member="sbuild::chroot_block_device::get_details" ref="51b846bb33b77998e7b05953571bad38" args="(format_detail &amp;detail) const " -->
 
207
<div class="memitem">
 
208
<div class="memproto">
 
209
      <table class="memname">
 
210
        <tr>
 
211
          <td class="memname">void chroot_block_device::get_details           </td>
 
212
          <td>(</td>
 
213
          <td class="paramtype"><a class="el" href="classsbuild_1_1format__detail.html">format_detail</a> &amp;&nbsp;</td>
 
214
          <td class="paramname"> <em>detail</em>          </td>
 
215
          <td>&nbsp;)&nbsp;</td>
 
216
          <td> const<code> [protected, virtual]</code></td>
 
217
        </tr>
 
218
      </table>
 
219
</div>
 
220
<div class="memdoc">
 
221
 
 
222
<p>
 
223
Get detailed information about the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> for output. 
 
224
<p>
 
225
<dl compact><dt><b>Parameters:</b></dt><dd>
 
226
  <table border="0" cellspacing="2" cellpadding="0">
 
227
    <tr><td valign="top"></td><td valign="top"><em>detail</em>&nbsp;</td><td>the details to output to. </td></tr>
 
228
  </table>
 
229
</dl>
 
230
 
 
231
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#c9d89dca3fe73a3ae6083453e5c7d77e">sbuild::chroot_mountable</a>.</p>
 
232
 
 
233
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#fd8c9bbb8475c30a86beafde4c837c9f">sbuild::chroot_lvm_snapshot</a>.</p>
 
234
 
 
235
<p>References <a class="el" href="sbuild-format-detail_8cc-source.html#l00042">sbuild::format_detail::add()</a>, <a class="el" href="sbuild-chroot-block-device_8h-source.html#l00098">device</a>, and <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00052">get_device()</a>.</p>
 
236
 
 
237
</div>
 
238
</div><p>
180
239
<a class="anchor" name="d9fd5826b5a0c13043d78430929aeebb"></a><!-- doxytag: member="sbuild::chroot_block_device::get_device" ref="d9fd5826b5a0c13043d78430929aeebb" args="() const " -->
181
240
<div class="memitem">
182
241
<div class="memproto">
203
262
 
204
263
</div>
205
264
</div><p>
 
265
<a class="anchor" name="8aa2ab631c222afcf86495c011649351"></a><!-- doxytag: member="sbuild::chroot_block_device::get_keyfile" ref="8aa2ab631c222afcf86495c011649351" args="(keyfile &amp;keyfile) const " -->
 
266
<div class="memitem">
 
267
<div class="memproto">
 
268
      <table class="memname">
 
269
        <tr>
 
270
          <td class="memname">void chroot_block_device::get_keyfile           </td>
 
271
          <td>(</td>
 
272
          <td class="paramtype"><a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> &amp;&nbsp;</td>
 
273
          <td class="paramname"> <em>keyfile</em>          </td>
 
274
          <td>&nbsp;)&nbsp;</td>
 
275
          <td> const<code> [protected, virtual]</code></td>
 
276
        </tr>
 
277
      </table>
 
278
</div>
 
279
<div class="memdoc">
 
280
 
 
281
<p>
 
282
Copy the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties into a keyfile. 
 
283
<p>
 
284
The keyfile group with the name of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> will be set; if it already exists, it will be removed before setting it.<p>
 
285
<dl compact><dt><b>Parameters:</b></dt><dd>
 
286
  <table border="0" cellspacing="2" cellpadding="0">
 
287
    <tr><td valign="top"></td><td valign="top"><em>keyfile</em>&nbsp;</td><td>the keyfile to use. </td></tr>
 
288
  </table>
 
289
</dl>
 
290
 
 
291
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#a6513a647adbe707ea2d533dd142d4e0">sbuild::chroot_mountable</a>.</p>
 
292
 
 
293
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#a99036a024257918e4a00b3d377003c1">sbuild::chroot_lvm_snapshot</a>.</p>
 
294
 
 
295
<p>References <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00052">get_device()</a>, <a class="el" href="sbuild-chroot_8cc-source.html#l00144">sbuild::chroot::get_name()</a>, and <a class="el" href="sbuild-basic-keyfile_8h-source.html#l00902">sbuild::basic_keyfile&lt; K, P &gt;::set_object_value()</a>.</p>
 
296
 
 
297
</div>
 
298
</div><p>
 
299
<a class="anchor" name="b749c15ff89c485693685d7505b0c316"></a><!-- doxytag: member="sbuild::chroot_block_device::get_mount_device" ref="b749c15ff89c485693685d7505b0c316" args="() const " -->
 
300
<div class="memitem">
 
301
<div class="memproto">
 
302
      <table class="memname">
 
303
        <tr>
 
304
          <td class="memname">std::string const &amp; chroot_block_device::get_mount_device           </td>
 
305
          <td>(</td>
 
306
          <td class="paramname">          </td>
 
307
          <td>&nbsp;)&nbsp;</td>
 
308
          <td> const<code> [virtual]</code></td>
 
309
        </tr>
 
310
      </table>
 
311
</div>
 
312
<div class="memdoc">
 
313
 
 
314
<p>
 
315
Get the mount device of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
 
316
<p>
 
317
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the device. </dd></dl>
 
318
 
 
319
<p>Implements <a class="el" href="classsbuild_1_1chroot__mountable.html#4596badf4cfcc4d0dcc8455d2006cfcf">sbuild::chroot_mountable</a>.</p>
 
320
 
 
321
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#4862102cead274965f30b5be0cf9e3ec">sbuild::chroot_lvm_snapshot</a>.</p>
 
322
 
 
323
<p>References <a class="el" href="sbuild-chroot-block-device_8h-source.html#l00098">device</a>.</p>
 
324
 
 
325
</div>
 
326
</div><p>
 
327
<a class="anchor" name="c9b3041d99ce000d51f784ff6f1e3d4b"></a><!-- doxytag: member="sbuild::chroot_block_device::get_session_flags" ref="c9b3041d99ce000d51f784ff6f1e3d4b" args="() const " -->
 
328
<div class="memitem">
 
329
<div class="memproto">
 
330
      <table class="memname">
 
331
        <tr>
 
332
          <td class="memname"><a class="el" href="classsbuild_1_1chroot.html#ef89631e62590a5864a644e1d6c19e8e">sbuild::chroot::session_flags</a> chroot_block_device::get_session_flags           </td>
 
333
          <td>(</td>
 
334
          <td class="paramname">          </td>
 
335
          <td>&nbsp;)&nbsp;</td>
 
336
          <td> const<code> [virtual]</code></td>
 
337
        </tr>
 
338
      </table>
 
339
</div>
 
340
<div class="memdoc">
 
341
 
 
342
<p>
 
343
Get the <a class="el" href="classsbuild_1_1session.html" title="Session handler.">session</a> flags of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
 
344
<p>
 
345
These determine how the Session controlling the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> will operate.<p>
 
346
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="el" href="classsbuild_1_1session.html" title="Session handler.">session</a> flags. </dd></dl>
 
347
 
 
348
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#2bec81805a33eea2669006ed1714a694">sbuild::chroot_mountable</a>.</p>
 
349
 
 
350
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#41ca7a27aa4b88fbc7ec146a4fff25c4">sbuild::chroot_lvm_snapshot</a>.</p>
 
351
 
 
352
<p>References <a class="el" href="sbuild-chroot_8h-source.html#l00059">sbuild::chroot::SESSION_NOFLAGS</a>.</p>
 
353
 
 
354
</div>
 
355
</div><p>
206
356
<a class="anchor" name="df65ceae29d7162ca90e22af6627827f"></a><!-- doxytag: member="sbuild::chroot_block_device::set_device" ref="df65ceae29d7162ca90e22af6627827f" args="(std::string const &amp;device)" -->
207
357
<div class="memitem">
208
358
<div class="memproto">
235
385
 
236
386
</div>
237
387
</div><p>
238
 
<a class="anchor" name="b749c15ff89c485693685d7505b0c316"></a><!-- doxytag: member="sbuild::chroot_block_device::get_mount_device" ref="b749c15ff89c485693685d7505b0c316" args="() const " -->
239
 
<div class="memitem">
240
 
<div class="memproto">
241
 
      <table class="memname">
242
 
        <tr>
243
 
          <td class="memname">std::string const &amp; chroot_block_device::get_mount_device           </td>
244
 
          <td>(</td>
245
 
          <td class="paramname">          </td>
246
 
          <td>&nbsp;)&nbsp;</td>
247
 
          <td> const<code> [virtual]</code></td>
248
 
        </tr>
249
 
      </table>
250
 
</div>
251
 
<div class="memdoc">
252
 
 
253
 
<p>
254
 
Get the mount device of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
255
 
<p>
256
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the device. </dd></dl>
257
 
 
258
 
<p>Implements <a class="el" href="classsbuild_1_1chroot__mountable.html#4596badf4cfcc4d0dcc8455d2006cfcf">sbuild::chroot_mountable</a>.</p>
259
 
 
260
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#4862102cead274965f30b5be0cf9e3ec">sbuild::chroot_lvm_snapshot</a>.</p>
261
 
 
262
 
<p>References <a class="el" href="sbuild-chroot-block-device_8h-source.html#l00098">device</a>.</p>
263
 
 
264
 
</div>
265
 
</div><p>
266
 
<a class="anchor" name="9d804c6a3ca0556c44389526ec54b0ba"></a><!-- doxytag: member="sbuild::chroot_block_device::get_chroot_type" ref="9d804c6a3ca0556c44389526ec54b0ba" args="() const " -->
267
 
<div class="memitem">
268
 
<div class="memproto">
269
 
      <table class="memname">
270
 
        <tr>
271
 
          <td class="memname">std::string const &amp; chroot_block_device::get_chroot_type           </td>
272
 
          <td>(</td>
273
 
          <td class="paramname">          </td>
274
 
          <td>&nbsp;)&nbsp;</td>
275
 
          <td> const<code> [virtual]</code></td>
276
 
        </tr>
277
 
      </table>
278
 
</div>
279
 
<div class="memdoc">
280
 
 
281
 
<p>
282
 
Get the type of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
283
 
<p>
284
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> type. </dd></dl>
285
 
 
286
 
<p>Implements <a class="el" href="classsbuild_1_1chroot.html#2fef84e91421d84141dbd8da9d756949">sbuild::chroot</a>.</p>
287
 
 
288
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#bc31e9ba89f62fb3387c772a65fe5adf">sbuild::chroot_lvm_snapshot</a>.</p>
 
388
<a class="anchor" name="81c3ff021550eaa2b168e56dd318559b"></a><!-- doxytag: member="sbuild::chroot_block_device::set_keyfile" ref="81c3ff021550eaa2b168e56dd318559b" args="(keyfile const &amp;keyfile, string_list &amp;used_keys)" -->
 
389
<div class="memitem">
 
390
<div class="memproto">
 
391
      <table class="memname">
 
392
        <tr>
 
393
          <td class="memname">void chroot_block_device::set_keyfile           </td>
 
394
          <td>(</td>
 
395
          <td class="paramtype"><a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> const &amp;&nbsp;</td>
 
396
          <td class="paramname"> <em>keyfile</em>, </td>
 
397
        </tr>
 
398
        <tr>
 
399
          <td class="paramkey"></td>
 
400
          <td></td>
 
401
          <td class="paramtype"><a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">string_list</a> &amp;&nbsp;</td>
 
402
          <td class="paramname"> <em>used_keys</em></td><td>&nbsp;</td>
 
403
        </tr>
 
404
        <tr>
 
405
          <td></td>
 
406
          <td>)</td>
 
407
          <td></td><td></td><td><code> [protected, virtual]</code></td>
 
408
        </tr>
 
409
      </table>
 
410
</div>
 
411
<div class="memdoc">
 
412
 
 
413
<p>
 
414
Set the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties from a keyfile. 
 
415
<p>
 
416
The <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> name must have previously been set, so that the correct keyfile group may be determined.<p>
 
417
<dl compact><dt><b>Parameters:</b></dt><dd>
 
418
  <table border="0" cellspacing="2" cellpadding="0">
 
419
    <tr><td valign="top"></td><td valign="top"><em>keyfile</em>&nbsp;</td><td>the keyfile to get the properties from. </td></tr>
 
420
    <tr><td valign="top"></td><td valign="top"><em>used_keys</em>&nbsp;</td><td>a list of the keys used will be set. </td></tr>
 
421
  </table>
 
422
</dl>
 
423
 
 
424
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#489bade6c26fee3669973a158a214404">sbuild::chroot_mountable</a>.</p>
 
425
 
 
426
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#7a9041e884f3863a2539188809de5357">sbuild::chroot_lvm_snapshot</a>.</p>
 
427
 
 
428
<p>References <a class="el" href="sbuild-chroot_8cc-source.html#l00144">sbuild::chroot::get_name()</a>, <a class="el" href="sbuild-basic-keyfile_8h-source.html#l01031">sbuild::basic_keyfile&lt; K, P &gt;::get_object_value()</a>, <a class="el" href="sbuild-keyfile-base_8h-source.html#l00050">sbuild::keyfile_base::PRIORITY_REQUIRED</a>, and <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00058">set_device()</a>.</p>
289
429
 
290
430
</div>
291
431
</div><p>
319
459
 
320
460
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#cc589550ffd00460ab6a782fb75518d7">sbuild::chroot_lvm_snapshot</a>.</p>
321
461
 
322
 
<p>References <a class="el" href="sbuild-environment_8cc-source.html#l00055">sbuild::environment::add()</a>, <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00052">get_device()</a>, <a class="el" href="sbuild-chroot-mountable_8cc-source.html#l00072">sbuild::chroot_mountable::setup_env()</a>, and <a class="el" href="sbuild-chroot_8cc-source.html#l00385">sbuild::chroot::setup_env()</a>.</p>
323
 
 
324
 
<p>Referenced by <a class="el" href="sbuild-chroot-lvm-snapshot_8cc-source.html#l00106">sbuild::chroot_lvm_snapshot::setup_env()</a>.</p>
325
 
 
326
 
</div>
327
 
</div><p>
328
 
<a class="anchor" name="c9b3041d99ce000d51f784ff6f1e3d4b"></a><!-- doxytag: member="sbuild::chroot_block_device::get_session_flags" ref="c9b3041d99ce000d51f784ff6f1e3d4b" args="() const " -->
329
 
<div class="memitem">
330
 
<div class="memproto">
331
 
      <table class="memname">
332
 
        <tr>
333
 
          <td class="memname"><a class="el" href="classsbuild_1_1chroot.html#ef89631e62590a5864a644e1d6c19e8e">sbuild::chroot::session_flags</a> chroot_block_device::get_session_flags           </td>
334
 
          <td>(</td>
335
 
          <td class="paramname">          </td>
336
 
          <td>&nbsp;)&nbsp;</td>
337
 
          <td> const<code> [virtual]</code></td>
338
 
        </tr>
339
 
      </table>
340
 
</div>
341
 
<div class="memdoc">
342
 
 
343
 
<p>
344
 
Get the <a class="el" href="classsbuild_1_1session.html" title="Session handler.">session</a> flags of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
345
 
<p>
346
 
These determine how the Session controlling the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> will operate.<p>
347
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="el" href="classsbuild_1_1session.html" title="Session handler.">session</a> flags. </dd></dl>
348
 
 
349
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#2bec81805a33eea2669006ed1714a694">sbuild::chroot_mountable</a>.</p>
350
 
 
351
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#41ca7a27aa4b88fbc7ec146a4fff25c4">sbuild::chroot_lvm_snapshot</a>.</p>
352
 
 
353
 
<p>References <a class="el" href="sbuild-chroot-mountable_8cc-source.html#l00080">sbuild::chroot_mountable::get_session_flags()</a>, and <a class="el" href="sbuild-chroot_8h-source.html#l00059">sbuild::chroot::SESSION_NOFLAGS</a>.</p>
 
462
<p>References <a class="el" href="sbuild-environment_8cc-source.html#l00055">sbuild::environment::add()</a>, and <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00052">get_device()</a>.</p>
354
463
 
355
464
</div>
356
465
</div><p>
406
515
 
407
516
</div>
408
517
</div><p>
409
 
<a class="anchor" name="51b846bb33b77998e7b05953571bad38"></a><!-- doxytag: member="sbuild::chroot_block_device::get_details" ref="51b846bb33b77998e7b05953571bad38" args="(format_detail &amp;detail) const " -->
410
 
<div class="memitem">
411
 
<div class="memproto">
412
 
      <table class="memname">
413
 
        <tr>
414
 
          <td class="memname">void chroot_block_device::get_details           </td>
415
 
          <td>(</td>
416
 
          <td class="paramtype"><a class="el" href="classsbuild_1_1format__detail.html">format_detail</a> &amp;&nbsp;</td>
417
 
          <td class="paramname"> <em>detail</em>          </td>
418
 
          <td>&nbsp;)&nbsp;</td>
419
 
          <td> const<code> [protected, virtual]</code></td>
420
 
        </tr>
421
 
      </table>
422
 
</div>
423
 
<div class="memdoc">
424
 
 
425
 
<p>
426
 
Get detailed information about the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> for output. 
427
 
<p>
428
 
<dl compact><dt><b>Parameters:</b></dt><dd>
429
 
  <table border="0" cellspacing="2" cellpadding="0">
430
 
    <tr><td valign="top"></td><td valign="top"><em>detail</em>&nbsp;</td><td>the details to output to. </td></tr>
431
 
  </table>
432
 
</dl>
433
 
 
434
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#c9d89dca3fe73a3ae6083453e5c7d77e">sbuild::chroot_mountable</a>.</p>
435
 
 
436
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#fd8c9bbb8475c30a86beafde4c837c9f">sbuild::chroot_lvm_snapshot</a>.</p>
437
 
 
438
 
<p>References <a class="el" href="sbuild-format-detail_8cc-source.html#l00042">sbuild::format_detail::add()</a>, <a class="el" href="sbuild-chroot-block-device_8h-source.html#l00098">device</a>, <a class="el" href="sbuild-chroot-mountable_8cc-source.html#l00086">sbuild::chroot_mountable::get_details()</a>, <a class="el" href="sbuild-chroot_8cc-source.html#l00470">sbuild::chroot::get_details()</a>, and <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00052">get_device()</a>.</p>
439
 
 
440
 
<p>Referenced by <a class="el" href="sbuild-chroot-lvm-snapshot_8cc-source.html#l00201">sbuild::chroot_lvm_snapshot::get_details()</a>.</p>
441
 
 
442
 
</div>
443
 
</div><p>
444
 
<a class="anchor" name="8aa2ab631c222afcf86495c011649351"></a><!-- doxytag: member="sbuild::chroot_block_device::get_keyfile" ref="8aa2ab631c222afcf86495c011649351" args="(keyfile &amp;keyfile) const " -->
445
 
<div class="memitem">
446
 
<div class="memproto">
447
 
      <table class="memname">
448
 
        <tr>
449
 
          <td class="memname">void chroot_block_device::get_keyfile           </td>
450
 
          <td>(</td>
451
 
          <td class="paramtype"><a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> &amp;&nbsp;</td>
452
 
          <td class="paramname"> <em>keyfile</em>          </td>
453
 
          <td>&nbsp;)&nbsp;</td>
454
 
          <td> const<code> [protected, virtual]</code></td>
455
 
        </tr>
456
 
      </table>
457
 
</div>
458
 
<div class="memdoc">
459
 
 
460
 
<p>
461
 
Copy the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties into a keyfile. 
462
 
<p>
463
 
The keyfile group with the name of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> will be set; if it already exists, it will be removed before setting it.<p>
464
 
<dl compact><dt><b>Parameters:</b></dt><dd>
465
 
  <table border="0" cellspacing="2" cellpadding="0">
466
 
    <tr><td valign="top"></td><td valign="top"><em>keyfile</em>&nbsp;</td><td>the keyfile to use. </td></tr>
467
 
  </table>
468
 
</dl>
469
 
 
470
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#a6513a647adbe707ea2d533dd142d4e0">sbuild::chroot_mountable</a>.</p>
471
 
 
472
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#a99036a024257918e4a00b3d377003c1">sbuild::chroot_lvm_snapshot</a>.</p>
473
 
 
474
 
<p>References <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00052">get_device()</a>, <a class="el" href="sbuild-chroot-mountable_8cc-source.html#l00095">sbuild::chroot_mountable::get_keyfile()</a>, <a class="el" href="sbuild-chroot_8cc-source.html#l00524">sbuild::chroot::get_keyfile()</a>, <a class="el" href="sbuild-chroot_8cc-source.html#l00144">sbuild::chroot::get_name()</a>, and <a class="el" href="sbuild-basic-keyfile_8h-source.html#l00902">sbuild::basic_keyfile&lt; K, P &gt;::set_object_value()</a>.</p>
475
 
 
476
 
<p>Referenced by <a class="el" href="sbuild-chroot-lvm-snapshot_8cc-source.html#l00213">sbuild::chroot_lvm_snapshot::get_keyfile()</a>.</p>
477
 
 
478
 
</div>
479
 
</div><p>
480
 
<a class="anchor" name="81c3ff021550eaa2b168e56dd318559b"></a><!-- doxytag: member="sbuild::chroot_block_device::set_keyfile" ref="81c3ff021550eaa2b168e56dd318559b" args="(keyfile const &amp;keyfile, string_list &amp;used_keys)" -->
481
 
<div class="memitem">
482
 
<div class="memproto">
483
 
      <table class="memname">
484
 
        <tr>
485
 
          <td class="memname">void chroot_block_device::set_keyfile           </td>
486
 
          <td>(</td>
487
 
          <td class="paramtype"><a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> const &amp;&nbsp;</td>
488
 
          <td class="paramname"> <em>keyfile</em>, </td>
489
 
        </tr>
490
 
        <tr>
491
 
          <td class="paramkey"></td>
492
 
          <td></td>
493
 
          <td class="paramtype"><a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">string_list</a> &amp;&nbsp;</td>
494
 
          <td class="paramname"> <em>used_keys</em></td><td>&nbsp;</td>
495
 
        </tr>
496
 
        <tr>
497
 
          <td></td>
498
 
          <td>)</td>
499
 
          <td></td><td></td><td><code> [protected, virtual]</code></td>
500
 
        </tr>
501
 
      </table>
502
 
</div>
503
 
<div class="memdoc">
504
 
 
505
 
<p>
506
 
Set the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties from a keyfile. 
507
 
<p>
508
 
The <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> name must have previously been set, so that the correct keyfile group may be determined.<p>
509
 
<dl compact><dt><b>Parameters:</b></dt><dd>
510
 
  <table border="0" cellspacing="2" cellpadding="0">
511
 
    <tr><td valign="top"></td><td valign="top"><em>keyfile</em>&nbsp;</td><td>the keyfile to get the properties from. </td></tr>
512
 
    <tr><td valign="top"></td><td valign="top"><em>used_keys</em>&nbsp;</td><td>a list of the keys used will be set. </td></tr>
513
 
  </table>
514
 
</dl>
515
 
 
516
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot__mountable.html#489bade6c26fee3669973a158a214404">sbuild::chroot_mountable</a>.</p>
517
 
 
518
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#7a9041e884f3863a2539188809de5357">sbuild::chroot_lvm_snapshot</a>.</p>
519
 
 
520
 
<p>References <a class="el" href="sbuild-chroot_8cc-source.html#l00144">sbuild::chroot::get_name()</a>, <a class="el" href="sbuild-basic-keyfile_8h-source.html#l01031">sbuild::basic_keyfile&lt; K, P &gt;::get_object_value()</a>, <a class="el" href="sbuild-keyfile-base_8h-source.html#l00050">sbuild::keyfile_base::PRIORITY_REQUIRED</a>, <a class="el" href="sbuild-chroot-block-device_8cc-source.html#l00058">set_device()</a>, <a class="el" href="sbuild-chroot-mountable_8cc-source.html#l00107">sbuild::chroot_mountable::set_keyfile()</a>, and <a class="el" href="sbuild-chroot_8cc-source.html#l00583">sbuild::chroot::set_keyfile()</a>.</p>
521
 
 
522
 
<p>Referenced by <a class="el" href="sbuild-chroot-lvm-snapshot_8cc-source.html#l00227">sbuild::chroot_lvm_snapshot::set_keyfile()</a>.</p>
523
 
 
524
 
</div>
525
 
</div><p>
526
518
<hr><h2>Friends And Related Function Documentation</h2>
527
519
<a class="anchor" name="d93ec14845f07d687e98a51953056cd6"></a><!-- doxytag: member="sbuild::chroot_block_device::chroot" ref="d93ec14845f07d687e98a51953056cd6" args="" -->
528
520
<div class="memitem">
566
558
<hr>The documentation for this class was generated from the following files:<ul>
567
559
<li>sbuild/<a class="el" href="sbuild-chroot-block-device_8h-source.html">sbuild-chroot-block-device.h</a><li>sbuild/<a class="el" href="sbuild-chroot-block-device_8cc.html">sbuild-chroot-block-device.cc</a></ul>
568
560
</div>
569
 
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Jul 5 11:59:57 2008 for sbuild by&nbsp;
 
561
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 22 22:18:21 2009 for sbuild by&nbsp;
570
562
<a href="http://www.doxygen.org/index.html">
571
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
 
563
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
572
564
</body>
573
565
</html>