/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2004, 2005, 2006, 2009, 2010 Free Software Foundation
+ Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011 Free Software Foundation
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
#ifndef PSPPIRE_H
#define PSPPIRE_H
-struct source_stream;
+#include <glib.h>
+
+#include <stdbool.h>
+
+struct lexer;
+
+
+struct init_source
+{
+ GSource parent;
+ int state;
+ GMainLoop *loop;
+ gchar *file;
+ int *argc;
+ char ***argv;
+};
+
+bool initialize (const struct init_source *is);
-void initialize (struct source_stream *, const char *data_file);
void de_initialize (void);
void psppire_quit (void);
const char * output_file_name (void);
+void psppire_set_lexer (struct lexer *);
+
#endif /* PSPPIRE_H */