X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcasefile-private.h;h=1375dd01bbef3e85a35a29fd616a6548213a2022;hb=4ec88a3abb859304f42a5905231704b2ecfaf711;hp=6e35300be7b5e37e068f01bb8469573cd635054e;hpb=57b436a22d9ae0e395fb2e3ce101c2b5c2e6939e;p=pspp diff --git a/src/data/casefile-private.h b/src/data/casefile-private.h index 6e35300be7..1375dd01bb 100644 --- a/src/data/casefile-private.h +++ b/src/data/casefile-private.h @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 2004, 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 @@ -27,6 +26,7 @@ struct ccase; struct casereader; struct casefile; +struct casefilter; struct class_casefile { @@ -65,6 +65,8 @@ struct class_casereader unsigned long (*cnum) (const struct casereader *); void (*destroy) (struct casereader * r); + + struct casereader * (*clone) (const struct casereader *); }; @@ -76,6 +78,8 @@ struct casereader struct casefile *cf; /* The casefile to which this reader belongs */ struct ll ll; /* Element in the casefile's list of readers */ + + struct casefilter *filter; /* The filter to be used */ bool destructive; /* True if this reader is destructive */ };