]> git.saurik.com Git - apt.git/commit - apt-pkg/statechanges.cc
provide public interface to hold/unhold packages
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 25 Sep 2015 09:25:25 +0000 (11:25 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 4 Nov 2015 17:04:00 +0000 (18:04 +0100)
commitb49068c566d749130e023536d54588c948c16edf
tree9d4b0921040f2b529eda14c2d2cc209be0815d37
parent05ef357e575e9c25eb6a35cb693d1eb19bb14d45
provide public interface to hold/unhold packages

We had this code lying around in apt-mark for a while now, but other
frontends need this (and similar) functionality as well, so its high
time that we provide a public interface in libapt for this stuff.
apt-pkg/deb/debsystem.cc
apt-pkg/deb/debsystem.h
apt-pkg/policy.cc
apt-pkg/statechanges.cc [new file with mode: 0644]
apt-pkg/statechanges.h [new file with mode: 0644]
cmdline/apt-mark.cc
test/integration/test-apt-mark