vf_set_prop_value(3)
NAME
vf_set_prop_value - vf_set_prop_value()
SYNOPSIS
#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?.
DESCRIPTION
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.
SEE ALSO
- vf_parse_init(3), vf_parse_text(3), vf_parse_end(3), vf_read_file(3),
vf_write_file(3), vf_get_next_object(3), vf_create_object(3),
vf_get_object_type(3), vf_get_property(3), vf_get_property_ex(3),
vf_get_next_property(3), vf_get_prop_value(3),
vf_get_prop_value_string(3), vf_get_prop_name_string(3),
vf_set_prop_name_string(3), vf_get_prop_name(3),
vf_get_prop_value_object(3), vf_set_prop_value_object(3),
vf_set_prop_value_string(3), vf_set_prop_value_base64(3),
vf_get_prop_value_base64(3), vf_set_property_from_file(3),
vf_delete_object(3), vf_delete_prop(3), vf_find_prop_qual_index(3),
vf_is_modified(3), vf_find_charset(3), vf_date_string_to_time(3),
vf_period_string_to_time(3), vf_period_time_to_string(3),
vf_set_prop_value_time(3), vf_get_prop_value_time(3)