dpkg 1.22.7-3-g89f48
|
Go to the source code of this file.
Data Structures | |
struct | dpkg_arch |
Enumerations | |
enum | dpkg_arch_type { DPKG_ARCH_NONE , DPKG_ARCH_EMPTY , DPKG_ARCH_ILLEGAL , DPKG_ARCH_WILDCARD , DPKG_ARCH_ALL , DPKG_ARCH_NATIVE , DPKG_ARCH_FOREIGN , DPKG_ARCH_UNKNOWN } |
Functions | |
const char * | dpkg_arch_name_is_illegal (const char *name) DPKG_ATTR_NONNULL(1) |
Verify if the architecture name is valid. | |
struct dpkg_arch * | dpkg_arch_find (const char *name) |
Retrieve the struct dpkg_arch for the given architecture. | |
struct dpkg_arch * | dpkg_arch_get (enum dpkg_arch_type type) |
Return the struct dpkg_arch corresponding to the architecture type. | |
struct dpkg_arch * | dpkg_arch_get_list (void) |
Return the complete list of architectures. | |
void | dpkg_arch_reset_list (void) |
Reset the list of architectures. | |
const char * | dpkg_arch_describe (const struct dpkg_arch *arch) |
Return a descriptive architecture name. | |
struct dpkg_arch * | dpkg_arch_add (const char *name) |
Add a new foreign dpkg_arch architecture. | |
void | dpkg_arch_unmark (const struct dpkg_arch *arch) |
Unmark a foreign dpkg_arch architecture. | |
void | dpkg_arch_load_list (void) |
Load the architecture database. | |
void | dpkg_arch_save_list (void) |
Save the architecture database. | |
void | varbuf_add_archqual (struct varbuf *vb, const struct dpkg_arch *arch) |