GnuCash 2.4.99
gfec.h
00001 /*  Authors: Eric M. Ludlam <zappo@ultranet.com>
00002  *           Russ McManus <russell.mcmanus@gs.com>
00003  *           Dave Peticolas <dave@krondo.com>
00004  *
00005  *  gfec stands for 'guile fancy error catching'.
00006  *  This code is in the public domain.
00007  */
00008 
00009 #ifndef GFEC_H
00010 #define GFEC_H
00011 
00012 #include <libguile.h>
00013 #include <glib.h>
00014 #include "guile-mappings.h"
00015 
00016 typedef void (*gfec_error_handler)(const char *error_message);
00017 
00018 SCM gfec_eval_file(const char *file, gfec_error_handler error_handler);
00019 SCM gfec_eval_string(const char *str, gfec_error_handler error_handler);
00020 SCM gfec_apply(SCM proc, SCM arglist, gfec_error_handler error_handler);
00021 gboolean gfec_try_load(gchar *fn);
00022 
00023 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines