Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 311

Table of Contents

Advertisement

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
The Options Parameter
You can
together any of the following options when you call this function:
OR
Flag Value
SLAPI_DUMP_STATEINFO
SLAPI_DUMP_UNIQUEID
SLAPI_DUMP_NOOPATTRS
SLAPI_DUMP_NOWRAP
Returns
This function returns one of the following values:
The LDIF string representation of the entry you specify.
if an error occurs.
NULL
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.
Description
This is only used internally by replication. This
allows access to the internal data used by
multi-master replication.
This option is used when creating an LDIF file to
be used to initialize a replica. Each entry will
contain the nsuniqueID operational attribute.
By default, certain operational attributes (such as
creatorName, modifiersName,
createTimestamp, modifyTimestamp) may be
included in the output. With this option, no
operational attributes will be included.
By default, lines will be wrapped as defined in the
LDIF specification. With this option, line
wrapping is disabled.
Functions for Managing Entries
Chapter 15
Function Reference
311

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents