Patch #6086. Adds "transformation pending" state.
[pspp-builds.git] / src / data / procedure.h
index 1b014e81cf158e2a879bd406c46668b27a2822c0..cfb8f218c5402cc5d26053003b7993d27f01cc10 100644 (file)
@@ -51,12 +51,14 @@ struct dictionary ;
 typedef void  replace_source_callback (struct casereader *);
 typedef void  replace_dictionary_callback (struct dictionary *);
 
+typedef void transformation_change_callback_func (bool non_empty, void *aux);
 
-struct dataset * create_dataset (replace_source_callback *,
-                                replace_dictionary_callback *);
-
+struct dataset * create_dataset (transformation_change_callback_func *, void *);
 void destroy_dataset (struct dataset *);
 
+void dataset_add_transform_change_callback (struct dataset *,
+                                           transformation_change_callback_func *, void *);
+
 void proc_discard_active_file (struct dataset *);
 void proc_set_active_file (struct dataset *,
                            struct casereader *, struct dictionary *);