gd_parser_callback (3)
NAME
gd_parser_callback --- set the syntax error callback handler for a dirfileSYNOPSIS
#include <getdata.h>- void gd_parser_callback(DIRFILE *dirfile, gd_parser_callback_t sehandler, void *extra);
DESCRIPTION
Since parsing of an existing format specification 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 gd_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.
SEE ALSO
gd_cbopen(3), gd_include(3), dirfile(5)