table of contents
other versions
- wheezy 0.7.3-6
- jessie 0.7.3-6+b2
- testing 0.9.4-1
- unstable 0.9.4-1
- experimental 0.10.0-1
gd_parser_callback(3) | GETDATA | 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¶
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 registered 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.SEE ALSO¶
gd_cbopen(3), gd_include(3), dirfile(5)17 September 2010 | Version 0.7.0 |