vf_get_prop_value

Langue: en

Version: 30 April 2003 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

vf_get_prop_value - vf_get_prop_value()

SYNOPSIS

#include <../vformat/vf_iface.h>

extern bool_t vf_get_prop_value
(
       VF_PROP_T *p_prop,

       void **pp_value,

       uint32_t *p_size,

       vf_encoding_t *p_encoding

);

PARAMETERS

VF_PROP_T *p_prop
The property.
void **pp_value
Pointer value.
uint32_t *p_size
Integer value.
vf_encoding_t *p_encoding
Type of return values.

DESCRIPTION

Get hold of raw fields associated with the property. These are of various types:

VF_ENC_VOBJECT
- *Pp_value = pointer to contained VF_OBJECT_T which can be passed back to any of the object manipulation functions.

VF_ENC_7BIT, VF_ENC_QUOTEDPRINTABLE
- *Pp_value = ptr to array of char*, *p_size = number of elts.

VF_ENC_8BIT, VF_BASE64
- *Pp_value = ptr to bytes, *p_size = number of bytes.

RETURNS

TRUE <=> encoding is valid, 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_set_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)