lexer: Reimplement for better testability and internationalization.
[pspp-builds.git] / src / ui / terminal / terminal-opts.h
index 12251123db3623b71cf65d5745bada2ddc78eb43..64581baea304c81558074e3298d9c8744854ca03 100644 (file)
 #ifndef UI_TERMINAL_TERMINAL_OPTS_H
 #define UI_TERMINAL_TERMINAL_OPTS_H 1
 
+#include <stdbool.h>
+#include "language/lexer/lexer.h"
+
 struct argv_parser;
-struct source_stream;
+struct lexer;
 struct terminal_opts;
 
 struct terminal_opts *terminal_opts_init (struct argv_parser *,
-                                          struct source_stream *);
+                                          enum lex_syntax_mode *,
+                                          bool *process_statrc,
+                                          char **syntax_encoding);
 void terminal_opts_done (struct terminal_opts *, int argc, char *argv[]);
 
 #endif /* ui/terminal/terminal-opts.h */