diff options
author | Nathan Kinder <nkinder@redhat.com> | 2009-11-04 14:39:44 -0800 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2009-11-04 14:39:44 -0800 |
commit | faf68949bba456988ec4aaa2715c8d9cd664f513 (patch) | |
tree | ec8901fa7a8a951c6b6065ee8b76cf902ab673da /ldap/servers/slapd/proto-slap.h | |
parent | 1484974a30910c927f1ee17b52443186fffc3df0 (diff) | |
download | ds-faf68949bba456988ec4aaa2715c8d9cd664f513.tar.gz ds-faf68949bba456988ec4aaa2715c8d9cd664f513.tar.xz ds-faf68949bba456988ec4aaa2715c8d9cd664f513.zip |
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.
Diffstat (limited to 'ldap/servers/slapd/proto-slap.h')
-rw-r--r-- | ldap/servers/slapd/proto-slap.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |