Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 398

Table of Contents

Advertisement

Functions for LDAPMod Manipulation
Parameters
This function takes the following parameters:
smod
type
Description
Sets the attribute type of the
See Also
slapi_mod_get_type()
slapi_mods2entry()
Creates a
Syntax
#include "slapi-plugin.h"
int slapi_mods2entry(Slapi_Entry **e, const char *dn,
LDAPMod **attrs);
Parameters
This function takes the following parameters:
e
dn
attrs
Returns
This function returns one of the following values:
LDAP_SUCCESS
An LDAP return code if not successful.
398
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Pointer to an initialized Slapi_Mod.
An attribute type.
Slapi_Mod
from an array of
Slapi_Entry
Address of a pointer that will be set on return to the created
entry.
The LDAP DN of the entry.
An array of LDAPMOD of type LDAP_MOD_ADD representing the
entry attributes.
if successful.
to a copy of the given value.
.
LDAPMod

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents