1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>schroot: dchroot-dsa/dchroot-dsa-session.h Source File</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.4.7 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
<li><a href="annotated.html"><span>Classes</span></a></li>
13
<li id="current"><a href="files.html"><span>Files</span></a></li>
14
<li><a href="dirs.html"><span>Directories</span></a></li>
18
<li><a href="files.html"><span>File List</span></a></li>
19
<li><a href="globals.html"><span>File Members</span></a></li>
22
<a class="el" href="dir_0800364c549c814940bfb1c0250b6b6c.html">dchroot-dsa</a></div>
23
<h1>dchroot-dsa-session.h</h1><a href="dchroot-dsa-session_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-2006 Roger Leigh <rleigh@debian.org></span>
24
<a name="l00002"></a>00002 <span class="comment"> *</span>
25
<a name="l00003"></a>00003 <span class="comment"> * schroot is free software; you can redistribute it and/or modify it</span>
26
<a name="l00004"></a>00004 <span class="comment"> * under the terms of the GNU General Public License as published by</span>
27
<a name="l00005"></a>00005 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
28
<a name="l00006"></a>00006 <span class="comment"> * (at your option) any later version.</span>
29
<a name="l00007"></a>00007 <span class="comment"> *</span>
30
<a name="l00008"></a>00008 <span class="comment"> * schroot is distributed in the hope that it will be useful, but</span>
31
<a name="l00009"></a>00009 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span>
32
<a name="l00010"></a>00010 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
33
<a name="l00011"></a>00011 <span class="comment"> * General Public License for more details.</span>
34
<a name="l00012"></a>00012 <span class="comment"> *</span>
35
<a name="l00013"></a>00013 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
36
<a name="l00014"></a>00014 <span class="comment"> * along with this program; if not, write to the Free Software</span>
37
<a name="l00015"></a>00015 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston,</span>
38
<a name="l00016"></a>00016 <span class="comment"> * MA 02111-1307 USA</span>
39
<a name="l00017"></a>00017 <span class="comment"> *</span>
40
<a name="l00018"></a>00018 <span class="comment"> *********************************************************************/</span>
41
<a name="l00019"></a>00019
42
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef DCHROOT_DSA_SESSION_H</span>
43
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define DCHROOT_DSA_SESSION_H</span>
44
<a name="l00022"></a>00022 <span class="preprocessor"></span>
45
<a name="l00023"></a>00023 <span class="preprocessor">#include <<a class="code" href="dchroot-session-base_8h.html">dchroot/dchroot-session-base.h</a>></span>
46
<a name="l00024"></a>00024
47
<a name="l00025"></a>00025 <span class="keyword">namespace </span>dchroot_dsa
48
<a name="l00026"></a>00026 {
49
<a name="l00027"></a>00027
50
<a name="l00038"></a><a class="code" href="classdchroot__dsa_1_1session.html">00038</a> <span class="keyword">class </span><a class="code" href="classdchroot__dsa_1_1session.html">session</a> : <span class="keyword">public</span> dchroot::session_base
51
<a name="l00039"></a>00039 {
52
<a name="l00040"></a>00040 <span class="keyword">public</span>:
53
<a name="l00051"></a>00051 <a class="code" href="classdchroot__dsa_1_1session.html#040f58195fb94248533b5060963a2f4f">session</a> (std::string <span class="keyword">const</span>& <a class="code" href="classsbuild_1_1auth.html#dcaf92becea2442ba4f49ab336f53c75">service</a>,
54
<a name="l00052"></a>00052 <a class="code" href="classsbuild_1_1session.html#3bee8f07da6fb7ae900d84906eca268c">config_ptr</a>& <a class="code" href="classsbuild_1_1session.html#e5425da430c70dd82e2c60ff85230049">config</a>,
55
<a name="l00053"></a>00053 <a class="code" href="classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">operation</a> <a class="code" href="classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">operation</a>,
56
<a name="l00054"></a>00054 <a class="code" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a> <span class="keyword">const</span>& <a class="code" href="classsbuild_1_1session.html#ddb46f41997944f24027ac5fd0fafd5f">chroots</a>,
57
<a name="l00055"></a>00055 <span class="keywordtype">bool</span> <a class="code" href="classdchroot_1_1session__base.html#1fcef96727aef06946ca88e9332cc2dc">compat</a>);
58
<a name="l00056"></a>00056
59
<a name="l00058"></a>00058 <span class="keyword">virtual</span> <a class="code" href="classdchroot__dsa_1_1session.html#25f3c561e9e7e56327809de6bb796e78">~session</a> ();
60
<a name="l00059"></a>00059
61
<a name="l00060"></a>00060 <span class="keyword">virtual</span> <a class="code" href="classsbuild_1_1auth.html#83fe135bdd88e81e6309519dfdcbf36e">sbuild::auth::status</a>
62
<a name="l00061"></a>00061 <a class="code" href="classdchroot__dsa_1_1session.html#ffc41685b22f545b9a9e2608a09e388a">get_chroot_auth_status</a> (<a class="code" href="classsbuild_1_1auth.html#83fe135bdd88e81e6309519dfdcbf36e">sbuild::auth::status</a> <a class="code" href="classsbuild_1_1auth.html#83fe135bdd88e81e6309519dfdcbf36e">status</a>,
63
<a name="l00062"></a>00062 <a class="code" href="classsbuild_1_1chroot.html#ef7d5b607d1a0a4a7ebe1d40e2ec9c3a">sbuild::chroot::ptr</a> <span class="keyword">const</span>& chroot) <span class="keyword">const</span>;
64
<a name="l00063"></a>00063
65
<a name="l00064"></a>00064 <span class="keyword">virtual</span> <a class="code" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a>
66
<a name="l00065"></a>00065 <a class="code" href="classdchroot__dsa_1_1session.html#d4392d0823ad2d9fc324826c64f23440">get_login_directories</a> () <span class="keyword">const</span>;
67
<a name="l00066"></a>00066
68
<a name="l00067"></a>00067 <span class="keyword">virtual</span> <span class="keywordtype">void</span>
69
<a name="l00068"></a>00068 <a class="code" href="classdchroot__dsa_1_1session.html#202d291dbd4bfc2adc0a165b34c2ca10">get_user_command</a> (<a class="code" href="classsbuild_1_1chroot.html#ef7d5b607d1a0a4a7ebe1d40e2ec9c3a">sbuild::chroot::ptr</a>& session_chroot,
70
<a name="l00069"></a>00069 std::string& file,
71
<a name="l00070"></a>00070 <a class="code" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a>& <a class="code" href="classsbuild_1_1auth.html#7b1ee77debeb9f6881849536eee13263">command</a>) <span class="keyword">const</span>;
72
<a name="l00071"></a>00071 };
73
<a name="l00072"></a>00072
74
<a name="l00073"></a>00073 }
75
<a name="l00074"></a>00074
76
<a name="l00075"></a>00075 <span class="preprocessor">#endif </span><span class="comment">/* DCHROOT_DSA_SESSION_H */</span>
77
<a name="l00076"></a>00076
78
<a name="l00077"></a>00077 <span class="comment">/*</span>
79
<a name="l00078"></a>00078 <span class="comment"> * Local Variables:</span>
80
<a name="l00079"></a>00079 <span class="comment"> * mode:C++</span>
81
<a name="l00080"></a>00080 <span class="comment"> * End:</span>
82
<a name="l00081"></a>00081 <span class="comment"> */</span>
83
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jul 6 19:21:41 2006 for schroot by
84
<a href="http://www.doxygen.org/index.html">
85
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>