diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-05 08:13:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-11 07:02:18 +0000 |
commit | 3ec82a5a420fc00d38ad7dded819525a91533652 (patch) | |
tree | 84016128e65001e4aed1d45a1402b2fb2375c385 /src/database.c | |
parent | 60b537e356dfcd0ed9a3516152c6a170912efcef (diff) | |
download | apk-tools-3ec82a5a420fc00d38ad7dded819525a91533652.tar.gz apk-tools-3ec82a5a420fc00d38ad7dded819525a91533652.tar.bz2 apk-tools-3ec82a5a420fc00d38ad7dded819525a91533652.tar.xz apk-tools-3ec82a5a420fc00d38ad7dded819525a91533652.zip |
First steps for libapk
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c index 11864cb..3d49c9e 100644 --- a/src/database.c +++ b/src/database.c @@ -27,6 +27,10 @@ #include "apk_state.h" #include "apk_applet.h" #include "apk_archive.h" +#include "apk_print.h" + +int apk_verbosity = 1; +unsigned int apk_flags = 0; const char * const apkindex_tar_gz = "APKINDEX.tar.gz"; const char * const apk_index_gz = "APK_INDEX.gz"; @@ -1021,7 +1025,8 @@ static void handle_alarm(int sig) { } -int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts) +int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts, + int apk_wait) { const char *msg = NULL; struct apk_repository_list *repo = NULL; |