From faf68949bba456988ec4aaa2715c8d9cd664f513 Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Wed, 4 Nov 2009 14:39:44 -0800 Subject: Allow plugin execution order to be defined This patch adds support for assigning a precedence to each plugin. This precedence value is used to determine what order the plugins should be called in within a given plugin type. The precedence value is an integer between 1 and 99. The value is set in the nsslapd-pluginPrecedence attribute in a plugin config entry in "cn=config". If a plugin does not have a precedence value set, the plugin is treated as if it has a precedence of 50. For more details, see the feature design document at: http://directory.fedoraproject.org/wiki/Plugin_Ordering I also removed an incorrect log message in the linked attrs plugin that I noticed while debugging this patch. --- ldap/servers/slapd/proto-slap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ldap/servers/slapd/proto-slap.h') diff --git a/ldap/servers/slapd/proto-slap.h b/ldap/servers/slapd/proto-slap.h index b220bf00..feca39a6 100644 --- a/ldap/servers/slapd/proto-slap.h +++ b/ldap/servers/slapd/proto-slap.h @@ -772,6 +772,7 @@ int plugin_add_descriptive_attributes( Slapi_Entry *e, void plugin_call_entryfetch_plugins(char **entrystr, uint *size); void plugin_call_entrystore_plugins(char **entrystr, uint *size); void plugin_print_versions(void); +void plugin_print_lists(void); /* * plugin_mr.c -- cgit