1 /* PSPP - computes sample statistics.
2 Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 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, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 void settings_init (void);
26 void settings_done (void);
28 void force_long_view (void);
29 int get_viewlength (void);
30 void set_viewlength (int);
32 int get_viewwidth (void);
33 void set_viewwidth (int);
35 bool get_safer_mode (void);
36 void set_safer_mode (void);
40 bool get_include (void);
41 void set_include (bool);
46 bool get_errorbreak (void);
47 void set_errorbreak (bool);
49 bool get_error_routing_to_terminal (void);
50 void set_error_routing_to_terminal (bool);
51 bool get_error_routing_to_listing (void);
52 void set_error_routing_to_listing (bool);
54 bool get_scompression (void);
55 void set_scompression (bool);
57 bool get_undefined (void);
58 void set_undefined (bool);
59 double get_blanks (void);
60 void set_blanks (double);
62 int get_mxwarns (void);
63 void set_mxwarns (int);
64 int get_mxerrs (void);
65 void set_mxerrs (int);
67 bool get_printback (void);
68 void set_printback (bool);
69 bool get_mprint (void);
70 void set_mprint (bool);
72 int get_mxloops (void);
73 void set_mxloops (int);
75 bool get_nulline (void);
76 void set_nulline (bool);
78 char get_endcmd (void);
79 void set_endcmd (char);
81 size_t get_workspace (void);
82 size_t get_workspace_cases (size_t value_cnt);
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 */