config.h-fixes.patch from patch #6230.
[pspp-builds.git] / src / output / chart.h
index d931e175b0af0f16f4f637b6e837c07676cfad38..9586eb1e068aba5f480b758a79db4463c8ae465a 100644 (file)
@@ -14,7 +14,6 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
-#include <config.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>
 
 #include <math/chart-geometry.h>
 #include <libpspp/str.h>
-#include <libpspp/alloc.h>
 #include "manager.h"
 #include "output.h"
 
+#include "xalloc.h"
+
 #ifndef CHART_H
 #define CHART_H
 
@@ -85,4 +85,11 @@ struct chart {
 struct chart * chart_create(void);
 void chart_submit(struct chart *ch);
 
+/* Helper functions for output drivers that put each chart into a
+   separate file. */
+void chart_init_separate (struct chart *, const char *type,
+                          const char *file_name_tmpl, int number);
+
+void chart_finalise_separate (struct chart *);
+
 #endif