aboutsummaryrefslogtreecommitdiff
path: root/bpkg/system-package-manager-debian.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-02-10 14:04:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-02-10 14:04:27 +0300
commit4887f43d983898e48feaffc467327bc7fc4e1180 (patch)
tree755e24995452ae20fbddf657e582819de8b27e25 /bpkg/system-package-manager-debian.hxx
parente1c36d138fb38cfe46cb236b87f092810075ef20 (diff)
Add support for fetch timeout to system package managers
Diffstat (limited to 'bpkg/system-package-manager-debian.hxx')
-rw-r--r--bpkg/system-package-manager-debian.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/system-package-manager-debian.hxx b/bpkg/system-package-manager-debian.hxx
index e01b25d..0186b76 100644
--- a/bpkg/system-package-manager-debian.hxx
+++ b/bpkg/system-package-manager-debian.hxx
@@ -146,6 +146,7 @@ namespace bpkg
const target_triplet& h,
string a,
optional<bool> progress,
+ optional<size_t> fetch_timeout,
bool install,
bool fetch,
bool yes,
@@ -154,6 +155,7 @@ namespace bpkg
h,
a.empty () ? arch_from_target (h) : move (a),
progress,
+ fetch_timeout,
install,
fetch,
yes,
@@ -188,7 +190,7 @@ namespace bpkg
apt_get_install (const strings&);
pair<cstrings, const process_path&>
- apt_get_common (const char*);
+ apt_get_common (const char*, strings& args_storage);
static package_status
parse_name_value (const package_name&, const string&, bool, bool);