Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 257

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 15
Function Reference
257

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Directory server 6.2

Table of Contents