summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-10-05 14:24:08 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-10-09 16:09:19 +0300
commitb2af872fff8af2dcde8500f84843c8fa4d554579 (patch)
treea193819ae91e6b6394a02febaa14627c870a2b8d /src/apk_database.h
parent010497cb5ae50713f0ed4e4c4bf3b860bf751da7 (diff)
downloadapk-tools-b2af872fff8af2dcde8500f84843c8fa4d554579.tar.gz
apk-tools-b2af872fff8af2dcde8500f84843c8fa4d554579.tar.bz2
apk-tools-b2af872fff8af2dcde8500f84843c8fa4d554579.tar.xz
apk-tools-b2af872fff8af2dcde8500f84843c8fa4d554579.zip
db: convert repository list to a string array
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 1b0dbc6..83388ec 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -117,11 +117,6 @@ struct apk_repository {
apk_blob_t description;
};
-struct apk_repository_list {
- struct list_head list;
- const char *url;
-};
-
struct apk_db_options {
int lock_wait;
unsigned int cache_max_age;
@@ -131,7 +126,7 @@ struct apk_db_options {
const char *keys_dir;
const char *cache_dir;
const char *repositories_file;
- struct list_head repository_list;
+ struct apk_string_array *repository_list;
struct apk_string_array *private_keys;
};