Specifying Start and Close Functions
146
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
plugin matchingrule on “my matching rule plugin” /usr/ns/myplugin.so
my_init_fn
Specifying Start and Close Functions
For each matching rule operation plug-in, you can specify the name of a function to
be called after the server starts and before the server is shut down. These functions
take a single
Slapi_PBlock
argument.
The following table summarizes the different parameters that the initialization
function should get and set in the parameter block that is passed in:
If you register multiple plug-ins with different start and close functions, the
functions are called in the order that the plug-ins are registered (in other words, in
the order that the
plugin
directives appear in the server configuration file).
Table 11-8
Input and output parameters available to a matching rule plug-in initialization function
Parameter Name
Data Type
Description
SLAPI_PLUGIN_START_FN
void *
(function pointer)
(Output parameter) The function
called after the Directory Server starts
up.
SLAPI_PLUGIN_CLOSE_FN
void *
(function pointer)
(Output parameter) The function
called before the Directory Server
shuts down.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...