]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debmetaindex.h
cachefile: Only set members that were initialized successfully
[apt.git] / apt-pkg / deb / debmetaindex.h
index 419cbdc9dc72e958a23c40ff64062f36a5f7c433..2bb9ed69305c47f8776acfa9d47e595e798e8bf2 100644 (file)
@@ -58,13 +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(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