![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 344](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642344.webp)
Functions for Managing Entries
344
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
Returns
This function returns one of the following values:
•
1
if
dn
is the root DSE.
•
0
if
dn
is not the root DSE.
slapi_str2entry()
Converts an LDIF description of a directory entry (a string value) into an entry of
the
Slapi_Entry
type.
Syntax
#include “slapi-plugin.h”
Slapi_Entry *slapi_str2entry( char *s, int flags );
Parameters
This function takes the following parameters:
The value of the
flags
argument can be one of the following values:
dn
The DN that you want to test to see if it is the root DSE entry.
s
Description of an entry that you want to convert to
Slapi_Entry
.
flags
One or more flags specifying how the entry should be generated
SLAPI_STR2ENTRY_REMOVEDUPVALS
Removes any duplicate values in the attributes
of the entry.
SLAPI_STR2ENTRY_ADDRDNVALS
Adds the relative distinguished name (RDN)
components (for example,
uid=bjensen
) as
attributes of the entry.
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...