Functions for Handling Values
508
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
slapi_value_dup()
slapi_value_new()
slapi_value_new_value()
Allocates a new
Slapi_Value
structure and initializes it from another
Slapi_Value
structure.
Syntax
#include “slapi-plugin.h”
slapi_value_new_value(const Slapi_Value *v);
Parameters
This function takes the following parameter:
Returns
This function returns a pointer to the newly allocated
Slapi_Value
. If space cannot
be allocated (for example, if no more virtual memory exists), the
slapd
program
will terminate.
Description
This function returns a
Slapi_Value
structure containing a value duplicated
from the
Slapi_Value
structure passed as the parameter. This function is
identical to
slapi_value_dup()
.
Memory Concerns
When you are no longer using the value, you should free it from memory by
calling the
slapi_value_free()
function/
See Also
slapi_value_dup()
slapi_value_free()
v
Pointer to the
Slapi_Value
structure used to initialize the
newly allocated
Slapi_Value
.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...