1 /* PSPP - a program for statistical analysis.
2 Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
23 void settings_init (void);
24 void settings_done (void);
26 void force_long_view (void);
27 int get_viewlength (void);
28 void set_viewlength (int);
30 int get_viewwidth (void);
31 void set_viewwidth (int);
33 bool get_safer_mode (void);
34 void set_safer_mode (void);
38 bool get_include (void);
39 void set_include (bool);
44 bool get_errorbreak (void);
45 void set_errorbreak (bool);
47 bool get_error_routing_to_terminal (void);
48 void set_error_routing_to_terminal (bool);
49 bool get_error_routing_to_listing (void);
50 void set_error_routing_to_listing (bool);
52 bool get_scompression (void);
53 void set_scompression (bool);
55 bool get_undefined (void);
56 void set_undefined (bool);
57 double get_blanks (void);
58 void set_blanks (double);
60 int get_mxwarns (void);
61 void set_mxwarns (int);
62 int get_mxerrs (void);
63 void set_mxerrs (int);
65 bool get_printback (void);
66 void set_printback (bool);
67 bool get_mprint (void);
68 void set_mprint (bool);
70 int get_mxloops (void);
71 void set_mxloops (int);
73 bool get_nulline (void);
74 void set_nulline (bool);
76 char get_endcmd (void);
77 void set_endcmd (char);
79 size_t get_workspace (void);
80 size_t get_workspace_cases (size_t value_cnt);
81 void set_workspace (size_t);
83 const struct fmt_spec *get_format (void);
84 void set_format (const struct fmt_spec *);
86 bool get_testing_mode (void);
87 void set_testing_mode (bool);
90 ENHANCED, /* Use improved PSPP behavior. */
91 COMPATIBLE /* Be as compatible as possible. */
94 enum behavior_mode get_algorithm (void);
95 void set_algorithm (enum behavior_mode);
96 enum behavior_mode get_syntax (void);
97 void set_syntax(enum behavior_mode);
98 void set_cmd_algorithm (enum behavior_mode);
99 void unset_cmd_algorithm (void);
101 #endif /* !settings_h */