index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2021-04-21 22:47:13 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-04-22 00:15:21 +1000 |
commit | 3179db108a83104d9de6d1d607f55f8118e92160 (patch) | |
tree | 2141a5a0a565bbfc8261bbc434bcfa53830115a1 /src/pacman/conf.h | |
parent | abdb4d7fa699ae3b8ff09ba79656f6853b9a1357 (diff) |
-rw-r--r-- | src/pacman/conf.h | 4 |
diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 1b9fb337..316c8d0f 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -57,7 +57,6 @@ typedef struct __config_t { unsigned short usesyslog; unsigned short color; unsigned short disable_dl_timeout; - char *arch; char *print_format; /* unfortunately, we have to keep track of paths both here and in the library * because they can come from both the command line or config file, and we @@ -70,6 +69,7 @@ typedef struct __config_t { char *sysroot; alpm_list_t *hookdirs; alpm_list_t *cachedirs; + alpm_list_t *architectures; unsigned short op_q_isfile; unsigned short op_q_info; @@ -244,7 +244,7 @@ int config_free(config_t *oldconfig); void config_repo_free(config_repo_t *repo); -int config_set_arch(const char *arch); +int config_add_architecture(char *arch); int parseconfig(const char *file); int parseconfigfile(const char *file); int setdefaults(config_t *c); |