|
dpkg 1.22.7-3-g89f48
|
#include <config.h>#include <compat.h>#include <fnmatch.h>#include <string.h>#include <stdlib.h>#include <stdio.h>#include <dpkg/i18n.h>#include <dpkg/c-ctype.h>#include <dpkg/dpkg.h>#include <dpkg/dpkg-db.h>#include <dpkg/pkg-array.h>#include <dpkg/pkg-show.h>#include <dpkg/pkg-spec.h>#include <dpkg/options.h>#include <dpkg/db-ctrl.h>#include <dpkg/db-fsys.h>#include "main.h"Functions | |
| int | getselections (const char *const *argv) |
| int | setselections (const char *const *argv) |
| int | clearselections (const char *const *argv) |
| int clearselections | ( | const char *const * | argv | ) |
References _, badusage(), cipaction, pkgbin::essential, f_noact, pkginfo::installed, pkgbin::is_protected, modstatdb_open(), modstatdb_rw, modstatdb_shutdown(), msdbrw_readonly, msdbrw_write, cmdinfo::olong, pkg_hash_iter_free(), pkg_hash_iter_new(), pkg_hash_iter_next_pkg(), pkg_infodb_upgrade(), pkg_set_want(), PKG_WANT_DEINSTALL, PKG_WANT_UNKNOWN, dpkg_error::type, and pkginfo::want.
| int getselections | ( | const char *const * | argv | ) |
References _, pkginfo::installed, m_output(), modstatdb_open(), modstatdb_shutdown(), msdbrw_readonly, pkg_array::n_pkgs, notice(), pkg_array_destroy(), pkg_array_init_from_hash(), pkg_array_sort(), pkg_sorter_by_nonambig_name_arch(), PKG_SPEC_ARCH_WILDCARD, pkg_spec_destroy(), pkg_spec_init(), pkg_spec_match_pkg(), pkg_spec_parse(), PKG_SPEC_PATTERNS, PKG_STAT_NOTINSTALLED, pkg_array::pkgs, and pkginfo::status.
| int setselections | ( | const char *const * | argv | ) |
References _, pkginfo::available, badusage(), cipaction, f_noact, pkginfo::installed, modstatdb_open(), modstatdb_rw, modstatdb_shutdown(), msdbrw_available_readonly, msdbrw_readonly, msdbrw_write, namevalue_find_by_name(), ohshit(), ohshite(), cmdinfo::olong, pkg_infodb_upgrade(), pkg_is_informative(), pkg_set_want(), pkg_spec_parse_pkg(), dpkg_error::str, dpkg_error::type, varbuf_add_char(), varbuf_destroy(), VARBUF_INIT, varbuf_reset(), varbuf_str(), wantinfos, and warning().