summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsystem.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2018-08-07 13:51:13 +0000
committerJulian Andres Klode <jak@debian.org>2018-08-07 13:51:13 +0000
commite165588b0b9bc7c484c91e324b6b9418b0a29457 (patch)
tree0e20b60cfc4e79ceebe916cef692ffa8cf7ec875 /apt-pkg/deb/debsystem.h
parent1ff389a5053e9ece91db8199afdcec16090a76b0 (diff)
parentc2c8b4787b0882234ba2772ec7513afbf97b563a (diff)
Merge branch 'bugfix/big-lock' into 'master'
Add support for dpkg frontend lock See merge request apt-team/apt!11
Diffstat (limited to 'apt-pkg/deb/debsystem.h')
-rw-r--r--apt-pkg/deb/debsystem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/deb/debsystem.h b/apt-pkg/deb/debsystem.h
index 7b59fc073..4503676fa 100644
--- a/apt-pkg/deb/debsystem.h
+++ b/apt-pkg/deb/debsystem.h
@@ -50,6 +50,10 @@ class debSystem : public pkgSystem
APT_HIDDEN static pid_t ExecDpkg(std::vector<std::string> const &sArgs, int * const inputFd, int * const outputFd, bool const DiscardOutput);
APT_HIDDEN static bool SupportsMultiArch();
APT_HIDDEN static std::vector<std::string> SupportedArchitectures();
+
+ APT_HIDDEN bool LockInner();
+ APT_HIDDEN bool UnLockInner(bool NoErrors=false);
+ APT_HIDDEN bool IsLocked();
};
extern debSystem debSys;