debian man page for gd_parser_callback

Query: gd_parser_callback

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

gd_parser_callback(3)						      GETDATA						     gd_parser_callback(3)

NAME
gd_parser_callback -- set the syntax error callback handler for a dirfile
SYNOPSIS
#include <getdata.h> void gd_parser_callback(DIRFILE *dirfile, gd_parser_callback_t sehandler, void *extra);
DESCRIPTION
The gd_parser_callback() function updates the syntax error callback function of the DIRFILE object dirfile to be sehandler, and the caller supplied extra pointer passed to the handler to be extra, discarding any syntax error handler and extra pointer which were previously reg- istered for this DIRFILE. If sehandler is NULL, the existing handler will be removed and the default behaviour (abort on error) restored. See gd_cbopen(3) for a discussion on the requirements for the syntax handler. Since parsing of an existing format specification occurs when the DIRFILE object is created, before this function can be called, this func- tion 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) Version 0.7.0 17 September 2010 gd_parser_callback(3)
Related Man Pages
gd_close(3) - debian
gd_nfields(3) - debian
gd_nfragments(3) - debian
gd_nmfields(3) - debian
gd_nvectors(3) - debian
Similar Topics in the Unix Linux Community
Can some review my code would be appreicated?
vim and syntax max os
Getting error &quot;syntax error at line 78 : `&lt;' unmatched&quot;
syntax error: `-a' unexpected operator/operand in IF
sh: syntax error at line 8 : `&lt;&lt;' is not matched.