X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcase-tmpfile.h;h=3659e5805e1e8a73c9a17c381c8ae8e1eff10768;hb=63ae14f7f555727026138e1668e6cf91a9046bc0;hp=3a92debc6e8e1b40be4e98342b96cd50a3487629;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp diff --git a/src/data/case-tmpfile.h b/src/data/case-tmpfile.h index 3a92debc6e..3659e5805e 100644 --- a/src/data/case-tmpfile.h +++ b/src/data/case-tmpfile.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2011 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 @@ -29,9 +29,11 @@ #ifndef DATA_CASE_TMPFILE_H #define DATA_CASE_TMPFILE_H 1 -#include +#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,