Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 16:42:41 -0500
committerDan McGee <dan@archlinux.org>2011-06-07 11:30:44 -0500
commit991b3ff7e63314ea14a40bb437e49ec8553abff2 (patch)
tree8c3c1fd35224971cb86e47d3fefd6c5a896a47f0 /lib/libalpm/handle.h
parentcc25576f8b54b3e975949ac7991a193053b519bc (diff)
Add helper methods for setting directory options
This keeps duplicate code to a minimum. This will come in more handy as we refactor some of these option setters away. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r--lib/libalpm/handle.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h
index 129c8ca4..b72c9b0f 100644
--- a/lib/libalpm/handle.h
+++ b/lib/libalpm/handle.h
@@ -24,10 +24,7 @@
#include <sys/types.h>
#include "alpm_list.h"
-#include "db.h"
-#include "log.h"
#include "alpm.h"
-#include "trans.h"
#ifdef HAVE_LIBCURL
#include <curl/curl.h>
@@ -78,6 +75,8 @@ struct __pmhandle_t {
pmhandle_t *_alpm_handle_new(void);
void _alpm_handle_free(pmhandle_t *handle);
+int _alpm_set_directory_option(const char *value, char **storage, int must_exist);
+
#endif /* _ALPM_HANDLE_H */
/* vim: set ts=2 sw=2 noet: */