]>
git.saurik.com Git - apt.git/blob - apt-pkg/deb/debmetaindex.h
2 #ifndef PKGLIB_DEBMETAINDEX_H
3 #define PKGLIB_DEBMETAINDEX_H
5 #include <apt-pkg/metaindex.h>
6 #include <apt-pkg/sourcelist.h>
8 class debReleaseIndex
: public metaIndex
{
14 debSectionEntry (string Section
, bool IsSrc
);
20 vector
<const debSectionEntry
*> SectionEntries
;
24 debReleaseIndex(string URI
, string Dist
);
27 virtual string
ArchiveURI(string File
) const {return URI
+ File
;};
28 virtual bool GetIndexes(pkgAcquire
*Owner
, bool GetAll
=false) const;
29 vector
<struct IndexTarget
*>* ComputeIndexTargets() const;
30 string
Info(const char *Type
, const string Section
) const;
31 string
MetaIndexInfo(const char *Type
) const;
32 string
MetaIndexFile(const char *Types
) const;
33 string
MetaIndexURI(const char *Type
) const;
34 string
IndexURI(const char *Type
, const string Section
) const;
35 string
IndexURISuffix(const char *Type
, const string Section
) const;
36 string
SourceIndexURI(const char *Type
, const string Section
) const;
37 string
SourceIndexURISuffix(const char *Type
, const string Section
) const;
38 virtual vector
<pkgIndexFile
*> *GetIndexFiles();
40 virtual bool IsTrusted() const;
42 void PushSectionEntry(const debSectionEntry
*Entry
);