diff options
-rw-r--r-- | lib/rpmtriggers.c | 2 | ||||
-rw-r--r-- | lib/rpmtriggers.h | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/rpmtriggers.c b/lib/rpmtriggers.c index 769c6f25b..743ba8dee 100644 --- a/lib/rpmtriggers.c +++ b/lib/rpmtriggers.c @@ -452,7 +452,7 @@ static int matchFilesInPkg(rpmts ts, rpmte te, const char *pfx, return rc; } -/* Return true if any added/removed file in ts starts with pfx */ +/* Return number of added/removed files starting with pfx in transaction */ static int matchFilesInTran(rpmts ts, rpmte te, const char *pfx, rpmsenseFlags sense) { diff --git a/lib/rpmtriggers.h b/lib/rpmtriggers.h index bca79b8fe..2f8f369be 100644 --- a/lib/rpmtriggers.h +++ b/lib/rpmtriggers.h @@ -51,31 +51,31 @@ int runPostUnTransFileTrigs(rpmts ts); * @param te transaction entry * @param sense defines which triggers should be set off (triggerin, * triggerun, triggerpostun) - * @param triggerClass 1 to run triggers that should be executed before + * @param tm trigger mode, (filetrigger/transfiletrigger) + * @param priorityClass 1 to run triggers that should be executed before * standard scriptlets * 2 to run triggers that should be executed after * standard scriptlets * 0 to run all triggers - * @param tm trigger mode, (filetrigger/transfiletrigger) */ RPM_GNUC_INTERNAL rpmRC runFileTriggers(rpmts ts, rpmte te, rpmsenseFlags sense, - rpmscriptTriggerModes tm, int upper); + rpmscriptTriggerModes tm, int priorityClass); /* Run file triggers in this te other package(s) set off. * @param ts transaction set * @param te transaction entry * @param sense defines which triggers should be set off (triggerin, * triggerun, triggerpostun) - * @param triggerClass 1 to run triggers that should be executed before + * @param tm trigger mode, (filetrigger/transfiletrigger) + * @param priorityClass 1 to run triggers that should be executed before * standard scriptlets * 2 to run triggers that should be executed after * standard scriptlets * 0 to run all triggers - * @param tm trigger mode, (filetrigger/transfiletrigger) */ rpmRC runImmedFileTriggers(rpmts ts, rpmte te, rpmsenseFlags sense, - rpmscriptTriggerModes tm, int upper); + rpmscriptTriggerModes tm, int priorityClass); #ifdef __cplusplus } #endif |