Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_mods_dump()

Dumps the contents of a Slapi_Mods structure to the server log.

Syntax

#include "slapi-plugin.h"
 void slapi_mods_dump(const Slapi_Mods *smods, const char *text);

Parameters

This function takes the following parameters:

smods

Pointer to a Slapi_Mods

text

Descriptive text that will be included in the log, preceding the Slapi_Mods content.

Description

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