added automake.mk files in src/language
[pspp] / src / pfm-read.h
index 5346f1539149db09a32b2aec385c34aab9d1a4d9..5639816a44f41d7a0e79f4b90a7e9a5cd846c4d4 100644 (file)
 /* Portable file reading. */
 
 #include <stdbool.h>
-
-/* Portable file types. */
-enum pfm_type
-  {
-    PFM_COMM,   /* Formatted for communication. */
-    PFM_TAPE    /* Formatted for tape. */
-  };
+#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 */