Scroll to navigation

vf_get_prop_name_string(3) Library Functions Manual vf_get_prop_name_string(3)

NAME

vf_get_prop_name_string - vf_get_prop_name_string()

SYNOPSIS

#include <../vformat/vf_iface.h>
extern char *vf_get_prop_name_string
 
(
 
VF_PROP_T *p_prop,
 
uint32_t n_string
 
);

PARAMETERS

VF_PROP_T *p_prop
Property to locate string from.
uint32_t n_string
Index to string required.

DESCRIPTION

Get n'th name string. For example a property may be defined as:
THING;THIS=STUFF;WITH-QUALIFIERS:fred-fred-fred;gogogo;baabaabaa
A call to vf_get_prop_name_string() specifying n_string=2 will return a pointer to the WITH-QUALIFIERS value.
Return NULL if out of range request, ie. N_string=4 for X;A;B;C:foo.

RETURNS

Pointer to string value if value present, NULL if index too large.

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_set_prop_value(3), vf_get_prop_value_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)
30 April 2003 c2man vf_iface.h