X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fany-reader.h;h=e999aa33f5be28543d18c1f0b120d47ded4264d0;hb=6c091c8123879cb0cf385e167e468eb82ac69d2c;hp=5ba72fc0a26a041123a62f4c2e187f7d072780e3;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp-builds.git diff --git a/src/data/any-reader.h b/src/data/any-reader.h index 5ba72fc0..e999aa33 100644 --- a/src/data/any-reader.h +++ b/src/data/any-reader.h @@ -1,21 +1,18 @@ -/* PSPP - computes sample statistics. - Copyright (C) 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . +/* PSPP - a program for statistical analysis. + Copyright (C) 2006, 2010 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 the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #ifndef ANY_READER_H #define ANY_READER_H 1 @@ -24,11 +21,8 @@ struct file_handle; struct dictionary; -struct ccase; -struct any_reader *any_reader_open (struct file_handle *, +bool any_reader_may_open (const char *file_name); +struct casereader *any_reader_open (struct file_handle *, struct dictionary **); -bool any_reader_read (struct any_reader *, struct ccase *); -bool any_reader_error (struct any_reader *); -void any_reader_close (struct any_reader *); #endif /* any-reader.h */