dirfile_parser_callback (3) - Linux Manuals
dirfile_parser_callback: set the syntax error callback handler for a dirfile
NAME
dirfile_parser_callback --- set the syntax error callback handler for a dirfileSYNOPSIS
#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.