diff options
Diffstat (limited to 'apt-pkg/aptconfiguration.h')
| -rw-r--r-- | apt-pkg/aptconfiguration.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/aptconfiguration.h b/apt-pkg/aptconfiguration.h index bbeb156b9..3e2636edc 100644 --- a/apt-pkg/aptconfiguration.h +++ b/apt-pkg/aptconfiguration.h @@ -125,8 +125,12 @@ namespace Configuration { /*{{{*/ std::string const getMachineID(); +#ifdef APT_COMPILING_APT /** \return Whether we are running in a chroot */ - bool isChroot(); + APT_PUBLIC bool isChroot(); + /** \return Check usr is merged or produce error. */ + APT_PUBLIC bool checkUsrMerged(); +#endif /*}}}*/ } /*}}}*/ |
