Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_extension_destructor_fnptr

Specifies a callback function to free memory allocated for an object extension.

Syntax

#include "slapi-plugin.h"
typedef void (*slapi_extension_destructor_fnptr)(void *extension,
    void *object, void *parent);

Parameters

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 

Description

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.