GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
GIS Library - Error handlers. More...
Go to the source code of this file.
Functions | |
void | G_add_error_handler (void(*func)(void *), void *closure) |
Add new error handler. More... | |
void | G_remove_error_handler (void(*func)(void *), void *closure) |
Remove existing error handler. More... | |
void | G__call_error_handlers (void) |
Call available error handlers (internal use only) More... | |
GIS Library - Error handlers.
(C) 2010-2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gis/handler.c.
void G__call_error_handlers | ( | void | ) |
Call available error handlers (internal use only)
Definition at line 101 of file gis/handler.c.
void G_add_error_handler | ( | void(*)(void *) | func, |
void * | closure | ||
) |
Add new error handler.
Example
func | handler to add |
closure | pointer to closure data |
Definition at line 70 of file gis/handler.c.
Referenced by db_set_error_handler_driver(), Rast__error_handler(), and Vect_set_error_handler_io().
void G_remove_error_handler | ( | void(*)(void *) | func, |
void * | closure | ||
) |
Remove existing error handler.
func | handler to be remove |
closure | pointer to closure data |
Definition at line 84 of file gis/handler.c.
Referenced by db_unset_error_handler_driver().