1 /* PSPP - computes sample statistics.
2 Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
3 Written by Ben Pfaff <blp@gnu.org>.
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 void settings_init (void);
27 void settings_done (void);
29 void force_long_view (void);
30 int get_viewlength (void);
31 void set_viewlength (int);
33 int get_viewwidth (void);
34 void set_viewwidth (int);
36 bool get_safer_mode (void);
37 void set_safer_mode (void);
41 bool get_include (void);
42 void set_include (bool);
47 bool get_errorbreak (void);
48 void set_errorbreak (bool);
50 bool get_error_routing_to_terminal (void);
51 void set_error_routing_to_terminal (bool);
52 bool get_error_routing_to_listing (void);
53 void set_error_routing_to_listing (bool);
55 bool get_scompression (void);
56 void set_scompression (bool);
58 bool get_undefined (void);
59 void set_undefined (bool);
60 double get_blanks (void);
61 void set_blanks (double);
63 int get_mxwarns (void);
64 void set_mxwarns (int);
65 int get_mxerrs (void);
66 void set_mxerrs (int);
68 bool get_printback (void);
69 void set_printback (bool);
70 bool get_mprint (void);
71 void set_mprint (bool);
73 int get_mxloops (void);
74 void set_mxloops (int);
76 bool get_nulline (void);
77 void set_nulline (bool);
79 char get_endcmd (void);
80 void set_endcmd (char);
82 size_t get_workspace (void);
83 void set_workspace (size_t);
85 const struct fmt_spec *get_format (void);
86 void set_format (const struct fmt_spec *);
88 bool get_testing_mode (void);
89 void set_testing_mode (bool);
92 ENHANCED, /* Use improved PSPP behavior. */
93 COMPATIBLE /* Be as compatible as possible. */
96 enum behavior_mode get_algorithm (void);
97 void set_algorithm (enum behavior_mode);
98 enum behavior_mode get_syntax (void);
99 void set_syntax(enum behavior_mode);
100 void set_cmd_algorithm (enum behavior_mode);
101 void unset_cmd_algorithm (void);
103 #endif /* !settings_h */