(042ea3b92)
Go to the source code of this file.
|
#define | MAX_CONFIG_LINE 1024 |
|
#define | ACTION(longopt, shortopt, code, func) { longopt, shortopt, 0, NULL, NULL, setaction, code, NULL, func } |
|
#define | ACTION_MUX(longopt, shortopt, code, func, strvar) { longopt, shortopt, 2, NULL, strvar, setaction, code, NULL, func } |
|
#define | OBSOLETE(longopt, shortopt) { longopt, shortopt, 0, NULL, NULL, setobsolete, 0, NULL, NULL } |
|
|
void | badusage (const char *fmt,...) DPKG_ATTR_NORET DPKG_ATTR_PRINTF(1) |
|
void | dpkg_options_load (const char *prog, const struct cmdinfo *cmdinfos) |
|
void | dpkg_options_parse (const char *const **argvp, const struct cmdinfo *cmdinfos, const char *help_str) |
|
long | dpkg_options_parse_arg_int (const struct cmdinfo *cmd, const char *str) |
|
struct pkginfo * | dpkg_options_parse_pkgname (const struct cmdinfo *cmd, const char *name) |
| Parse an argument as a package name.
|
|
void | setaction (const struct cmdinfo *cip, const char *value) |
|
void | setobsolete (const struct cmdinfo *cip, const char *value) |
|
void | set_instdir (const struct cmdinfo *cip, const char *value) |
|
void | set_admindir (const struct cmdinfo *cip, const char *value) |
|
void | set_root (const struct cmdinfo *cip, const char *value) |
|