Merge commit 'origin/stable'
[pspp-builds.git] / src / data / case-tmpfile.h
index 3a92debc6e8e1b40be4e98342b96cd50a3487629..bbf736e3d13080f365c2932e4d65294ef63d2549 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 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
@@ -31,7 +31,9 @@
 
 #include <data/case.h>
 
-struct case_tmpfile *case_tmpfile_create (size_t value_cnt);
+struct caseproto;
+
+struct case_tmpfile *case_tmpfile_create (const struct caseproto *);
 bool case_tmpfile_destroy (struct case_tmpfile *);
 
 bool case_tmpfile_error (const struct case_tmpfile *);
@@ -41,8 +43,7 @@ const struct taint *case_tmpfile_get_taint (const struct case_tmpfile *);
 bool case_tmpfile_get_values (const struct case_tmpfile *,
                               casenumber, size_t start_value,
                               union value[], size_t value_cnt);
-bool case_tmpfile_get_case (const struct case_tmpfile *,
-                            casenumber, struct ccase *);
+struct ccase *case_tmpfile_get_case (const struct case_tmpfile *, casenumber);
 
 bool case_tmpfile_put_values (struct case_tmpfile *,
                               casenumber, size_t start_value,