diff options
author | Julian Andres Klode <jak@debian.org> | 2021-01-08 14:07:09 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2021-01-08 14:07:09 +0000 |
commit | d35d51ddbdc75512a73e713972f4bbb5a1fd73ae (patch) | |
tree | 9fb90d98cb20bb0be193a63efc7c32b513408bad /apt-pkg/aptconfiguration.h | |
parent | 4d28ddc501738d571c21ff6d41168f6c53ea462d (diff) | |
parent | bd64bb79537fac17e1474672402d6b0572dce94a (diff) |
Merge branch 'pu/phased-updates' into 'master'
Add support for Phased-Update-Percentage
See merge request apt-team/apt!129
Diffstat (limited to 'apt-pkg/aptconfiguration.h')
-rw-r--r-- | apt-pkg/aptconfiguration.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-pkg/aptconfiguration.h b/apt-pkg/aptconfiguration.h index 2cb2d823a..bbeb156b9 100644 --- a/apt-pkg/aptconfiguration.h +++ b/apt-pkg/aptconfiguration.h @@ -122,7 +122,12 @@ namespace Configuration { /*{{{*/ APT_PUBLIC std::vector<std::string> const getBuildProfiles(); /** \return Return a comma-separated list of enabled build profile specifications */ APT_PUBLIC std::string const getBuildProfilesString(); - /*}}}*/ + + std::string const getMachineID(); + + /** \return Whether we are running in a chroot */ + bool isChroot(); + /*}}}*/ } /*}}}*/ } |