dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
pkg-spec.h File Reference

(b95c96c27)

#include <stdbool.h>
#include <dpkg/macros.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/error.h>
#include <dpkg/arch.h>
Include dependency graph for pkg-spec.h:
This graph shows which files directly or indirectly include this file:

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 pkginfopkg_spec_parse_pkg (const char *str, struct dpkg_error *err)
 
struct pkginfopkg_spec_find_pkg (const char *pkgname, const char *archname, struct dpkg_error *err)
 
void pkg_spec_iter_init (struct pkg_spec *ps)
 
struct pkginfopkg_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
 

Variable Documentation

◆ PKG_SPEC_ARCH_MASK

PKG_SPEC_ARCH_MASK = 0x0300

◆ PKG_SPEC_ARCH_SINGLE

PKG_SPEC_ARCH_SINGLE = DPKG_BIT(8)

◆ PKG_SPEC_ARCH_WILDCARD

PKG_SPEC_ARCH_WILDCARD = DPKG_BIT(9)

Referenced by getselections().

◆ PKG_SPEC_PATTERNS

PKG_SPEC_PATTERNS = DPKG_BIT(0)

Recognize glob patterns.

Referenced by getselections().