sbuild
1.6.5
Main Page
Related Pages
Namespaces
Classes
Files
File List
sbuild
sbuild-chroot-plain.h
1
/* Copyright © 2005-2007 Roger Leigh <rleigh@debian.org>
2
*
3
* schroot is free software: you can redistribute it and/or modify it
4
* under the terms of the GNU General Public License as published by
5
* the Free Software Foundation, either version 3 of the License, or
6
* (at your option) any later version.
7
*
8
* schroot is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see
15
* <http://www.gnu.org/licenses/>.
16
*
17
*********************************************************************/
18
19
#ifndef SBUILD_CHROOT_PLAIN_H
20
#define SBUILD_CHROOT_PLAIN_H
21
22
#include <sbuild/sbuild-chroot-directory-base.h>
23
24
namespace
sbuild
25
{
26
34
class
chroot_plain
:
public
chroot_directory_base
35
{
36
protected
:
38
chroot_plain
();
39
40
friend
class
chroot
;
41
42
public
:
44
virtual
~chroot_plain
();
45
46
virtual
chroot::ptr
47
clone
()
const
;
48
49
virtual
chroot::ptr
50
clone_session
(std::string
const
& session_id,
51
std::string
const
& alias,
52
std::string
const
& user,
53
bool
root)
const
;
54
55
virtual
chroot::ptr
56
clone_source
()
const
;
57
58
virtual
std::string
59
get_path
()
const
;
60
61
virtual
std::string
const
&
62
get_chroot_type
()
const
;
63
64
virtual
session_flags
65
get_session_flags
(
chroot
const
&
chroot
)
const
;
66
67
protected
:
68
virtual
void
69
setup_lock
(
chroot::setup_type
type,
70
bool
lock
,
71
int
status);
72
};
73
74
}
75
76
#endif
/* SBUILD_CHROOT_PLAIN_H */
77
78
/*
79
* Local Variables:
80
* mode:C++
81
* End:
82
*/
Generated on Mon Jan 28 2013 05:15:41 for sbuild by
1.8.3.1