Functions for Handling Values
Returns
This function returns one of the following values:
•
0
•
-1
•
1
Description
This function compares two
the attribute
This function replaces the deprecated
previous releases and uses the
berval
slapi_value_dup()
Duplicates a value.
Syntax
#include "slapi-plugin.h"
slapi_value_dup(const Slapi_Value *v);
Parameters
This function takes the following parameter:
v
Returns
This function returns a pointer to a newly allocated
Memory Concerns
The new
slapi_value_free()
See Also
slapi_value_free()
506
Netscape Directory Server Plug-in Programmer's Guide • October 2004
if the two values are equal.
if
is smaller than
v1
if
is greater than
v1
v2
.
a
attribute values.
Pointer to the Slapi_Value structure you wish to duplicate.
is allocated and needs to be freed by the caller, using
Slapi_Value
.
.
v2
.
using the matching rule associated to
Slapi_Values
slapi_attr_value_cmp()
attribute values instead of the
Slapi_Value
function used in
.
Slapi_Value
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers