Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 310

Table of Contents

Advertisement

Functions for Managing Entries
e
len
Returns
This function returns one of the following values:
The LDIF string representation of the entry you specify.
Null
Description
This function generates an LDIF string value conforming to the following format:
dn: <dn>\n
[<attr>: <value>\n]*
For example:
dn: uid=jdoe, ou=People, o=example.com
cn: Jane Doe
sn: Doe
...
To convert a string description in LDIF format to an entry of the
type, call the
Memory Concerns
When you no longer need to use the string, you should free it from memory by
calling the
See Also
slapi_entry2str_with_options()
slapi_str2entry()
slapi_entry2str_with_options()
Generates a description of an entry as an LDIF string. This function behaves much
like
slapi_entry2str()
function.
310
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Entry that you want to convert into an LDIF string.
Length of the returned LDIF string.
if an error occurs.
slapi_str2entry()
function.
slapi_ch_free()
; however, you can specify output options with this
function.
data
Slapi_Entry

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents