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

For plug-in
Table of Contents

Advertisement

Specifying Start and Close Functions

<init_fn_name>
<library_name>
defined. For example, the following directive registers the initialization function
named
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.
Input and Output Parameters Available to a Matching Rule Plug-in Initialization Function
Table 11-8
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
156
Netscape Directory Server Plug-in Programmer's Guide • October 2004
is the name of your initialization function, and
is the name and path of the library where the function is
, which is defined in the library
my_init_fn()
Slapi_PBlock
Data Type
void *
(function pointer)
void *
(function pointer)
directives appear in the server configuration file.
plugin
/usr/ns/myplugin.so
argument.
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
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents