dpkg 1.22.7-3-g89f48
|
#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
#include <fcntl.h>
#include <dirent.h>
#include <unistd.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/macros.h>
#include <dpkg/i18n.h>
#include <dpkg/c-ctype.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/arch.h>
#include <dpkg/subproc.h>
#include <dpkg/command.h>
#include <dpkg/pager.h>
#include <dpkg/options.h>
#include <dpkg/db-fsys.h>
#include "main.h"
#include "filters.h"
Data Structures | |
struct | debuginfo |
Macros | |
#define | DBG_DEF(n, d) { .flag = dbg_##n, .name = #n, .desc = d } |
#define | ACTIONBACKEND(longopt, shortopt, backend) { longopt, shortopt, 0, NULL, NULL, setaction, 0, (void *)backend, execbackend } |
Functions | |
int | execbackend (const char *const *argv) DPKG_ATTR_NORET |
int | commandfd (const char *const *argv) |
int | main (int argc, const char *const *argv) |
Variables | |
int | f_robot = 0 |
int | f_pending =0 |
int | f_recursive =0 |
int | f_alsoselect =1 |
int | f_skipsame =0 |
int | f_noact =0 |
int | f_autodeconf =0 |
int | f_nodebsig =0 |
int | f_triggers = 0 |
int | errabort = 50 |
struct pkg_list * | ignoredependss = NULL |
#define ACTIONBACKEND | ( | longopt, | |
shortopt, | |||
backend | |||
) | { longopt, shortopt, 0, NULL, NULL, setaction, 0, (void *)backend, execbackend } |
#define DBG_DEF | ( | n, | |
d | |||
) | { .flag = dbg_##n, .name = #n, .desc = d } |
int commandfd | ( | const char *const * | argv | ) |
References _, cmdinfo::action, badusage(), varbuf::buf, cipaction, dpkg_options_parse(), dpkg_options_parse_arg_int(), ehflag_normaltidy, fsys_hash_reset(), m_realloc(), m_strdup(), ohshit(), ohshite(), cmdinfo::olong, pop_error_context(), push_error_context(), setaction(), varbuf::used, varbuf_add_char(), VARBUF_INIT, and varbuf_reset().
int execbackend | ( | const char *const * | argv | ) |
References cmdinfo::arg_ptr, command::argv, cipaction, command_add_arg(), command_add_argl(), command_exec(), command_init(), cmdinfo::olong, and str_fmt().
int main | ( | int | argc, |
const char *const * | argv | ||
) |
References _, act_triggers, cmdinfo::action, cmdinfo::arg_int, badusage(), cipaction, dbg_general, debug(), DPKG, dpkg_db_get_dir(), dpkg_fsys_get_dir(), dpkg_locales_done(), dpkg_locales_init(), dpkg_options_load(), dpkg_options_parse(), dpkg_program_done(), dpkg_program_init(), f_triggers, FORCE_ALL, FORCE_NON_ROOT, get_force_string(), in_force(), ohshite(), cmdinfo::olong, reportbroken_retexitstatus(), and set_force_default().
int errabort = 50 |
int f_alsoselect =1 |
Referenced by wanttoinstall().
int f_autodeconf =0 |
Referenced by check_breaks().
int f_noact =0 |
Referenced by archivefiles(), clearselections(), deferred_configure(), deferred_remove(), packages(), process_archive(), setselections(), trigproc(), and updateavailable().
int f_nodebsig =0 |
Referenced by process_archive().
int f_pending =0 |
Referenced by deferred_remove(), and packages().
int f_recursive =0 |
Referenced by archivefiles().
int f_robot = 0 |
int f_skipsame =0 |
Referenced by wanttoinstall().
int f_triggers = 0 |
Referenced by main().
struct pkg_list* ignoredependss = NULL |
Referenced by ignore_depends().