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

slapi_value_dup()

Duplicates a value.

Syntax

#include "slapi-plugin.h"
 Slapi_Value * slapi_value_dup(const Slapi_Value *v);

Parameters

This function takes the following parameter:

v

Pointer to the Slapi_Value structure you wish to duplicate.

Returns

This function returns a pointer to a newly allocated Slapi_Value.

Memory Concerns

The new Slapi_Value is allocated and needs to be freed by the caller, using slapi_value_free().

See Also

slapi_value_free()