Functions for Handling Attributes
Chapter
15
Function Reference
257
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
slapi_ch_free()
.
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:
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.
type
Type of attribute that you want to get the plug-in for.
pi
Pointer to the plug-in structure.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...