Use the gnumeric_reopen function
[pspp] / src / data / gnumeric-reader.h
index f1af5e56ee9bcb2b9738538b87694ef3dc8ae1ae..8c7518f808037b92b69f64d7eca0934546bb9764 100644 (file)
@@ -24,9 +24,17 @@ struct dictionary;
 struct spreadsheet_read_info;
 struct spreadsheet_read_options;
 
-struct casereader * gnumeric_open_reader (const struct spreadsheet_read_info *, 
-                                         struct spreadsheet_read_options *,
-                                         struct dictionary **);
+struct spreadsheet *gnumeric_probe (const char *filename);
+
+const char * gnumeric_get_sheet_name (struct spreadsheet *s, int n);
+
+char * gnumeric_get_sheet_range (struct spreadsheet *s, int n);
+
+void gnumeric_destroy (struct spreadsheet *);
+
+struct casereader * gnumeric_make_reader (struct spreadsheet *spreadsheet,
+                                         const struct spreadsheet_read_info *gri, 
+                                         struct spreadsheet_read_options *opts);
 
 
 #endif