dpkg 1.21.11
|
Go to the source code of this file.
Enumerations | |
enum | force_flags { FORCE_ARCHITECTURE = DPKG_BIT(0) , FORCE_BAD_PATH = DPKG_BIT(1) , FORCE_BAD_VERIFY = DPKG_BIT(2) , FORCE_BAD_VERSION = DPKG_BIT(3) , FORCE_BREAKS = DPKG_BIT(4) , FORCE_CONFF_ASK = DPKG_BIT(5) , FORCE_CONFF_DEF = DPKG_BIT(6) , FORCE_CONFF_MISS = DPKG_BIT(7) , FORCE_CONFF_NEW = DPKG_BIT(8) , FORCE_CONFF_OLD = DPKG_BIT(9) , FORCE_CONFIGURE_ANY = DPKG_BIT(10) , FORCE_CONFLICTS = DPKG_BIT(11) , FORCE_DEPENDS = DPKG_BIT(12) , FORCE_DEPENDS_VERSION = DPKG_BIT(13) , FORCE_DOWNGRADE = DPKG_BIT(14) , FORCE_HOLD = DPKG_BIT(15) , FORCE_NON_ROOT = DPKG_BIT(16) , FORCE_OVERWRITE = DPKG_BIT(17) , FORCE_OVERWRITE_DIR = DPKG_BIT(18) , FORCE_OVERWRITE_DIVERTED = DPKG_BIT(19) , FORCE_REMOVE_ESSENTIAL = DPKG_BIT(20) , FORCE_REMOVE_REINSTREQ = DPKG_BIT(21) , FORCE_SCRIPT_CHROOTLESS = DPKG_BIT(22) , FORCE_UNSAFE_IO = DPKG_BIT(23) , FORCE_STATOVERRIDE_ADD = DPKG_BIT(24) , FORCE_STATOVERRIDE_DEL = DPKG_BIT(25) , FORCE_SECURITY_MAC = DPKG_BIT(26) , FORCE_REMOVE_PROTECTED = DPKG_BIT(27) , FORCE_ALL = 0xffffffff } |
Functions | |
bool | in_force (int flags) |
void | set_force (int flags) |
void | reset_force (int flags) |
char * | get_force_string (void) |
void | parse_force (const char *value, bool set) |
void | set_force_default (int mask) |
void | set_force_option (const struct cmdinfo *cip, const char *value) |
void | reset_force_option (const struct cmdinfo *cip, const char *value) |
void | forcibleerr (int forceflag, const char *format,...) DPKG_ATTR_PRINTF(2) |
int | forcible_nonroot_error (int rc) |
enum force_flags |
int forcible_nonroot_error | ( | int | rc | ) |
void forcibleerr | ( | int | forceflag, |
const char * | format, | ||
... | |||
) |
References _, args, in_force(), ohshitv(), warning(), and warningv().
Referenced by checkpath(), deferred_configure(), deferred_remove(), and tarobject().
char * get_force_string | ( | void | ) |
bool in_force | ( | int | flags | ) |
Referenced by archivefiles(), dpkg_selabel_load(), force_breaks(), force_conflicts(), force_depends(), forcible_nonroot_error(), forcibleerr(), packages(), skip_due_to_hold(), and wanttoinstall().
void parse_force | ( | const char * | value, |
bool | set | ||
) |
References _, dpkg_get_progname(), and get_force_string().
Referenced by set_force_option().
void reset_force | ( | int | flags | ) |
void reset_force_option | ( | const struct cmdinfo * | cip, |
const char * | value | ||
) |
void set_force | ( | int | flags | ) |
void set_force_default | ( | int | mask | ) |
void set_force_option | ( | const struct cmdinfo * | cip, |
const char * | value | ||
) |