X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Frrd_graph.h;h=b92ce9c9ece0517da0b98a9e0e6117b1e0726842;hb=afdb6e580328bfea9570035f4d30e1c80ba6034a;hp=01b6799c72c2f669795955d504ef6907ad2b5f82;hpb=13b2b80a81d0fb22fc19ea95960b6ce71b8558b5;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 01b6799..b92ce9c 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -68,6 +68,7 @@ typedef struct vdef_t { typedef struct xlab_t { long minsec; /* minimum sec per pix */ + long length; /* number of secs on the image */ enum tmt_en gridtm; /* grid interval in what ?*/ long gridst; /* how many whats per grid*/ enum tmt_en mgridtm; /* label interval in what ?*/ @@ -128,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. */