Functions for Handling Values
slapi_value_dup()
slapi_value_new()
slapi_value_new_value()
Allocates a new
Slapi_Value
Syntax
#include "slapi-plugin.h"
slapi_value_new_value(const Slapi_Value *v);
Parameters
This function takes the following parameter:
v
Returns
This function returns a pointer to the newly allocated
be allocated (for example, if no more virtual memory exists), the
will terminate.
Description
This function returns a
the
Slapi_Value
slapi_value_dup()
Memory Concerns
When you are no longer using the value, you should free it from memory by
calling the
See Also
slapi_value_dup()
slapi_value_free()
460
Netscape Directory Server Plug-In Programmer's Guide • January 2002
structure and initializes it from another
Slapi_Value
structure.
Pointer to the Slapi_Value structure used to initialize the
newly allocated Slapi_Value.
Slapi_Value
structure passed as the parameter. This function is identical to
.
slapi_value_free()
Slapi_Value
structure containing a value duplicated from
function/
. If space cannot
program
slapd
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?
Questions and answers