output: Make it possible to push and pop output engines.
[pspp] / src / output / driver.h
index 93802078a43cb5fcabb2922bf0abf077205d4a90..bc2b52183f2328f66c62dc80768cf2e9454d21bd 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000, 2007, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -23,16 +23,18 @@ struct output_item;
 struct string_set;
 struct string_map;
 
-void output_submit (struct output_item *);
+void output_get_supported_formats (struct string_set *);
 
-void output_flush (void);
+void output_engine_push (void);
+void output_engine_pop (void);
 
-void output_close (void);
-void output_get_supported_formats (struct string_set *);
+void output_submit (struct output_item *);
+void output_flush (void);
 
 struct output_driver *output_driver_create (struct string_map *options);
+bool output_driver_is_registered (const struct output_driver *);
+
 void output_driver_register (struct output_driver *);
 void output_driver_unregister (struct output_driver *);
-bool output_driver_is_registered (const struct output_driver *);
 
 #endif /* output/driver.h */