Change "union value" to dynamically allocate long strings.
[pspp-builds.git] / src / data / settings.h
index 2de7e9009edff74dff34fc80f8bc6c9b55bf4931..3de1715f0738595dc7fd53a4df82b34a96dc98f0 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2006, 2009 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
 
 #include <stdbool.h>
 #include <stddef.h>
+#include <data/format.h>
+#include <libpspp/float-format.h>
+#include <libpspp/integer-format.h>
 
+struct caseproto;
 struct settings;
 
-
 void settings_init (int *, int *);
 void settings_done (void);
 
@@ -104,14 +107,14 @@ char settings_get_endcmd (void);
 void settings_set_endcmd (char);
 
 size_t settings_get_workspace (void);
-size_t settings_get_workspace_cases (size_t value_cnt);
-void settings_set_workspace ( size_t);
+size_t settings_get_workspace_cases (const struct caseproto *);
+void settings_set_workspace (size_t);
 
 const struct fmt_spec *settings_get_format (void);
 void settings_set_format ( const struct fmt_spec *);
 
 bool settings_get_testing_mode (void);
-void settings_set_testing_mode ( bool);
+void settings_set_testing_mode (bool);
 
 enum behavior_mode {
   ENHANCED,             /* Use improved PSPP behavior. */