summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <donkult@debian.org>2018-05-21 19:45:19 +0000
committerDavid Kalnischkies <donkult@debian.org>2018-05-21 19:45:19 +0000
commitd66606cb6abbfbbeae2720bcae44833a98f31598 (patch)
tree1381b2663113fed1ae62b9c41f9e7b079562da98 /apt-pkg/depcache.h
parentea901a491bcfe406267c7c38c227c5caabf017a0 (diff)
parent5d263a39d6106f6d20b2b447ffc14ef0c096ea22 (diff)
Merge branch 'debugautoremove' into 'master'
Increase debug verbosity in `apt-get autoremove` See merge request apt-team/apt!9
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r--apt-pkg/depcache.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 4536f3b52..724bf566e 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -88,11 +88,15 @@ class pkgDepCache : protected pkgCache::Namespace
*
* \param follow_suggests If \b true, suggestions of the package
* will be recursively marked.
+ *
+ * \param reason The reason why the package is being marked.
+ * (Used in logging when Debug::pkgAutoRemove is set.)
*/
APT_HIDDEN void MarkPackage(const pkgCache::PkgIterator &pkg,
const pkgCache::VerIterator &ver,
bool const &follow_recommends,
- bool const &follow_suggests);
+ bool const &follow_suggests,
+ const char *reason);
/** \brief Update the Marked field of all packages.
*