diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-06 19:22:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-11 07:02:18 +0000 |
commit | 36d1bfb4ed1fda9abf59a17d84acc1853a003e5d (patch) | |
tree | 12f1d2603bd3b30d1a28b0354f4d1087fa05e6bc /src/apk_database.h | |
parent | 7aed449427348824f7fbfc0e9dc698ea6519f91e (diff) | |
download | apk-tools-36d1bfb4ed1fda9abf59a17d84acc1853a003e5d.tar.gz apk-tools-36d1bfb4ed1fda9abf59a17d84acc1853a003e5d.tar.bz2 apk-tools-36d1bfb4ed1fda9abf59a17d84acc1853a003e5d.tar.xz apk-tools-36d1bfb4ed1fda9abf59a17d84acc1853a003e5d.zip |
db: make apk_wait a part of dbopts
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 3 |
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); |