dpkg 1.22.7-3-g89f48
|
#include <stdbool.h>
#include <dpkg/macros.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/error.h>
#include <dpkg/arch.h>
Go to the source code of this file.
Data Structures | |
struct | pkg_spec |
Functions | |
void | pkg_spec_init (struct pkg_spec *ps, enum pkg_spec_flags flags) |
void | pkg_spec_destroy (struct pkg_spec *ps) |
const char * | pkg_spec_is_illegal (struct pkg_spec *ps) |
const char * | pkg_spec_set (struct pkg_spec *ps, const char *pkgname, const char *archname) |
const char * | pkg_spec_parse (struct pkg_spec *ps, const char *str) |
bool | pkg_spec_match_pkg (struct pkg_spec *ps, struct pkginfo *pkg, struct pkgbin *pkgbin) |
struct pkginfo * | pkg_spec_parse_pkg (const char *str, struct dpkg_error *err) |
struct pkginfo * | pkg_spec_find_pkg (const char *pkgname, const char *archname, struct dpkg_error *err) |
void | pkg_spec_iter_init (struct pkg_spec *ps) |
struct pkginfo * | pkg_spec_iter_next_pkg (struct pkg_spec *ps) |
void | pkg_spec_iter_destroy (struct pkg_spec *ps) |
Variables | |
enum DPKG_ATTR_ENUM_FLAGS | pkg_spec_flags |
PKG_SPEC_PATTERNS = DPKG_BIT(0) | |
Recognize glob patterns. | |
PKG_SPEC_ARCH_SINGLE = DPKG_BIT(8) | |
PKG_SPEC_ARCH_WILDCARD = DPKG_BIT(9) | |
PKG_SPEC_ARCH_MASK = 0x0300 | |
PKG_SPEC_ARCH_MASK = 0x0300 |
PKG_SPEC_ARCH_SINGLE = DPKG_BIT(8) |
Referenced by pkg_spec_find_pkg(), pkg_spec_is_illegal(), and pkg_spec_parse_pkg().
PKG_SPEC_ARCH_WILDCARD = DPKG_BIT(9) |
Referenced by getselections().
PKG_SPEC_PATTERNS = DPKG_BIT(0) |
Recognize glob patterns.
Referenced by getselections().