vf_get_prop_name_string(3) 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.