Slapi_Value_Set() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

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()

slapi_value_set()

Sets the value in a
Syntax
#include "slapi-plugin.h"
slapi_value_set( Slapi_Value *value, void *val, unsigned long len);
Parameters
This function takes the following parameters:
value
val
len
Returns
This function returns a pointer to the
Description
This function sets the value in the
of the data pointed to by
Memory Concerns
If the pointer to the
function returns
freed from memory before the new one is set.
Slapi_Value
structure passed as the parameter. This function is identical to
.
slapi_value_free()
Slapi_Value
Pointer to the Slapi_Value in which to set the value.
Pointer to the value.
Length of the value.
and of the length
val
Slapi_Value
. If the
NULL
Slapi_Value
structure containing a value duplicated from
function.
structure.
with the value set.
Slapi_Value
structure. The value is a duplicate
Slapi_Value
.
len
structure is
, then nothing is done, and the
NULL
structure already contains a value, it is
Chapter 15
Functions for Handling Values
Function Reference
519

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents