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

slapi_sdn_new()

Allocates a new Slapi_DN structure and initializes it to NULL.

Syntax

#include "slapi-plugin.h"
 Slapi_DN *slapi_sdn_new();

Parameters

This function takes no parameters.

Returns

This function returns a pointer to the newly allocated, and still empty,Slapi_DN structure.

Description

This function creates a new Slapi_DN structure by allocating the necessary memory and initializing both DN and normalized DN values to NULL.

See Also

slapi_sdn_copy()

slapi_sdn_done()

slapi_sdn_free()