#ifndef _DRAW_GRAPHS #define _DRAW_GRAPHS #define MAX_STRLEN 16 struct rrd_image { char *rrd_database; /* Database file path */ char *image_filename; /* Output image */ int width; /* Image dimensions */ int height; char timestart[MAX_STRLEN]; char timeend[MAX_STRLEN]; char imageformat[MAX_STRLEN]; char **options; /* Null terminated list of rrdgraph options */ int text_lead; /* Number of spaces at the beginning of line */ char **text; /* Null terminated list of text lines */ }; int rrdtool_draw_image(struct rrd_image *image); int rrdtool_draw_images(struct rrd_image **image); int rrdtool_update_data(struct rrd_database *rrd); #endif