Chapter 57. Parameters for the Add Function

The following table lists the parameters in the parameter block passed to the database add function. If you are writing a pre-operation, database, or post-operation add function, you can get these values by calling the function.
Parameter ID Data Type Description
SLAPI_ADD_TARGET char * DN of the entry to be added.
SLAPI_ADD_ENTRY Slapi_Entry * The entry to be added (specified as the opaque datatype).
SLAPI_ADD_EXISTING_DN_ENTRY Slapi_Entry * Internal only; used by the multi-master replication update resolution procedure code. If adding an entry that already exists, this is the entry which has the same DN.
SLAPI_ADD_PARENT_ENTRY Slapi_Entry * Internal only; used by the multi-master replication update resolution procedure code. This is the parent entry of the entry to add.
SLAPI_ADD_PARENT_UNIQUEID char * Internal only; used by the multi-master replication update resolution procedure code. This is the unique ID of the parent entry of the entry to add.
SLAPI_ADD_EXISTING_UNIQUEID_ENTRY Slapi_Entry * Internal only; used by the multi-master replication resolution procedure code. If adding an entry that already exists, this is the entry which has the same unique ID.
See Section 7.6, “Processing an LDAP Add Operation”, for more information on these parameters.