Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 365

Table of Contents

Advertisement

str
Returns
This function returns a pointer to the matching right parenthesis in the specified
string.
slapi_str2filter()
Converts a string description of a search filter into a filter of the
type.
Syntax
#include "slapi-plugin.h"
Slapi_Filter *slapi_str2filter( char *str );
Parameters
This function takes the following parameters:
str
Returns
This function returns one of the following values:
A pointer to the
NULL
specified or if the filter syntax is incorrect).
When you are done working with this filter, you should free the
structure by calling
slapi_vattr_filter_test()
Tests a filter against a single entry.
String containing the parentheses.
String description of a search filter.
Slapi_Filter
if the string cannot be converted (for example, if an empty string is
slapi_filter_free()
structure representing the search filter.
.
Chapter 15
Functions for Dealing with Filters
Slapi_Filter
Slapi_Filter
Function Reference
365

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents