summaryrefslogtreecommitdiffstats
path: root/src/libutil/rrd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-18 17:15:18 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-18 17:15:18 +0100
commit07ae99830ac1cdfc7f9a1c16c5dce62eb7d00cbe (patch)
tree33de5bb4ac3d5d16c9a7f1c4651954a19ea86f0d /src/libutil/rrd.h
parent35f8137b1d18ea516968f4f9598763c46b5c2790 (diff)
downloadrspamd-07ae99830ac1cdfc7f9a1c16c5dce62eb7d00cbe.tar.gz
rspamd-07ae99830ac1cdfc7f9a1c16c5dce62eb7d00cbe.zip
Add writing to rrd from the controller.
Diffstat (limited to 'src/libutil/rrd.h')
-rw-r--r--src/libutil/rrd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/rrd.h b/src/libutil/rrd.h
index e6231bab8..189ea479a 100644
--- a/src/libutil/rrd.h
+++ b/src/libutil/rrd.h
@@ -329,4 +329,10 @@ void rrd_make_default_ds (const gchar *name,
const gchar *type,
gulong pdp_step,
struct rrd_ds_def *ds);
+
+/**
+ * Open or create the default rspamd rrd file
+ */
+struct rspamd_rrd_file *rspamd_rrd_file_default (const gchar *path,
+ GError **err);
#endif /* RRD_H_ */