Slapi_Entry2Str_With_Options() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Managing Entries
Parameters
This function takes the following parameters:
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
data 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.
320
Netscape Directory Server Plug-in Programmer's Guide • October 2004
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.
Slapi_Entry

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents