Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 268

Table of Contents

Advertisement

Functions for Managing Entries
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.
Syntax
#include "slapi-plugin.h"
char *slapi_entry2str_with_options( Slapi_Entry *e,
int *len, int options );
Parameters
This function takes the following parameters:
e
len
options
268
Netscape Directory Server Plug-In Programmer's Guide • May 2002
slapi_str2entry()
function.
slapi_ch_free()
; however, you can specify output options with this
Entry that you want to convert into an LDIF string.
Length of the LDIF string returned by this function.
An option set that specifies how you want the string converted.
function.
data
Slapi_Entry

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents