|
dpkg 1.22.7-3-g89f48
|
#include <config.h>#include <compat.h>#include <sys/types.h>#include <sys/time.h>#include <sys/stat.h>#include <sys/wait.h>#include <errno.h>#include <stdarg.h>#include <stdbool.h>#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <dirent.h>#include <time.h>#include <setjmp.h>#include <assert.h>#include <locale.h>#include <ctype.h>#include <limits.h>#include <dpkg/macros.h>#include <dpkg/i18n.h>Data Structures | |
| struct | action_name |
| struct | fileset |
| struct | fileset::slave_file |
| struct | slave_link |
| struct | commit_operation |
| struct | alternative |
| struct | altdb_context |
| struct | alternative_map |
Macros | |
| #define | PROGNAME "update-alternatives" |
| #define | MISSING_ARGS(nb) (argc < i + nb + 1) |
Enumerations | |
| enum | action { ACTION_NONE , ACTION_INSTALL , ACTION_SET , ACTION_SET_SELECTIONS , ACTION_GET_SELECTIONS , ACTION_AUTO , ACTION_CONFIG , ACTION_CONFIG_ALL , ACTION_REMOVE , ACTION_REMOVE_ALL , ACTION_LIST , ACTION_QUERY , ACTION_DISPLAY } |
| enum | output_mode { OUTPUT_QUIET = -1 , OUTPUT_NORMAL = 0 , OUTPUT_VERBOSE = 1 , OUTPUT_DEBUG = 2 } |
| enum | alternative_update_reason { ALT_UPDATE_NO , ALT_UPDATE_SLAVE_CHANGED , ALT_UPDATE_LINK_BROKEN } |
| enum | alternative_path_status { ALT_PATH_SYMLINK , ALT_PATH_MISSING , ALT_PATH_OTHER } |
Functions | |
| int | main (int argc, char **argv) |
Variables | |
| enum LIBCOMPAT_ATTR_ENUM_FLAGS | altdb_flags |
| ALTDB_LAX_PARSER = 1 << 0 | |
| ALTDB_WARN_PARSER = 1 << 1 | |
| #define MISSING_ARGS | ( | nb | ) | (argc < i + nb + 1) |
| #define PROGNAME "update-alternatives" |
| enum action |
| enum output_mode |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References _, ACTION_AUTO, ACTION_CONFIG, ACTION_CONFIG_ALL, ACTION_DISPLAY, ACTION_GET_SELECTIONS, ACTION_INSTALL, ACTION_LIST, ACTION_NONE, ACTION_QUERY, ACTION_REMOVE, ACTION_REMOVE_ALL, ACTION_SET, ACTION_SET_SELECTIONS, ALTDB_WARN_PARSER, badusage(), debug(), slave_link::link, log_file, alternative::master_link, alternative::master_name, MISSING_ARGS, slave_link::next, opt_verbose, OUTPUT_DEBUG, OUTPUT_QUIET, OUTPUT_VERBOSE, and alternative::slaves.
| enum LIBCOMPAT_ATTR_ENUM_FLAGS altdb_flags |
| ALTDB_LAX_PARSER = 1 << 0 |
| ALTDB_WARN_PARSER = 1 << 1 |
Referenced by main().