created; this is why the registration must happen during plug-in initialization. In
return, the plug-in will receive two handles, one for the object type and another one
for the object extension; these only have meaning for the
slapi_get_object_extension()
Returns
This function returns 0 if successful, error code otherwise.
See Also
slapi_get_object_extension()
slapi_set_object_extension()
slapi_set_object_extension()
Changes a plug-in's object extension.
Syntax
#include "slapi-plugin.h"
void slapi_set_object_extension(int objecttype, void *object,
int extensionhandle, void *extension);
Parameters
This function takes the following parameters:
objecttype
object
extensionhandle
extension
Description
This function enables a plug-in to change its extensions.
See Also
slapi_register_object_extension()
slapi_get_object_extension()
function.
Handle to find the offset into the object where the extension
block is stored.
A pointer to the core server object that needs to be changed.
Address for finding the extension within the block.
Pointer to the extension block.
Functions for Registering Object Extensions
Chapter 14
Function Reference
491
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?
Questions and answers