Chapter 50. Functions for Registering Additional Plug-ins
Table 50.1. Routines for Registering Additional Plug-ins
| Function | Description |
|---|---|
| slapi_register_plugin() | Allows a plug-in to register a plug-in. |
50.1. slapi_register_plugin()
This function allows a plug-in to register a plug-in. This was added so that an object plug-in can register all the plug-in interfaces that it supports, including legacy plug-ins.
#include "slapi-plugin.h" int slapi_register_plugin( const char *plugintype, int enabled, const char *initsymbol, slapi_plugin_init_fnptr initfunc, const char *name, char **argv, void *group_identity);
This function takes the following parameters:
|
plugintype
| Handle to find the offset into the object where the extension block is stored. |
|
enabled
| A pointer to the core server object that needs to be changed. |
|
initsymbol
| Address for finding the extension within the block. |
|
initfunc
| Pointer to the extension block. |
|
name
| Pointer to the name of the plug-in. |
|
argv
| Pointer to an array of the plug-ins. |
|
group_identity
|
Group identity of the plug-ins.
|

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.