]>
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
);
26 virtual string
ArchiveURI(string File
) const {return URI
+ File
;};
27 virtual bool GetIndexes(pkgAcquire
*Owner
, bool GetAll
=false) const;
28 vector
<struct IndexTarget
*>* ComputeIndexTargets() const;
29 string
Info(const char *Type
, const string Section
) const;
30 string
MetaIndexInfo(const char *Type
) const;
31 string
MetaIndexFile(const char *Types
) const;
32 string
MetaIndexURI(const char *Type
) const;
33 string
IndexURI(const char *Type
, const string Section
) const;
34 string
IndexURISuffix(const char *Type
, const string Section
) const;
35 string
SourceIndexURI(const char *Type
, const string Section
) const;
36 string
SourceIndexURISuffix(const char *Type
, const string Section
) const;
37 virtual vector
<pkgIndexFile
*> *GetIndexFiles();
39 virtual bool IsTrusted() const;
41 void PushSectionEntry(const debSectionEntry
*Entry
);