Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 492

Table of Contents

Advertisement

Functions for Registering Object Extensions
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()
492
Netscape Directory Server Plug-In Programmer's Guide • May 2002
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents