Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 377

Table of Contents

Advertisement

Description
This function frees a
members) from memory. Call this function when you are done working with the
structure.
slapi_matchingrule_get()
Gets information about a matching rule.
Syntax
#include "slapi-plugin.h"
int slapi_matchingrule_get(SlPi_MatchingRuleEntry *mr,
int arg, void *value);
Parameters
This function takes the following parameters:
mr
arg
value
The
arg
ID
SLAPI_MATCHINGRULE_NAME
SLAPI_MATCHINGRULE_OID
SLAPI_MATCHINGRULE_DESC
SLAPI_MATCHINGRULE_SYNTAX
SLAPI_MATCHINGRULE_OBSOLETE
Slapi_MatchingRuleEntry
Slapi_MatchingRuleEntry structure that you want to get data from.
ID specifying the type of information you want to get.
Pointer to a variable to hold the retrieved data.
argument can have one of the following values:
Functions for Handling Matching Rules
structure (and, optionally, its
Data Type
Description
of the value
Argument
Name of the matching rule.
char *
OID of the matching rule.
char *
Description of the matching rule.
char *
Syntax supported by the matching
char *
rule.
If 1, the matching rule is obsolete.
int
Chapter 15
Function Reference
377

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents