]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debmetaindex.h
edsp: drop privileges before executing solvers
[apt.git] / apt-pkg / deb / debmetaindex.h
index bba0e344f87fd3b6576874ba886d230eeebabaf8..2bb9ed69305c47f8776acfa9d47e595e798e8bf2 100644 (file)
@@ -58,12 +58,15 @@ class APT_HIDDEN debReleaseIndex : public metaIndex
    bool SetSignedBy(std::string const &SignedBy);
 
    virtual bool IsTrusted() const APT_OVERRIDE;
+   bool IsArchitectureSupported(std::string const &arch) const;
+   bool IsArchitectureAllSupportedFor(IndexTarget const &target) const;
 
-   void AddComponent(bool const isSrc, std::string const &Name,
+   void AddComponent(std::string const &sourcesEntry,
+        bool const isSrc, std::string const &Name,
         std::vector<std::string> const &Targets,
         std::vector<std::string> const &Architectures,
         std::vector<std::string> Languages,
-        bool const usePDiffs);
+        bool const usePDiffs, std::string const &useByHash);
 };
 
 #endif