mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 01:16:43 -06:00
ae75bc963f
This is a basis for moving .gnucash to a more modern location for application specific user data (following the xdg spec).
24 lines
674 B
C
24 lines
674 B
C
/* Authors: Eric M. Ludlam <zappo@ultranet.com>
|
|
* Russ McManus <russell.mcmanus@gs.com>
|
|
* Dave Peticolas <dave@krondo.com>
|
|
*
|
|
* gfec stands for 'guile fancy error catching'.
|
|
* This code is in the public domain.
|
|
*/
|
|
|
|
#ifndef GFEC_H
|
|
#define GFEC_H
|
|
|
|
#include <libguile.h>
|
|
#include <glib.h>
|
|
#include "guile-mappings.h"
|
|
|
|
typedef void (*gfec_error_handler)(const char *error_message);
|
|
|
|
SCM gfec_eval_file(const char *file, gfec_error_handler error_handler);
|
|
SCM gfec_eval_string(const char *str, gfec_error_handler error_handler);
|
|
SCM gfec_apply(SCM proc, SCM arglist, gfec_error_handler error_handler);
|
|
gboolean gfec_try_load(const gchar *fn);
|
|
|
|
#endif
|