vf_get_next_object(3) vf_get_next_object()

SYNOPSIS

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

extern bool_t vf_get_next_object(VF_OBJECT_T **pp_object);

PARAMETERS

VF_OBJECT_T **pp_object
Ptr to pointer to current object.

DESCRIPTION

Find "next" vobject. Typically called after a call to vf_read_file() which may well read a list of objects from a file for example:

if (vf_read_file(&p_object, p_filename)) { do {  ... } while (vf_get_next_object(&p_object)) ; }

The value of *pp_object is updated by the call if it returns TRUE.

RETURNS

TRUE iff found (ie. There is a "next" object).