diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-10-25 18:42:24 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-10-25 18:42:24 +0000 |
| commit | 2698c1e186accebefa320ebacde7ec3c40c66c29 (patch) | |
| tree | 100d5321f364b389100928e927639e852c52ff48 /apt-pkg/aptconfiguration.h | |
| parent | a92a5ecc465055027d9fbb899f359ec7eab110bd (diff) | |
| parent | 9d62eef571ffd1fd2df8b97884d3689fced27fb1 (diff) | |
Merge branch 'variants-submit' into 'main'
Merge Architecture variants from Ubuntu
See merge request apt-team/apt!526
Diffstat (limited to 'apt-pkg/aptconfiguration.h')
| -rw-r--r-- | apt-pkg/aptconfiguration.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apt-pkg/aptconfiguration.h b/apt-pkg/aptconfiguration.h index 58c925b7f..c1979f3cc 100644 --- a/apt-pkg/aptconfiguration.h +++ b/apt-pkg/aptconfiguration.h @@ -131,6 +131,15 @@ namespace Configuration { /*{{{*/ /** \return Check usr is merged or produce error. */ APT_PUBLIC bool checkUsrMerged(); APT_PUBLIC std::string color(std::string const &colorName, std::string const &content = ""); + + struct ArchitectureVariant + { + std::string name; + std::string base; + std::vector<std::string> cpuflags; + std::vector<std::string> supplants{}; + }; + APT_HIDDEN std::vector<ArchitectureVariant> getArchitectureVariants(bool cached); #endif /*}}}*/ |
