man vf_get_prop_value_string (Fonctions bibliothèques) - vf_get_prop_value_string()

NAME

vf_get_prop_value_string - vf_get_prop_value_string()

SYNOPSIS

#include <../vformat/vf_iface.h> extern char *vf_get_prop_value_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 requred.

DESCRIPTION

Obtain string pointer value from VF_PROP_T. For example a property may be defined as:

THING;THIS=STUFF;WITH-QUALIFIERS:fred-fred-fred;gogogo;baabaabaa

A call to vf_get_prop_value_string() specifying n_string=1 will return a pointer to the gogogo value.

Return NULL if out of range request, ie. N_string=3 for N:0;1;2.

RETURNS

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

SEE ALSO