Added property for the backend
[pspp] / src / data / gnumeric-reader.h
index b313fc78768cf446975156c6d68647f277a72d4b..b21ddfd558b001d4fdd0dee43fc4712f6d5255dc 100644 (file)
 #include <stdbool.h>
 
 struct casereader;
+struct dictionary;
+struct spreadsheet_read_info;
+struct spreadsheet_read_options;
 
 
-struct gnumeric_read_info
-{
-  char *sheet_name ;            /* In UTF-8. */
-  char *file_name ;             /* In filename encoding. */
-  char *cell_range ;            /* In UTF-8. */
-  int sheet_index ;
-  bool read_names ;
-  int asw ;
-};
-
-struct dictionary;
+struct spreadsheet *gnumeric_probe (const char *filename);
 
-struct casereader * gnumeric_open_reader (struct gnumeric_read_info *, struct dictionary **);
+struct casereader * gnumeric_make_reader (struct spreadsheet *spreadsheet,
+                                         const struct spreadsheet_read_info *gri, 
+                                         struct spreadsheet_read_options *opts);
 
 
 #endif