~ubuntu-branches/ubuntu/maverick/schroot/maverick-updates

« back to all changes in this revision

Viewing changes to doc/schroot/html/dchroot-session-base_8h-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2008-01-20 22:51:04 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20080120225104-3zhs8gk9byqigato
Tags: 1.1.6-1
* New upstream development release.
* Acknowledge NMU.  Thanks to Lucas Nussbaum for fixing the Boost
  library names following another incompatible change in Boost
  (Closes: #439215).
* debian/control: Suggest lvm2 instead of lvm-common (Closes: #452263).
* debian/copyright:
  - Update with new GIT source code repository location.
  - Update licence to GPLv3.
* debian/schroot.init: Update licence to GPLv3.
* bin/schroot/setup/20network, bin/schroot/setup/30passwd: For files to
  copy, compare file device, inode and contents to avoid copying
  identical files (Closes: #428808).
* If unknown keys are present in the configuration file, print a warning
  message to alert the user (Closes: #459658).
* The filesystems to mount in the chroot may be customised by the system
  administrator through the use of an fstab file on a per-chroot basis,
  and a new helper utility, schroot-mount (Closes: #395062, #427047).
  Thanks for your patience while we took the time to implement this the
  right way.
* Update Vietnamese translation (Closes: #461531).  Thanks to Clytie
  Siddall.
* debian/schroot.preinst: Add rm_conffile function to remove
  /etc/schroot/setup.d/20network and /etc/schroot/setup.d/30passwd for
  versions prior to this.  These are replaced by
  /etc/schroot/setup.d/20copyfiles.
* debian/schroot.NEWS: Document conffile changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.5.2 -->
 
7
<!-- Generated by Doxygen 1.5.4 -->
8
8
<div class="tabs">
9
9
  <ul>
10
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
15
15
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16
16
  </ul>
17
17
</div>
18
 
<div class="tabs">
19
 
  <ul>
20
 
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
21
 
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
22
 
  </ul>
23
 
</div>
24
18
<div class="nav">
25
 
<a class="el" href="dir_101a379c6bb6ea5a405fc1dc3c87af45.html">bin</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_371826f56c30980ba8ffa3c1aaf927e5.html">dchroot</a></div>
 
19
<a class="el" href="dir_85aaf03b3f18b2b8320021a91397a390.html">bin</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_1464a4cea228427c85c68a675424585d.html">dchroot</a></div>
26
20
<h1>dchroot-session-base.h</h1><a href="dchroot-session-base_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright © 2005-2007  Roger Leigh &lt;rleigh@debian.org&gt;</span>
27
21
<a name="l00002"></a>00002 <span class="comment"> *</span>
28
 
<a name="l00003"></a>00003 <span class="comment"> * schroot is free software; you can redistribute it and/or modify it</span>
 
22
<a name="l00003"></a>00003 <span class="comment"> * schroot is free software: you can redistribute it and/or modify it</span>
29
23
<a name="l00004"></a>00004 <span class="comment"> * under the terms of the GNU General Public License as published by</span>
30
 
<a name="l00005"></a>00005 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
 
24
<a name="l00005"></a>00005 <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span>
31
25
<a name="l00006"></a>00006 <span class="comment"> * (at your option) any later version.</span>
32
26
<a name="l00007"></a>00007 <span class="comment"> *</span>
33
27
<a name="l00008"></a>00008 <span class="comment"> * schroot is distributed in the hope that it will be useful, but</span>
36
30
<a name="l00011"></a>00011 <span class="comment"> * General Public License for more details.</span>
37
31
<a name="l00012"></a>00012 <span class="comment"> *</span>
38
32
<a name="l00013"></a>00013 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
39
 
<a name="l00014"></a>00014 <span class="comment"> * along with this program; if not, write to the Free Software</span>
40
 
<a name="l00015"></a>00015 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston,</span>
41
 
<a name="l00016"></a>00016 <span class="comment"> * MA  02111-1307  USA</span>
42
 
<a name="l00017"></a>00017 <span class="comment"> *</span>
43
 
<a name="l00018"></a>00018 <span class="comment"> *********************************************************************/</span>
44
 
<a name="l00019"></a>00019 
45
 
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef DCHROOT_SESSION_BASE_H</span>
46
 
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define DCHROOT_SESSION_BASE_H</span>
47
 
<a name="l00022"></a>00022 <span class="preprocessor"></span>
48
 
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;<a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/sbuild-session_8h.html">sbuild/sbuild-session.h</a>&gt;</span>
49
 
<a name="l00024"></a>00024 
50
 
<a name="l00025"></a>00025 <span class="keyword">namespace </span>dchroot
51
 
<a name="l00026"></a>00026 {
52
 
<a name="l00027"></a>00027 
53
 
<a name="l00036"></a><a class="code" href="classdchroot_1_1session__base.html">00036</a>   <span class="keyword">class </span><a class="code" href="classdchroot_1_1session__base.html" title="Basic session handler for dchroot sessions.">session_base</a> : <span class="keyword">public</span> sbuild::<a class="code" href="classdchroot_1_1session.html" title="Session handler for dchroot sessions.">session</a>
54
 
<a name="l00037"></a>00037   {
55
 
<a name="l00038"></a>00038   <span class="keyword">public</span>:
56
 
<a name="l00049"></a>00049     <a class="code" href="classdchroot_1_1session__base.html#7e2ebf54ca20f90731d88ce20ed38ea6" title="The constructor.">session_base</a> (std::string <span class="keyword">const</span>&amp;         <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1auth.html#dcaf92becea2442ba4f49ab336f53c75">service</a>,
57
 
<a name="l00050"></a>00050                   <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1session.html#3bee8f07da6fb7ae900d84906eca268c">config_ptr</a>&amp;                <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1session.html#e5425da430c70dd82e2c60ff85230049">config</a>,
58
 
<a name="l00051"></a>00051                   <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">operation</a>                  <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">operation</a>,
59
 
<a name="l00052"></a>00052                   <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a> <span class="keyword">const</span>&amp; <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1session.html#ddb46f41997944f24027ac5fd0fafd5f">chroots</a>,
60
 
<a name="l00053"></a>00053                   <span class="keywordtype">bool</span>                       <a class="code" href="classdchroot_1_1session__base.html#1fcef96727aef06946ca88e9332cc2dc" title="dchroot compatibility enabled?">compat</a>);
61
 
<a name="l00054"></a>00054 
62
 
<a name="l00056"></a>00056     <span class="keyword">virtual</span> <a class="code" href="classdchroot_1_1session__base.html#5c6d1cd83a8704c5a8c2ceb976f4420b" title="The destructor.">~session_base</a> ();
63
 
<a name="l00057"></a>00057 
64
 
<a name="l00063"></a>00063     <span class="keywordtype">bool</span>
65
 
<a name="l00064"></a>00064     <a class="code" href="classdchroot_1_1session__base.html#1ad1c4752bd31f4e7af3d0f376bbd0bb" title="Get the dchroot compatibility state.">get_compat</a> () <span class="keyword">const</span>;
66
 
<a name="l00065"></a>00065 
67
 
<a name="l00071"></a>00071     <span class="keywordtype">void</span>
68
 
<a name="l00072"></a>00072     <a class="code" href="classdchroot_1_1session__base.html#f5ac460bc719615da837c056dabb54c1" title="Set the dchroot compatibility state.">set_compat</a> (<span class="keywordtype">bool</span> state);
69
 
<a name="l00073"></a>00073 
70
 
<a name="l00074"></a>00074   <span class="keyword">protected</span>:
71
 
<a name="l00075"></a>00075     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
72
 
<a name="l00076"></a>00076     <a class="code" href="classdchroot_1_1session__base.html#fb41b65736b88b9c8a8e14884e291694">run_impl</a> ();
73
 
<a name="l00077"></a>00077 
74
 
<a name="l00078"></a>00078     <span class="keyword">virtual</span> <a class="codeRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a>
75
 
<a name="l00079"></a>00079     <a class="code" href="classdchroot_1_1session__base.html#0f9160dbfd3b1a0af530712d5a884bee">get_command_directories</a> () <span class="keyword">const</span>;
76
 
<a name="l00080"></a>00080 
77
 
<a name="l00081"></a>00081   <span class="keyword">private</span>:
78
 
<a name="l00083"></a><a class="code" href="classdchroot_1_1session__base.html#1fcef96727aef06946ca88e9332cc2dc">00083</a>     <span class="keywordtype">bool</span> compat;
79
 
<a name="l00084"></a>00084   };
80
 
<a name="l00085"></a>00085 
81
 
<a name="l00086"></a>00086 }
82
 
<a name="l00087"></a>00087 
83
 
<a name="l00088"></a>00088 <span class="preprocessor">#endif </span><span class="comment">/* DCHROOT_SESSION_BASE_H */</span>
84
 
<a name="l00089"></a>00089 
85
 
<a name="l00090"></a>00090 <span class="comment">/*</span>
86
 
<a name="l00091"></a>00091 <span class="comment"> * Local Variables:</span>
87
 
<a name="l00092"></a>00092 <span class="comment"> * mode:C++</span>
88
 
<a name="l00093"></a>00093 <span class="comment"> * End:</span>
89
 
<a name="l00094"></a>00094 <span class="comment"> */</span>
90
 
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 8 21:23:55 2007 for schroot by&nbsp;
 
33
<a name="l00014"></a>00014 <span class="comment"> * along with this program.  If not, see</span>
 
34
<a name="l00015"></a>00015 <span class="comment"> * &lt;http://www.gnu.org/licenses/&gt;.</span>
 
35
<a name="l00016"></a>00016 <span class="comment"> *</span>
 
36
<a name="l00017"></a>00017 <span class="comment"> *********************************************************************/</span>
 
37
<a name="l00018"></a>00018 
 
38
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef DCHROOT_SESSION_BASE_H</span>
 
39
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define DCHROOT_SESSION_BASE_H</span>
 
40
<a name="l00021"></a>00021 <span class="preprocessor"></span>
 
41
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;<a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/sbuild-session_8h.html">sbuild/sbuild-session.h</a>&gt;</span>
 
42
<a name="l00023"></a>00023 
 
43
<a name="l00024"></a>00024 <span class="keyword">namespace </span>dchroot
 
44
<a name="l00025"></a>00025 {
 
45
<a name="l00026"></a>00026 
 
46
<a name="l00035"></a><a class="code" href="classdchroot_1_1session__base.html">00035</a>   <span class="keyword">class </span><a class="code" href="classdchroot_1_1session__base.html" title="Basic session handler for dchroot sessions.">session_base</a> : <span class="keyword">public</span> sbuild::<a class="code" href="classdchroot_1_1session.html" title="Session handler for dchroot sessions.">session</a>
 
47
<a name="l00036"></a>00036   {
 
48
<a name="l00037"></a>00037   <span class="keyword">public</span>:
 
49
<a name="l00048"></a>00048     <a class="code" href="classdchroot_1_1session__base.html#7e2ebf54ca20f90731d88ce20ed38ea6" title="The constructor.">session_base</a> (std::string <span class="keyword">const</span>&amp;         <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1auth.html#dcaf92becea2442ba4f49ab336f53c75">service</a>,
 
50
<a name="l00049"></a>00049                   <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1session.html#3bee8f07da6fb7ae900d84906eca268c">config_ptr</a>&amp;                <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1session.html#e5425da430c70dd82e2c60ff85230049">config</a>,
 
51
<a name="l00050"></a>00050                   <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">operation</a>                  <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">operation</a>,
 
52
<a name="l00051"></a>00051                   <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a> <span class="keyword">const</span>&amp; <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1session.html#ddb46f41997944f24027ac5fd0fafd5f">chroots</a>,
 
53
<a name="l00052"></a>00052                   <span class="keywordtype">bool</span>                       <a class="code" href="classdchroot_1_1session__base.html#1fcef96727aef06946ca88e9332cc2dc" title="dchroot compatibility enabled?">compat</a>);
 
54
<a name="l00053"></a>00053 
 
55
<a name="l00055"></a>00055     <span class="keyword">virtual</span> <a class="code" href="classdchroot_1_1session__base.html#5c6d1cd83a8704c5a8c2ceb976f4420b" title="The destructor.">~session_base</a> ();
 
56
<a name="l00056"></a>00056 
 
57
<a name="l00062"></a>00062     <span class="keywordtype">bool</span>
 
58
<a name="l00063"></a>00063     <a class="code" href="classdchroot_1_1session__base.html#a2ef1c3b8ece875496a8a73cf7f98cf2" title="Get the dchroot compatibility state.">get_compat</a> () <span class="keyword">const</span>;
 
59
<a name="l00064"></a>00064 
 
60
<a name="l00070"></a>00070     <span class="keywordtype">void</span>
 
61
<a name="l00071"></a>00071     <a class="code" href="classdchroot_1_1session__base.html#f5ac460bc719615da837c056dabb54c1" title="Set the dchroot compatibility state.">set_compat</a> (<span class="keywordtype">bool</span> state);
 
62
<a name="l00072"></a>00072 
 
63
<a name="l00073"></a>00073   <span class="keyword">protected</span>:
 
64
<a name="l00074"></a>00074     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
 
65
<a name="l00075"></a>00075     <a class="code" href="classdchroot_1_1session__base.html#fb41b65736b88b9c8a8e14884e291694">run_impl</a> ();
 
66
<a name="l00076"></a>00076 
 
67
<a name="l00077"></a>00077     <span class="keyword">virtual</span> <a class="codeRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a>
 
68
<a name="l00078"></a>00078     <a class="code" href="classdchroot_1_1session__base.html#e357b79113af39bed059288960f6d745">get_command_directories</a> () <span class="keyword">const</span>;
 
69
<a name="l00079"></a>00079 
 
70
<a name="l00080"></a>00080   <span class="keyword">private</span>:
 
71
<a name="l00082"></a><a class="code" href="classdchroot_1_1session__base.html#1fcef96727aef06946ca88e9332cc2dc">00082</a>     <span class="keywordtype">bool</span> compat;
 
72
<a name="l00083"></a>00083   };
 
73
<a name="l00084"></a>00084 
 
74
<a name="l00085"></a>00085 }
 
75
<a name="l00086"></a>00086 
 
76
<a name="l00087"></a>00087 <span class="preprocessor">#endif </span><span class="comment">/* DCHROOT_SESSION_BASE_H */</span>
 
77
<a name="l00088"></a>00088 
 
78
<a name="l00089"></a>00089 <span class="comment">/*</span>
 
79
<a name="l00090"></a>00090 <span class="comment"> * Local Variables:</span>
 
80
<a name="l00091"></a>00091 <span class="comment"> * mode:C++</span>
 
81
<a name="l00092"></a>00092 <span class="comment"> * End:</span>
 
82
<a name="l00093"></a>00093 <span class="comment"> */</span>
 
83
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 21 00:38:28 2008 for schroot by&nbsp;
91
84
<a href="http://www.doxygen.org/index.html">
92
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 
85
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
93
86
</body>
94
87
</html>