index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-10-16 20:28:23 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-10-18 10:59:23 +1000 |
commit | c261210ccf0a7d08c7b3f24aee40b7c8d900e6ac (patch) | |
tree | d9b2ac4e97450e5c36fef318e02c6eb170fec3f1 /lib/libalpm/alpm.h | |
parent | 46a1ac642907039a64f2ec93d352508b2ba3ba79 (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 9 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 594f0b6d..f2249274 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -775,6 +775,15 @@ int alpm_option_add_cachedir(alpm_handle_t *handle, const char *cachedir); int alpm_option_remove_cachedir(alpm_handle_t *handle, const char *cachedir); /** @} */ +/** @name Accessors to the list of package hook directories. + * @{ + */ +alpm_list_t *alpm_option_get_hookdirs(alpm_handle_t *handle); +int alpm_option_set_hookdirs(alpm_handle_t *handle, alpm_list_t *hookdirs); +int alpm_option_add_hookdir(alpm_handle_t *handle, const char *hookdir); +int alpm_option_remove_hookdir(alpm_handle_t *handle, const char *hookdir); +/** @} */ + /** Returns the logfile name. */ const char *alpm_option_get_logfile(alpm_handle_t *handle); /** Sets the logfile name. */ |