Specifies a callback function to free memory allocated for an object extension.
#include "slapi-plugin.h" typedef void (*slapi_extension_destructor_fnptr)(void *extension, void *object, void *parent);
The callback takes the following parameters.
Table 15–17 slapi_extension_destructor_fnptr Parameters
Parameter |
Description |
---|---|
extension |
Object extension |
object |
Extended object |
parent |
Parent for the extension |
This callback releases memory allocated for an object extension. The function is registered with the server using slapi_register_object_extension() in the plug-in initialization function.