|
dpkg 1.22.7-3-g89f48
|
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 |
| void pkg_spec_destroy | ( | struct pkg_spec * | ps | ) |
References pkg_spec::name, and pkg_spec_iter_destroy().
Referenced by getselections(), pkg_spec_find_pkg(), and pkg_spec_parse_pkg().
| struct pkginfo * pkg_spec_find_pkg | ( | const char * | pkgname, |
| const char * | archname, | ||
| struct dpkg_error * | err | ||
| ) |
References dpkg_put_error(), PKG_SPEC_ARCH_SINGLE, pkg_spec_destroy(), pkg_spec_init(), and pkg_spec_set().
| void pkg_spec_init | ( | struct pkg_spec * | ps, |
| enum pkg_spec_flags | flags | ||
| ) |
References pkg_spec::flags.
Referenced by getselections(), pkg_spec_find_pkg(), and pkg_spec_parse_pkg().
| const char * pkg_spec_is_illegal | ( | struct pkg_spec * | ps | ) |
References _, pkg_spec::arch, pkg_spec::arch_is_pattern, DPKG_ARCH_EMPTY, DPKG_ARCH_ILLEGAL, dpkg_arch_name_is_illegal(), DPKG_ARCH_NONE, pkg_spec::flags, dpkg_arch::name, pkg_spec::name, pkg_spec::name_is_pattern, pkg_hash_find_set(), pkg_name_is_illegal(), PKG_SPEC_ARCH_SINGLE, pkgset_installed_instances(), and dpkg_arch::type.
| void pkg_spec_iter_destroy | ( | struct pkg_spec * | ps | ) |
References pkg_hash_iter_free(), and pkg_spec::pkg_iter.
Referenced by pkg_spec_destroy().
| void pkg_spec_iter_init | ( | struct pkg_spec * | ps | ) |
References pkg_spec::name, pkg_spec::name_is_pattern, pkgset::pkg, pkg_hash_find_set(), pkg_hash_iter_new(), pkg_spec::pkg_iter, and pkg_spec::pkg_next.
References pkg_spec::name_is_pattern.
References pkgbin::arch, pkgset::name, pkgset::pkg, and pkginfo::set.
Referenced by getselections().
| const char * pkg_spec_parse | ( | struct pkg_spec * | ps, |
| const char * | str | ||
| ) |
References m_strdup(), and m_strndup().
Referenced by getselections(), and pkg_spec_parse_pkg().
| struct pkginfo * pkg_spec_parse_pkg | ( | const char * | str, |
| struct dpkg_error * | err | ||
| ) |
References dpkg_put_error(), PKG_SPEC_ARCH_SINGLE, pkg_spec_destroy(), pkg_spec_init(), and pkg_spec_parse().
Referenced by dpkg_options_parse_pkgname(), f_trigaw(), setselections(), and trig_file_interests_ensure().
| const char * pkg_spec_set | ( | struct pkg_spec * | ps, |
| const char * | pkgname, | ||
| const char * | archname | ||
| ) |
References m_strdup().
Referenced by pkg_spec_find_pkg().
| enum DPKG_ATTR_ENUM_FLAGS pkg_spec_flags |