Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 344

Table of Contents

Advertisement

Functions for Managing Entries
dn
Returns
This function returns one of the following values:
1
0
slapi_str2entry()
Converts an LDIF description of a directory entry (a string value) into an entry of
the
Slapi_Entry
Syntax
#include "slapi-plugin.h"
Slapi_Entry *slapi_str2entry( char *s, int flags );
Parameters
This function takes the following parameters:
s
flags
The value of the
SLAPI_STR2ENTRY_REMOVEDUPVALS
SLAPI_STR2ENTRY_ADDRDNVALS
344
Netscape Directory Server Plug-In Programmer's Guide • August 2002
The DN that you want to test to see if it is the root DSE entry.
if
is the root DSE.
dn
if
is not the root DSE.
dn
type.
Description of an entry that you want to convert to Slapi_Entry.
One or more flags specifying how the entry should be generated
argument can be one of the following values:
flags
Removes any duplicate values in the attributes
of the entry.
Adds the relative distinguished name (RDN)
components (for example, uid=bjensen) as
attributes of the entry.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents