48.4. slapi_unregister_object_extension()

Description

This function unregisters objects. Note that plug-ins that register objects must unregister them in the close function.

Syntax

int slapi_unregister_object_extension(
 const char* pluginname,
 const char* objectname,
 int *objecttype,
 int *ext_handle);

Parameters

pluginname
The name of the plug-in.
objectname
The name of the core server object to be extended. Objects that can be extended (possible values for the objectname parameter):
  • SLAPI_EXT_CONNECTION (Connection)
  • SLAPI_EXT_OPERATION (Operation)
  • SLAPI_EXT_ENTRY (Entry)
  • SLAPI_EXT_MTNODE (Mapping Tree Node)
Currently, only Operation and Connection are supported.
objecttype
Handle to find the offset into the object where the extension block is stored.
ext_handle
Address for finding the extension within the block.