diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-01-22 18:44:10 +0100 |
---|---|---|
committer | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-11 06:45:30 +0200 |
commit | 037bcf62d0a9400dc6c20fe1dd2d3872ca24f975 (patch) | |
tree | 9b1e652c595bdad268b98f5b885b9e2c324150ab | |
parent | b2fc3bb1340fe0eba619b2e786cca2c4e0378cf3 (diff) | |
download | pacman-037bcf62d0a9400dc6c20fe1dd2d3872ca24f975.tar.gz pacman-037bcf62d0a9400dc6c20fe1dd2d3872ca24f975.tar.xz |
add thread option functions to alpm.h
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
-rw-r--r-- | lib/libalpm/alpm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index ae94a43e..5548acec 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -918,6 +918,9 @@ int alpm_option_set_arch(alpm_handle_t *handle, const char *arch); double alpm_option_get_deltaratio(alpm_handle_t *handle); int alpm_option_set_deltaratio(alpm_handle_t *handle, double ratio); +unsigned int alpm_option_get_thread_count(alpm_handle_t *handle); +int alpm_option_set_thread_count(alpm_handle_t *handle, unsigned int threads); + int alpm_option_get_checkspace(alpm_handle_t *handle); int alpm_option_set_checkspace(alpm_handle_t *handle, int checkspace); |