diff options
author | Julian Andres Klode <jak@debian.org> | 2021-01-04 10:17:45 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2021-01-04 10:17:45 +0000 |
commit | fba6d562bda307bb1e619c255682079aa86c68ac (patch) | |
tree | c66205b3d0def0fb9b47d3a6b61edae0045dc906 /apt-pkg/depcache.h | |
parent | da468783ecfb0b5a8575b1d91abae193519ef5a7 (diff) | |
parent | 38c49b8adeadf54f147140b3a5db7693e9b9b50f (diff) |
Merge branch 'pu/kernel-autoremove' into 'master'
Determine autoremovable kernels at run-time
See merge request apt-team/apt!138
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r-- | apt-pkg/depcache.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h index 78f88ba2f..9a6019092 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -380,6 +380,9 @@ class APT_PUBLIC pkgDepCache : protected pkgCache::Namespace */ virtual InRootSetFunc *GetRootSetFunc(); + /** This should return const really - do not delete. */ + InRootSetFunc *GetCachedRootSetFunc() APT_HIDDEN; + /** \return \b true if the garbage collector should follow recommendations. */ virtual bool MarkFollowsRecommends(); @@ -516,7 +519,8 @@ class APT_PUBLIC pkgDepCache : protected pkgCache::Namespace bool const rPurge, unsigned long const Depth, bool const FromUser); private: - void * const d; + struct Private; + Private *const d; APT_HIDDEN bool MarkInstall_StateChange(PkgIterator const &Pkg, bool AutoInst, bool FromUser); APT_HIDDEN bool MarkInstall_DiscardInstall(PkgIterator const &Pkg); |