dpkg 1.21.11
Data Structures | Enumerations | Functions
arch.h File Reference

(b63a259a6)

#include <dpkg/macros.h>
#include <dpkg/varbuf.h>
Include dependency graph for arch.h:
This graph shows which files directly or indirectly include this file:

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. More...
 
struct dpkg_archdpkg_arch_find (const char *name)
 Retrieve the struct dpkg_arch for the given architecture. More...
 
struct dpkg_archdpkg_arch_get (enum dpkg_arch_type type)
 Return the struct dpkg_arch corresponding to the architecture type. More...
 
struct dpkg_archdpkg_arch_get_list (void)
 Return the complete list of architectures. More...
 
void dpkg_arch_reset_list (void)
 Reset the list of architectures. More...
 
const char * dpkg_arch_describe (const struct dpkg_arch *arch)
 Return a descriptive architecture name. More...
 
struct dpkg_archdpkg_arch_add (const char *name)
 Add a new foreign dpkg_arch architecture. More...
 
void dpkg_arch_unmark (const struct dpkg_arch *arch)
 Unmark a foreign dpkg_arch architecture. More...
 
void dpkg_arch_load_list (void)
 Load the architecture database. More...
 
void dpkg_arch_save_list (void)
 Save the architecture database. More...
 
void varbuf_add_archqual (struct varbuf *vb, const struct dpkg_arch *arch)