13 #ifndef PKGLIB_VENDORLIST_H
14 #define PKGLIB_VENDORLIST_H
18 #include <apt-pkg/macros.h>
20 #ifndef APT_8_CLEANER_HEADERS
21 #include <apt-pkg/vendor.h>
22 #include <apt-pkg/configuration.h>
33 std::vector<Vendor const *> VendorList;
36 const Vendor* LookupFingerprint(std::string Fingerprint);
39 typedef std::vector<Vendor const *>::const_iterator const_iterator;
41 bool Read(std::string File);
44 inline const_iterator begin()
const {
return VendorList.begin();};
45 inline const_iterator end()
const {
return VendorList.end();};
46 inline unsigned int size()
const {
return VendorList.size();};
47 inline bool empty()
const {
return VendorList.empty();};
49 const Vendor* FindVendor(
const std::vector<std::string> GPGVOutput);