summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-11-18 03:31:30 +0100
committerAllan McRae <allan@archlinux.org>2014-11-18 03:31:30 +0100
commit96e9cf35f11f271e46af8d3c0f00c9664052fc74 (patch)
treed398d7be2c3f74547892d84d3b3d8050aa9edc43 /lib/libalpm/alpm.h
parent5d11605958dd9d07f902287468104a996b3bddcc (diff)
downloadpacman-96e9cf35f11f271e46af8d3c0f00c9664052fc74.tar.gz
pacman-96e9cf35f11f271e46af8d3c0f00c9664052fc74.tar.xz
Add alpm_option_match_noextract
This is useful for frontends testing whether a file is in NoExtract Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 1831fcf0..234bd6b4 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -827,6 +827,7 @@ alpm_list_t *alpm_option_get_noextracts(alpm_handle_t *handle);
int alpm_option_add_noextract(alpm_handle_t *handle, const char *path);
int alpm_option_set_noextracts(alpm_handle_t *handle, alpm_list_t *noextract);
int alpm_option_remove_noextract(alpm_handle_t *handle, const char *path);
+int alpm_option_match_noextract(alpm_handle_t *handle, const char *path);
/** @} */
/** @name Accessors to the list of ignored packages.