X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdata%2Fsettings.h;h=9ef278fc509e88f8b9fb7b52b6e97edeeb4671f3;hb=2c7d1b0285e21571b1e50def87e33095f095ce4e;hp=b9fc73ae738f8abfddcb068ad9ecece7e4b4ac8e;hpb=3a61659a8fc11c51ad5af02b20f5613dcde50382;p=pspp diff --git a/src/data/settings.h b/src/data/settings.h index b9fc73ae73..9ef278fc50 100644 --- a/src/data/settings.h +++ b/src/data/settings.h @@ -1,21 +1,18 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . - 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 the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #if !settings_h #define settings_h 1 @@ -23,19 +20,9 @@ #include #include -/* Types of routing. */ -enum - { - SET_ROUTE_SCREEN = 001, /* Output to screen devices? */ - SET_ROUTE_LISTING = 002, /* Output to listing devices? */ - SET_ROUTE_OTHER = 004, /* Output to other devices? */ - SET_ROUTE_DISABLE = 010 /* Disable output--overrides all other bits. */ - }; - -void settings_init (void); +void settings_init (int *, int *); void settings_done (void); -void force_long_view (void); int get_viewlength (void); void set_viewlength (int); @@ -56,6 +43,11 @@ void set_epoch (int); bool get_errorbreak (void); void set_errorbreak (bool); +bool get_error_routing_to_terminal (void); +void set_error_routing_to_terminal (bool); +bool get_error_routing_to_listing (void); +void set_error_routing_to_listing (bool); + bool get_scompression (void); void set_scompression (bool); @@ -84,6 +76,7 @@ char get_endcmd (void); void set_endcmd (char); size_t get_workspace (void); +size_t get_workspace_cases (size_t value_cnt); void set_workspace (size_t); const struct fmt_spec *get_format (void);