dchroot-session.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef DCHROOT_SESSION_H
00020 #define DCHROOT_SESSION_H
00021
00022 #include <dchroot/dchroot-session-base.h>
00023
00024 namespace dchroot
00025 {
00026
00036 class session : public session_base
00037 {
00038 public:
00049 session (std::string const& service,
00050 config_ptr& config,
00051 operation operation,
00052 sbuild::string_list const& chroots,
00053 bool compat);
00054
00056 virtual ~session ();
00057
00058 virtual sbuild::auth::status
00059 get_chroot_auth_status (sbuild::auth::status status,
00060 sbuild::chroot::ptr const& chroot) const;
00061
00062 virtual sbuild::string_list
00063 get_login_directories () const;
00064
00065 virtual void
00066 get_user_command (sbuild::chroot::ptr& session_chroot,
00067 std::string& file,
00068 sbuild::string_list& command) const;
00069 };
00070
00071 }
00072
00073 #endif
00074
00075
00076
00077
00078
00079