diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-09-20 15:12:15 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-09-20 15:12:15 +0300 |
commit | 43850a126b94690302bc2564905141b077b490e7 (patch) | |
tree | 475d66e99a446a9b4d82ff10104e6858722c6ba8 /src/apk_database.h | |
parent | 8a4371ccd73e8f8672466881bd3b782de919cd93 (diff) | |
download | apk-tools-43850a126b94690302bc2564905141b077b490e7.tar.gz apk-tools-43850a126b94690302bc2564905141b077b490e7.tar.bz2 apk-tools-43850a126b94690302bc2564905141b077b490e7.tar.xz apk-tools-43850a126b94690302bc2564905141b077b490e7.zip |
apk: implement --progress-fd to write progress to a specified fd
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 235030c..4628c23 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -108,7 +108,7 @@ struct apk_repository_list { }; struct apk_db_options { - int lock_wait; + int lock_wait, progress_fd; unsigned long open_flags; char *root; char *arch; @@ -127,7 +127,7 @@ struct apk_repository_tag { struct apk_database { char *root; - int root_fd, lock_fd, cache_fd, cachetmp_fd, keys_fd; + int root_fd, lock_fd, cache_fd, cachetmp_fd, keys_fd, progress_fd; unsigned num_repos, num_repo_tags; const char *cache_dir; char *cache_remount_dir; |