summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index ffb1bce..da33289 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -90,6 +90,7 @@ struct apk_repository_list {
};
struct apk_db_options {
+ int lock_wait;
unsigned long open_flags;
char *root;
char *keys_dir;
@@ -155,7 +156,7 @@ struct apk_db_file *apk_db_file_query(struct apk_database *db,
APK_OPENF_NO_SCRIPTS | \
APK_OPENF_NO_WORLD)
-int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts, int apk_wait);
+int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts);
void apk_db_close(struct apk_database *db);
int apk_db_write_config(struct apk_database *db);
int apk_db_run_triggers(struct apk_database *db);