diff options
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 6f18277..de7ce4b 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -4,7 +4,7 @@ * Copyright (C) 2008 Timo Teräs <timo.teras@iki.fi> * All rights reserved. * - * This program is free software; you can redistribute it and/or modify it + * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. See http://www.gnu.org/ for details. */ @@ -68,13 +68,14 @@ struct apk_name { struct apk_repository { char *url; - char *cache; + csum_t url_csum; }; struct apk_database { char *root; int root_fd, lock_fd; unsigned name_id, num_repos; + const char *cache_dir; struct apk_dependency_array *world; struct apk_string_array *protected_paths; |