Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 217

Table of Contents

Advertisement

Returns
This function returns the copy of the desired normalized attribute, or a normalized
copy of what was passed in.
Description
Use this function to search the syntaxes for an attribute type and return its
normalized form.
Memory Concerns
You should free the returned string using
See Also
slapi_ch_free()
slapi_attr_type2plugin()
Gets a pointer to information about the syntax plug-in responsible for handling the
specified attribute type.
Syntax
#include "slapi-plugin.h"
int slapi_attr_type2plugin( char *type, void **pi );
Parameters
This function takes the following parameters:
type
pi
Returns
This function returns one of the following values:
0 if successful.
-1 if the corresponding plug-in is not found.
Description
Syntax plug-ins are plug-ins that you can write to index and search for specific
attribute types.
slapi_ch_free()
Type of attribute that you want to get the plug-in for.
Pointer to the plug-in structure.
Functions for Handling Attributes
.
Chapter 14
Function Reference
217

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents