summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/hook.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-10-17 02:28:25 +0200
committerAllan McRae <allan@archlinux.org>2015-10-18 02:59:23 +0200
commit16718a216ee5607c56d220a198fdb48a923aaafc (patch)
tree029cbd2d0bbae31ad48e9b412a7b18f2c414ceac /lib/libalpm/hook.h
parent568a89d58018e89e3a5bb3c28cb0ca3b845aae1b (diff)
downloadpacman-16718a216ee5607c56d220a198fdb48a923aaafc.tar.gz
pacman-16718a216ee5607c56d220a198fdb48a923aaafc.tar.xz
run hooks during trans_commit
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/hook.h')
-rw-r--r--lib/libalpm/hook.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/hook.h b/lib/libalpm/hook.h
index 06921769..4894a192 100644
--- a/lib/libalpm/hook.h
+++ b/lib/libalpm/hook.h
@@ -27,6 +27,8 @@ enum _alpm_hook_when_t {
ALPM_HOOK_POST_TRANSACTION
};
+int _alpm_hook_run(alpm_handle_t *handle, enum _alpm_hook_when_t when);
+
#endif /* _ALPM_HOOK_H */
/* vim: set noet: */