48.3. slapi_set_object_extension()

Description

This function enables a plug-in to change its extensions.

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
Handle to find the offset into the object where the extension block is stored.
object
A pointer to the core server object that needs to be changed.
extensionhandle
Address for finding the extension within the block.
extension
Pointer to the extension block.