dpkg 1.21.11
Macros | Functions
arch.c File Reference

(b63a259a6)

#include <config.h>
#include <compat.h>
#include <limits.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/i18n.h>
#include <dpkg/c-ctype.h>
#include <dpkg/ehandle.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/dir.h>
#include <dpkg/varbuf.h>
#include <dpkg/arch.h>
Include dependency graph for arch.c:

Macros

#define DPKG_DB_ARCH_FILE   "arch"
 

Functions

const char * dpkg_arch_name_is_illegal (const char *name)
 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...
 
void varbuf_add_archqual (struct varbuf *vb, const struct dpkg_arch *arch)
 
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_remove)
 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...
 

Macro Definition Documentation

◆ DPKG_DB_ARCH_FILE

#define DPKG_DB_ARCH_FILE   "arch"