X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fchart.h;h=9586eb1e068aba5f480b758a79db4463c8ae465a;hb=6c01a0e73a1cf063cf3dda6d72bbc71b863b56ae;hp=d931e175b0af0f16f4f637b6e837c07676cfad38;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp-builds.git diff --git a/src/output/chart.h b/src/output/chart.h index d931e175..9586eb1e 100644 --- a/src/output/chart.h +++ b/src/output/chart.h @@ -14,7 +14,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include #include #include @@ -25,10 +24,11 @@ #include #include -#include #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