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

slapi_matchingrule_free()

Free a Slapi_MatchingRuleEntry after registering the matching rule.

Syntax

#include "slapi-plugin.h"
void slapi_matchingrule_free(Slapi_MatchingRuleEntry **mrEntry,
    int freeMembers);

Parameters

This function takes the following parameters:

mrEntry

Matching rule registration object

freeMembers

Whether to free the members of the Slapi_MatchingRuleEntry

If 0, do not free the members of the Slapi_MatchingRuleEntry.

Description

This function frees memory allocated to a Slapi_MatchingRuleEntry after the structure has been used to register a matching rule.

See Also

slapi_matchingrule_new()

slapi_matchingrule_register()