Add scratch file handles.
[pspp-builds.git] / src / pfm-read.h
index 1ffbf5380642eb7f070674260a64b23945f76b64..5639816a44f41d7a0e79f4b90a7e9a5cd846c4d4 100644 (file)
 
    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., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA. */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA. */
 
 #ifndef PFM_READ_H
 #define PFM_READ_H
 
 /* Portable file reading. */
 
-#include "bool.h"
-
-/* Portable file types. */
-enum pfm_type
-  {
-    PFM_COMM,   /* Formatted for communication. */
-    PFM_TAPE    /* Formatted for tape. */
-  };
+#include <stdbool.h>
+#include <stdio.h>
 
 /* Information produced by pfm_read_dictionary() that doesn't fit into
    a dictionary struct. */
@@ -49,5 +43,6 @@ struct pfm_reader *pfm_open_reader (struct file_handle *,
                                     struct pfm_read_info *);
 bool pfm_read_case (struct pfm_reader *, struct ccase *);
 void pfm_close_reader (struct pfm_reader *);
+bool pfm_detect (FILE *);
 
 #endif /* pfm-read.h */