1
/* GIMP - The GNU Image Manipulation Program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
#ifndef SCHEME_WRAPPER_H
20
#define SCHEME_WRAPPER_H
22
FILE * ts_get_output_file (void);
23
void ts_set_output_file (FILE *file);
25
void ts_set_console_mode (int flag);
27
void ts_set_print_flag (gint);
28
void ts_print_welcome (void);
30
const gchar * ts_get_error_msg (void);
31
const gchar * ts_get_success_msg (void);
33
void tinyscheme_init (const gchar *path,
34
gboolean local_register_scripts);
35
void tinyscheme_deinit (void);
37
void ts_output_string (FILE *fp, char *string, int len);
39
/* if the return value is 0, success. error otherwise. */
40
gint ts_interpret_string (const gchar *);
42
#endif /* SCHEME_WRAPPER_H */