diff options
author | morganamilo <morganamilo@archlinux.org> | 2020-11-24 13:39:08 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-11-26 12:10:16 +0100 |
commit | 73e0d7dedc197f71c4fd6b7c18d2b2f2d63bf013 (patch) | |
tree | 275bcd227ae4feab982fda4daa824afc6ad72d19 /lib/libalpm/alpm.h | |
parent | 66f9f315cf36a5b73c18c627f7cee060a1360abd (diff) | |
download | pacman-73e0d7dedc197f71c4fd6b7c18d2b2f2d63bf013.tar.gz pacman-73e0d7dedc197f71c4fd6b7c18d2b2f2d63bf013.tar.xz |
libalpm: add alpm_option_get_parallel_downloads
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 6a7323e0..50c4bb6b 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -934,6 +934,8 @@ int alpm_option_set_remote_file_siglevel(alpm_handle_t *handle, int level); int alpm_option_set_disable_dl_timeout(alpm_handle_t *handle, unsigned short disable_dl_timeout); +int alpm_option_get_parallel_downloads(alpm_handle_t *handle); + /** Sets number of parallel streams to download database and package files. * If the function is not called then the default value of '1' stream * (i.e. sequential download) is used. |