Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 378

Table of Contents

Advertisement

Functions for Handling Matching Rules
Returns
This function returns one of the following values:
0 if the information was successfully retrieved.
-1 if an error occurred (for example, if an invalid argument was specified).
Description
This function gets information about a matching rule from the
Slapi_MatchingRuleEntry
slapi_matchingrule_set()
slapi_matchingrule_new()
Allocates memory for a new
Syntax
#include "slapi-plugin.h"
Slapi_MatchingRuleEntry *slapi_matchingrule_new();
Returns
This function returns one of the following values:
A new
NULL
Description
This function allocates memory for a new
which represents a matching rule. After you call this function, you can call the
slapi_matchingrule_set()
slapi_matchingrule_register()
slapi_matchingrule_register()
Registers the specified matching rule with the server.
Syntax
#include "slapi-plugin.h"
int slapi_matchingrule_register(Slapi_MatchingRuleEntry *mrEntry);
378
Netscape Directory Server Plug-In Programmer's Guide • August 2002
structure. To set information in this structure, call the
function.
Slapi_MatchingRuleEntry
Slapi_MatchingRuleEntry
if memory could not be allocated.
function to set the values in this structure and call the
structure.
Slapi_MatchingRuleEntry
function to register the matching rule.
structure.
structure,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents