dpkg 1.22.7-3-g89f48
|
#include <config.h>
#include <compat.h>
#include <string.h>
#include <stdlib.h>
#include <dpkg/i18n.h>
#include <dpkg/c-ctype.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/arch.h>
Data Structures | |
struct | pkg_hash_iter |
Macros | |
#define | BINS 65521 |
Functions | |
struct pkgset * | pkg_hash_find_set (const char *inname) |
Return the package set with the given name. | |
struct pkginfo * | pkg_hash_get_singleton (struct pkgset *set) |
Return the singleton package instance from a package set. | |
struct pkginfo * | pkg_hash_find_singleton (const char *name) |
Return the singleton package instance with the given name. | |
struct pkginfo * | pkg_hash_get_pkg (struct pkgset *set, const struct dpkg_arch *arch) |
Return the package instance in a set with the given architecture. | |
struct pkginfo * | pkg_hash_find_pkg (const char *name, const struct dpkg_arch *arch) |
Return the package instance with the given name and architecture. | |
int | pkg_hash_count_set (void) |
Return the number of package sets available in the database. | |
int | pkg_hash_count_pkg (void) |
Return the number of package instances available in the database. | |
struct pkg_hash_iter * | pkg_hash_iter_new (void) |
Create a new package iterator. | |
iter The iterator. | |
Free the package database iterator. | |
struct pkgset * | pkg_hash_iter_next_set (struct pkg_hash_iter *iter) |
struct pkginfo * | pkg_hash_iter_next_pkg (struct pkg_hash_iter *iter) |
void | pkg_hash_iter_free (struct pkg_hash_iter *iter) |
void | pkg_hash_reset (void) |
void | pkg_hash_report (FILE *file) |
#define BINS 65521 |