X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fsyntax-string-source.h;h=d2e1a9ba82c52c781288d491d6d7e1f9c0598739;hb=d1d36e7a9553b6effe6e6839128a05ef82b59466;hp=58742bc64a1d76100d4c919bb9b21110d227a5a8;hpb=e6ab905e28e6759c1f475bf47eaca92ee2c49334;p=pspp-builds.git diff --git a/src/language/syntax-string-source.h b/src/language/syntax-string-source.h index 58742bc6..d2e1a9ba 100644 --- a/src/language/syntax-string-source.h +++ b/src/language/syntax-string-source.h @@ -1,29 +1,33 @@ -/* - PSPPIRE --- A Graphical User Interface for PSPP - Copyright (C) 2007 Free Software Foundation +/* PSPPIRE - a graphical interface for PSPP. + Copyright (C) 2007, 2010 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ #ifndef SYNTAX_STRING_SOURCE_H #define SYNTAX_STRING_SOURCE_H +#include "libpspp/compiler.h" + struct getl_interface; -struct getl_interface * -create_syntax_string_source (const char *fmt, ...); +struct syntax_string_source; + +struct getl_interface *create_syntax_string_source (const char *); +struct getl_interface *create_syntax_format_source (const char *, ...) + PRINTF_FORMAT (1, 2); + +const char * syntax_string_source_get_syntax (const struct syntax_string_source *s); #endif