X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=d0482b592f9b7329f914258bb559fe38cbb6715c;hb=be67fb36af7b40e2cb388a4d8a1f3cc0bdba90b2;hp=5a8af09aff5e4bc2e7be626abcf8249fa607b569;hpb=a594d80c2349e0c711d12114256ae889564e41c1;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 5a8af09..d0482b5 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -129,7 +129,9 @@ typedef struct graph_desc_t { /* description of data fetched for the graph element */ time_t start,end; /* timestaps for first and last data element */ + time_t start_orig,end_orig; /* timestaps for first and last data element */ unsigned long step; /* time between samples */ + unsigned long step_orig; /* time between samples */ unsigned long ds_cnt; /* how many data sources are there in the fetch */ long data_first; /* first pointer to this data */ char **ds_namv; /* name of datasources in the fetch. */ @@ -235,7 +237,7 @@ int graph_paint(image_desc_t *, char ***); void pie_part(image_desc_t *, gfx_color_t, double, double, double, double, double); #endif int gdes_alloc(image_desc_t *); -int scan_for_col(char *, int, char *); +int scan_for_col(const char *const , int, char *const); int rrd_graph(int, char **, char ***, int *, int *, FILE *, double *, double *); void rrd_graph_init(image_desc_t *); void rrd_graph_options(int, char **, image_desc_t *); @@ -243,7 +245,7 @@ void rrd_graph_script(int, char **, image_desc_t *, int); int rrd_graph_check_vname(image_desc_t *, char *, char *); int rrd_graph_color(image_desc_t *, char *, char *, int); int bad_format(char *); -int vdef_parse(struct graph_desc_t *,char *); +int vdef_parse(struct graph_desc_t *,const char *const); int vdef_calc(image_desc_t *, int); int vdef_percent_compar(const void *,const void *); int graph_size_location(image_desc_t *, int