summaryrefslogtreecommitdiff
path: root/lib/rpmts_internal.h
diff options
context:
space:
mode:
authorLubos Kardos <lkardos@lkardos.brq.redhat.com>2014-09-17 10:47:32 +0200
committerLubos Kardos <lkardos@redhat.com>2015-02-05 08:08:12 +0100
commitec78eea7fe6a60bc10038ca3a7a4c5d85e2a9a16 (patch)
tree1278f3a860858998db3e92bfb9ebe979e6dcd66d /lib/rpmts_internal.h
parentb04c4f559b25bf8b6774a445a0e537c8ce1d2c59 (diff)
downloadrpm-ec78eea7fe6a60bc10038ca3a7a4c5d85e2a9a16.tar.gz
Add support for executing file triggers.
Supported file triggers: %filetriggerin %filetriggerun %filetriggerpostun %transfiletriggerin %transfiletriggerun
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r--lib/rpmts_internal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index b125ce6af..9f74e677a 100644
--- a/lib/rpmts_internal.h
+++ b/lib/rpmts_internal.h
@@ -8,6 +8,7 @@
#include "lib/fprint.h"
#include "lib/rpmlock.h"
#include "lib/rpmdb_internal.h"
+#include "lib/rpmscript.h"
typedef struct diskspaceInfo_s * rpmDiskSpaceInfo;
@@ -100,6 +101,18 @@ int rpmtsSolve(rpmts ts, rpmds key);
RPM_GNUC_INTERNAL
rpmRC rpmtsSetupTransactionPlugins(rpmts ts);
+
+RPM_GNUC_INTERNAL
+rpmRC runFileTriggers(rpmts ts, rpmte te, rpmsenseFlags sense,
+ rpmscriptTriggerModes tm);
+
+RPM_GNUC_INTERNAL
+rpmRC runImmedFileTriggers(rpmts ts, rpmte te, rpmsenseFlags sense,
+ rpmscriptTriggerModes tm);
+RPM_GNUC_INTERNAL
+rpmRC runScript(rpmts ts, rpmte te, ARGV_const_t prefixes,
+ rpmScript script, int arg1, int arg2);
+
#ifdef __cplusplus
}
#endif