Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_mod_dump()

Dumps the contents of an LDAPMod to the server log.

Syntax

#include "slapi-plugin.h"
void slapi_mod_dump(LDAPMod *mod, int n);

Parameters

This function takes the following parameters:

mod

Pointer to an LDAPMod.

n

Numeric label that will be included in the log.

Description

This function uses the LDAP_DEBUG_ANY log level to dump the contents of an LDAPMod to $INSTANCE_PATH/logs/errors for debugging.