X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcase-tmpfile.h;h=b7078d4cdcb50729d7a77af408e69a7f92934222;hb=1e9875fc6bd073f970e28de5ef49e82717705858;hp=a5916249d45fcf04ca55d2845da70ff8ebe618f2;hpb=7fbfc32fc3c636959b0a25b3e76609f86519e84a;p=pspp diff --git a/src/data/case-tmpfile.h b/src/data/case-tmpfile.h index a5916249d4..b7078d4cdc 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, 2009 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,23 +29,25 @@ #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 *); void case_tmpfile_force_error (struct case_tmpfile *); const struct taint *case_tmpfile_get_taint (const struct case_tmpfile *); - bool case_tmpfile_get_values (const struct case_tmpfile *, +bool case_tmpfile_get_values (const struct case_tmpfile *, casenumber, size_t start_value, - union value[], size_t value_cnt); + union value[], size_t n_values); struct ccase *case_tmpfile_get_case (const struct case_tmpfile *, casenumber); bool case_tmpfile_put_values (struct case_tmpfile *, casenumber, size_t start_value, - const union value[], size_t value_cnt); + const union value[], size_t n_values); bool case_tmpfile_put_case (struct case_tmpfile *, casenumber, struct ccase *);