From 037bcf62d0a9400dc6c20fe1dd2d3872ca24f975 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Thu, 22 Jan 2015 12:44:10 -0500 Subject: add thread option functions to alpm.h Signed-off-by: Andrew Gregory --- lib/libalpm/alpm.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3-24-g4f1b