Specifying Start And Close Functions - Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual

Table of Contents

Advertisement

Specifying Start and Close Functions

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
The following table summarizes the different parameters that the initialization
function should get and set in the parameter block that is passed in:
Table 11-8
Input and output parameters available to a matching rule plug-in initialization function
Parameter Name
SLAPI_PLUGIN_START_FN
SLAPI_PLUGIN_CLOSE_FN
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
146
Netscape Directory Server Plug-In Programmer's Guide • December 2003
argument.
Slapi_PBlock
Data Type
void *
(function pointer)
void *
(function pointer)
directives appear in the server configuration file).
plugin
Description
(Output parameter) The function
called after the Directory Server starts
up.
(Output parameter) The function
called before the Directory Server
shuts down.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents