1 /* PSPP - computes sample statistics.
2 Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 /* Portable file reading. */
27 /* Information produced by pfm_read_dictionary() that doesn't fit into
28 a dictionary struct. */
31 char creation_date[11]; /* `dd mm yyyy' plus a null. */
32 char creation_time[9]; /* `hh:mm:ss' plus a null. */
33 char product[61]; /* Product name plus a null. */
34 char subproduct[61]; /* Subproduct name plus a null. */
40 struct pfm_reader *pfm_open_reader (struct file_handle *,
42 struct pfm_read_info *);
43 bool pfm_read_case (struct pfm_reader *, struct ccase *);
44 bool pfm_read_error (const struct pfm_reader *);
45 void pfm_close_reader (struct pfm_reader *);
46 bool pfm_detect (FILE *);
48 #endif /* por-file-reader.h */