X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=09c2f1d7fd0b302e06f8cff4da0f0fdcd348e1cb;hb=d1e55cdc27a837fb0f4c54ed019e3946e7a6e08b;hp=a7467369987acfcc3be0c0694b701ef36acaa908;hpb=e8615c408aaed016d27e4d0a3c21513409b4d6cf;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index a746736..09c2f1d 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -128,6 +128,7 @@ typedef struct image_desc_t { /* configuration of graph */ char graphfile[MAXPATH]; /* filename for graphic */ + FILE *graphhandle; /* FILE to use if filename is "-" */ long xsize,ysize,piesize; /* graph area size in pixels */ gfx_color_t graph_col[__GRC_END__]; /* real colors for the graph */ text_prop_t text_prop[TEXT_PROP_LAST]; /* text properties */ @@ -210,7 +211,7 @@ int graph_paint(image_desc_t *, char ***); void pie_part(image_desc_t *, gfx_color_t, double, double, double, double, double); int gdes_alloc(image_desc_t *); int scan_for_col(char *, int, char *); -int rrd_graph(int, char **, char ***, int *, int *); +int rrd_graph(int, char **, char ***, int *, int *, FILE *); void rrd_graph_init(image_desc_t *); void rrd_graph_options(int, char **, image_desc_t *); void rrd_graph_script(int, char **, image_desc_t *);