X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fterminal%2Fterminal-opts.h;h=64581baea304c81558074e3298d9c8744854ca03;hb=683961575de1160a98ed9a262b05db597b2e7609;hp=e5d032d18efcc156d28e2c7b3a613993affdc20d;hpb=14aac9fe7a7efbb6c9bded2ed5969a643cb76645;p=pspp
diff --git a/src/ui/terminal/terminal-opts.h b/src/ui/terminal/terminal-opts.h
index e5d032d18e..64581baea3 100644
--- a/src/ui/terminal/terminal-opts.h
+++ b/src/ui/terminal/terminal-opts.h
@@ -1,5 +1,5 @@
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2008 Free Software Foundation
+ Copyright (C) 2008, 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
@@ -15,13 +15,20 @@
along with this program. If not, see . */
-#ifndef TERMINAL_OPTS
-#define TERMINAL_OPTS
+#ifndef UI_TERMINAL_TERMINAL_OPTS_H
+#define UI_TERMINAL_TERMINAL_OPTS_H 1
-extern const struct argp io_argp ;
-extern const struct argp test_argp ;
+#include
+#include "language/lexer/lexer.h"
-extern const struct argp terminal_argp;
+struct argv_parser;
+struct lexer;
+struct terminal_opts;
-#endif
+struct terminal_opts *terminal_opts_init (struct argv_parser *,
+ 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 */