vf_set_property_from_file(3) vf_set_property_from_file()

SYNOPSIS

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

extern bool_t vf_set_property_from_file
(
       VF_PROP_T *p_prop,

       vf_encoding_t encoding,

       const char *p_filename

);

PARAMETERS

VF_PROP_T *p_prop
The property.
vf_encoding_t encoding
Encoding to use.
const char *p_filename
Source filename.

DESCRIPTION

Loads the indicated file into memory and sets the indicated property.

RETURNS

TRUE iff succeded, FALSE else.