From 77fe3c826652b0697359c65ead688f4f4bf4a742 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 27 Jul 2024 14:56:03 -0700 Subject: charts: experimenting with a deferred maintenance mode --- src/charts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/charts.h') diff --git a/src/charts.h b/src/charts.h index 4737267..c6bf88f 100644 --- a/src/charts.h +++ b/src/charts.h @@ -8,10 +8,12 @@ #include "vcr.h" +#define VWM_CHARTS_FLAG_DEFER_MAINTENANCE 0x1 + typedef struct _vwm_charts_t vwm_charts_t; typedef struct _vwm_chart_t vwm_chart_t; -vwm_charts_t * vwm_charts_create(vcr_backend_t *vbe); +vwm_charts_t * vwm_charts_create(vcr_backend_t *vbe, unsigned flags); void vwm_charts_destroy(vwm_charts_t *charts); void vwm_charts_rate_increase(vwm_charts_t *charts); void vwm_charts_rate_decrease(vwm_charts_t *charts); -- cgit v1.2.3