Slapi_Matchingrule_Free() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Handling Matching Rules
Syntax
#include "slapi-plugin.h"
int slapi_berval_cmp (const struct berval *L,
const struct berval *R);
Parameters
This function takes the following parameters:
L
R
Returns
This function returns one of the following values:
A negative value if L is less than R.
0
A positive value if L is greater than R.

slapi_matchingrule_free()

Frees the specified matching rule structure (and, optionally, its members) from
memory.
Syntax
#include "slapi-plugin.h"
void slapi_matchingrule_free(Slapi_MatchingRuleEntry **mrEntry,
int freeMembers);
Parameters
This function takes the following parameters:
mrEntry
freeMembers
386
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Pointer to the first berval structure that you want to compare.
Pointer to the second structure that you want to compare.
if L is equal to R.
The Slapi_MatchingRuleEntry structure that you want to free
from memory.
If 1, the function also frees the members of the structure from
memory.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents