vf_write_file(3) vf_write_file()

SYNOPSIS

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

extern bool_t vf_write_file
(
       const char *p_name,

       VF_OBJECT_T *p_object,

       bool_t write_all

);

PARAMETERS

const char *p_name
Outpt filename.
VF_OBJECT_T *p_object
The object to write.
bool_t write_all
Should write p_next as well?.

DESCRIPTION

Write indicated vobject to file. For lists of objects (eg. Read from a phonebook) the write_all parameter allows the caller to control if the library writes the entire list or just the head item.

RETURNS

TRUE <=> written OK, FALSE else.