dirfile_parser_callback (3) Linux Manual Page
dirfile_parser_callback — set the syntax error callback handler for a dirfile
Synopsis
#include <getdata.h>- void dirfile_parser_callback(DIRFILE *dirfile, gd_parser_callback_t sehandler, void *extra);
Description
Since parsing of an existing format file occurs when the DIRFILE object is created, before this function can be called, this function is only useful to set or modify a callback function or its caller data before calling dirfile_include(3), which will invoke the callback function if syntax errors are found in the included fragment.
This function always succeeds, and has no return value.
