vf_set_prop_value3
Vf_set_prop_value()
Usage
#include <../vformat/vf_iface.h>
extern bool_t vf_set_prop_value
(
VF_PROP_T *p_prop,
void *p_value,
uint32_t n_param,
vf_encoding_t encoding,
bool_t copy
);
Parameters
VF_PROP_T *p_prop
|
The property. |
|---|---|
void *p_value
|
Pointer to the data. |
uint32_t n_param
|
Data size or index. |
vf_encoding_t encoding
|
Encoding in use. |
bool_t copy
|
Copy the data?. |
Overview
Set values associated with a property.
Passing a value of encoding not the same as the current property encoding will cause the property contents to be freed prior to setting the indicated value.
Returns
TRUE <=> re-allocation success & encoding correct, FALSE else.
Releases
10 releases since Debian 3.1 (Sarge); the text changed 1 time.