syntax-string-source: Fix format string problems.
[pspp] / src / language / syntax-string-source.h
1 /* PSPPIRE - a graphical interface for PSPP.
2    Copyright (C) 2007, 2010 Free Software Foundation, Inc.
3
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 3 of the License, or
7    (at your option) any later version.
8
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.
13
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
16
17 #ifndef SYNTAX_STRING_SOURCE_H
18 #define SYNTAX_STRING_SOURCE_H
19
20 #include "libpspp/compiler.h"
21
22 struct getl_interface;
23
24 struct syntax_string_source;
25
26 struct getl_interface *create_syntax_string_source (const char *);
27 struct getl_interface *create_syntax_format_source (const char *, ...)
28   PRINTF_FORMAT (1, 2);
29
30 const char * syntax_string_source_get_syntax (const struct syntax_string_source *s);
31
32
33 #endif