39.8. slapi_sdn_done()

Description

This function clears the contents of a Slapi_DN structure. It frees both the DN and the normalized DN, if any, and sets those pointers to NULL.

Syntax

#include "slapi-plugin.h"
void slapi_sdn_done(Slapi_DN *sdn);

Parameters

This function takes the following parameter:

sdn
Pointer to the structure to clear.