~ubuntu-branches/ubuntu/intrepid/schroot/intrepid

« back to all changes in this revision

Viewing changes to doc/schroot/html/sbuild-chroot_8cc.html

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2006-07-08 18:33:28 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708183328-rlo4mpldmyoda55q
Tags: 0.99.2-2ubuntu1
* remerge ubuntu changes:
  + debian/control: libpam-dev (>> 0.79-3ubuntu6)

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=iso-8859-1">
3
 
<title>schroot: schroot/sbuild-chroot.cc File Reference</title>
 
3
<title>schroot: sbuild/sbuild-chroot.cc File Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
6
</head><body>
7
 
<!-- Generated by Doxygen 1.4.6 -->
 
7
<!-- Generated by Doxygen 1.4.7 -->
8
8
<div class="tabs">
9
9
  <ul>
10
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
12
    <li><a href="annotated.html"><span>Classes</span></a></li>
13
13
    <li id="current"><a href="files.html"><span>Files</span></a></li>
14
14
    <li><a href="dirs.html"><span>Directories</span></a></li>
15
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16
15
  </ul></div>
17
16
<div class="tabs">
18
17
  <ul>
20
19
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
21
20
  </ul></div>
22
21
<div class="nav">
23
 
<a class="el" href="dir_ef6f4477ef9596f6d29add6a4ae2d514.html">schroot</a></div>
 
22
<a class="el" href="dir_5769d7dd62c6719d79ec5ec7998dae58.html">sbuild</a></div>
24
23
<h1>sbuild-chroot.cc File Reference</h1><code>#include &lt;config.h&gt;</code><br>
25
 
<code>#include &quot;<a class="el" href="sbuild_8h-source.html">sbuild.h</a>&quot;</code><br>
 
24
<code>#include &quot;<a class="el" href="sbuild-chroot_8h-source.html">sbuild-chroot.h</a>&quot;</code><br>
 
25
<code>#include &quot;<a class="el" href="sbuild-chroot-plain_8h-source.html">sbuild-chroot-plain.h</a>&quot;</code><br>
 
26
<code>#include &quot;<a class="el" href="sbuild-chroot-file_8h-source.html">sbuild-chroot-file.h</a>&quot;</code><br>
 
27
<code>#include &quot;<a class="el" href="sbuild-chroot-block-device_8h-source.html">sbuild-chroot-block-device.h</a>&quot;</code><br>
 
28
<code>#include &quot;<a class="el" href="sbuild-chroot-lvm-snapshot_8h-source.html">sbuild-chroot-lvm-snapshot.h</a>&quot;</code><br>
 
29
<code>#include &quot;<a class="el" href="sbuild-lock_8h-source.html">sbuild-lock.h</a>&quot;</code><br>
26
30
<code>#include &lt;algorithm&gt;</code><br>
27
31
<code>#include &lt;cerrno&gt;</code><br>
28
32
<code>#include &lt;map&gt;</code><br>
29
33
<code>#include &lt;set&gt;</code><br>
30
34
<code>#include &lt;utility&gt;</code><br>
31
35
<code>#include &lt;ext/stdio_filebuf.h&gt;</code><br>
 
36
<code>#include &lt;sys/types.h&gt;</code><br>
 
37
<code>#include &lt;sys/stat.h&gt;</code><br>
 
38
<code>#include &lt;fcntl.h&gt;</code><br>
32
39
<code>#include &lt;boost/format.hpp&gt;</code><br>
33
40
 
34
41
<p>
35
 
Include dependency graph for sbuild-chroot.cc:<p><center><img src="sbuild-chroot_8cc__incl.png" border="0" usemap="#schroot/sbuild-chroot.cc_map" alt=""></center>
36
 
<map name="schroot/sbuild-chroot.cc_map">
37
 
<area href="sbuild_8h.html" shape="rect" coords="247,56,313,83" alt="">
 
42
Include dependency graph for sbuild-chroot.cc:<p><center><img src="sbuild-chroot_8cc__incl.png" border="0" usemap="#sbuild/sbuild-chroot.cc_map" alt=""></center>
 
43
<map name="sbuild/sbuild-chroot.cc_map">
 
44
<area href="sbuild-chroot_8h.html" shape="rect" coords="760,132,883,159" alt="">
 
45
<area href="sbuild-chroot-plain_8h.html" shape="rect" coords="525,107,685,133" alt="">
 
46
<area href="sbuild-chroot-file_8h.html" shape="rect" coords="531,157,680,184" alt="">
 
47
<area href="sbuild-chroot-block-device_8h.html" shape="rect" coords="499,208,712,235" alt="">
 
48
<area href="sbuild-chroot-lvm-snapshot_8h.html" shape="rect" coords="231,259,449,285" alt="">
 
49
<area href="sbuild-lock_8h.html" shape="rect" coords="287,309,393,336" alt="">
38
50
</map>
39
51
<table border="0" cellpadding="0" cellspacing="0">
40
52
<tr><td></td></tr>
 
53
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
 
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::pair&lt; <a class="el" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2">sbuild::chroot::error_code</a>,<br>
 
55
 const char * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sbuild-chroot_8cc.html#785430d995dce8211cf0543f3f32d2e4">emap</a></td></tr>
 
56
 
 
57
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
 
58
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="sbuild-session_8cc.html#8ab287187e8007da898821371ef9bd79">emap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sbuild-chroot_8cc.html#f57f373df7f7c9fb0efae6da23690016">init_errors</a> []</td></tr>
 
59
 
 
60
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is a list of the supported error codes.  <a href="#f57f373df7f7c9fb0efae6da23690016"></a><br></td></tr>
41
61
</table>
42
 
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 17 14:42:36 2006 for schroot by&nbsp;
 
62
<hr><h2>Typedef Documentation</h2>
 
63
<a class="anchor" name="785430d995dce8211cf0543f3f32d2e4"></a><!-- doxytag: member="sbuild-chroot.cc::emap" ref="785430d995dce8211cf0543f3f32d2e4" args="" -->
 
64
<div class="memitem">
 
65
<div class="memproto">
 
66
      <table class="memname">
 
67
        <tr>
 
68
          <td class="memname">typedef std::pair&lt;<a class="el" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2">sbuild::chroot::error_code</a>,const char *&gt; <a class="el" href="sbuild-session_8cc.html#8ab287187e8007da898821371ef9bd79">emap</a><code> [static]</code>          </td>
 
69
        </tr>
 
70
      </table>
 
71
</div>
 
72
<div class="memdoc">
 
73
 
 
74
<p>
 
75
 
 
76
</div>
 
77
</div><p>
 
78
<hr><h2>Variable Documentation</h2>
 
79
<a class="anchor" name="f57f373df7f7c9fb0efae6da23690016"></a><!-- doxytag: member="sbuild-chroot.cc::init_errors" ref="f57f373df7f7c9fb0efae6da23690016" args="[]" -->
 
80
<div class="memitem">
 
81
<div class="memproto">
 
82
      <table class="memname">
 
83
        <tr>
 
84
          <td class="memname"><a class="el" href="sbuild-session_8cc.html#8ab287187e8007da898821371ef9bd79">emap</a> <a class="el" href="sbuild-session_8cc.html#f57f373df7f7c9fb0efae6da23690016">init_errors</a>[]<code> [static]</code>          </td>
 
85
        </tr>
 
86
      </table>
 
87
</div>
 
88
<div class="memdoc">
 
89
 
 
90
<p>
 
91
<b>Initial value:</b><div class="fragment"><pre class="fragment">
 
92
    {
 
93
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a298afad92293b4f9671212a9873e29ebe">sbuild::chroot::CHROOT_CREATE</a>,   <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Chroot creation failed"</span>)),
 
94
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a215d398598552a2139342669cbc8b4858">sbuild::chroot::CHROOT_DEVICE</a>,   <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Device name not set"</span>)),
 
95
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a29e80175cae1edbf5d00b8dcc5b51a362">sbuild::chroot::CHROOT_TYPE</a>,     <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Unknown chroot type"</span>)),
 
96
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a21ff84fb5efdb50c8f7311592d1f41e68">sbuild::chroot::DEVICE_ABS</a>,      <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Device must have an absolute path"</span>)),
 
97
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2fefdcf6e9c7aea30e198b16f7e8b5e88">sbuild::chroot::DEVICE_LOCK</a>,     <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to lock device"</span>)),
 
98
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2ac1bc689a5c1903b2002093c54d02085">sbuild::chroot::DEVICE_NOTBLOCK</a>, <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"File is not a block device"</span>)),
 
99
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2f958b78b257b92cd04081f1fa13cb231">sbuild::chroot::DEVICE_STAT</a>,     <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to stat device"</span>)),
 
100
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2420beff38038cedd959b7ca68dc02c6f">sbuild::chroot::DEVICE_UNLOCK</a>,   <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to unlock device"</span>)),
 
101
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a228c93038ba7fd9117102d2745b43bffa">sbuild::chroot::FILE_ABS</a>,        <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"File must have an absolute path"</span>)),
 
102
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2b067e837085ed606bcba9caaf4ed6fa4">sbuild::chroot::FILE_LOCK</a>,       <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to acquire file lock"</span>)),
 
103
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2bcbebd3d4420f6596b92d22607072c4c">sbuild::chroot::FILE_NOTREG</a>,     <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"File is not a regular file"</span>)),
 
104
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a215d452353496bf0f809d1e86c6b60e78">sbuild::chroot::FILE_OWNER</a>,      <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"File is not owned by user root"</span>)),
 
105
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a22e995ffbb7fac164b3eae6eda9bed7f7">sbuild::chroot::FILE_PERMS</a>,      <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"File has write permissions for others"</span>)),
 
106
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2471379fe5f006cc89892535598db7fb7">sbuild::chroot::FILE_STAT</a>,       <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to stat file"</span>)),
 
107
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2e8ca82f42e3b793af5d5cec0d87042c4">sbuild::chroot::FILE_UNLOCK</a>,     <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to discard file lock"</span>)),
 
108
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a26c6d75c925b290e3eb88e571980a0911">sbuild::chroot::LOCATION_ABS</a>,    <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Location must have an absolute path"</span>)),
 
109
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2a5496dfa2f3aefef74d3851b91742aea">sbuild::chroot::SESSION_UNLINK</a>,  <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to unlink session file"</span>)),
 
110
      <a class="code" href="sbuild-auth-conv-tty_8cc.html#9a3145af4184baebb22d7e1061da7f6e">emap</a>(<a class="code" href="classsbuild_1_1chroot.html#21d72c946296bb1c4b0db8377062c8a2992524cda72f9710e82bed287b6a98ce">sbuild::chroot::SESSION_WRITE</a>,   <a class="code" href="sbuild-i18n_8h.html#75278405e7f034d2b1af80bfd94675fe">N_</a>(<span class="stringliteral">"Failed to write session file"</span>))
 
111
    }
 
112
</pre></div>This is a list of the supported error codes. 
 
113
<p>
 
114
It's used to construct the real error codes map. 
 
115
</div>
 
116
</div><p>
 
117
<hr size="1"><address style="align: right;"><small>Generated on Thu Jul 6 19:23:32 2006 for schroot by&nbsp;
43
118
<a href="http://www.doxygen.org/index.html">
44
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
 
119
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
45
120
</body>
46
121
</html>