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

For plug-in
Table of Contents

Advertisement

Functions for Dealing with Filters
recurse
Description
This function frees the filter in parameter
Memory Concerns
Filters created using
Filters extracted from a pblock using
pb,SLAPI_SEARCH_FILTER, &filter )
See Also
slapi_str2filter()
slapi_pblock_get()

slapi_filter_get_attribute_type()

Gets the attribute type for all simple filter choices.
Syntax
#include "slapi-plugin.h"
int slapi_filter_get_attribute_type( Slapi_Filter *f, char **type
);
Parameters
This function takes the following parameters:
f
type
Returns
This function returns the attribute type of the filter.
Description
This function gets the attribute type for all simple filter choices:
LDAP_FILTER_GE
362
Netscape Directory Server Plug-in Programmer's Guide • October 2004
If 1, recursively frees all filters that comprise this filter. If 0, only
frees the filter specified by f.
slapi_str2filter()
slapi_pblock_get(
Filter from which you wish to get the substring values.
Pointer to the attribute type of the filter.
.
f
must be freed after using this function.
must not be freed.

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?

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents