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

slapi_matchingrule_new()

Allocate a Slapi_MatchingRuleEntry.

Syntax

#include "slapi-plugin.h"
Slapi_MatchingRuleEntry *slapi_matchingrule_new(void);

Description

This function allocates a Slapi_MatchingRuleEntry used to register a matching rule.

Returns

This function returns a pointer to the matching rule registration object if successful. Otherwise, it returns NULL.

See Also

slapi_matchingrule_free()

slapi_matchingrule_register()