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

slapi_sdn_copy()

Makes a copy of a DN.

Syntax

#include "slapi-plugin.h"
 void slapi_sdn_copy(const Slapi_DN *from, Slapi_DN *to);

Parameters

This function takes the following parameters:

from

The original DN.

to

Destination of the copied DN, containing the copy of the DN in from.

Description

This function copies the DN in from to the structure pointed by to.

Memory Concerns

to must be allocated in advance of calling this function.

See Also

slapi_sdn_dup()