aboutsummaryrefslogtreecommitdiffstats
path: root/src/rrd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-12-17 03:34:29 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-12-17 03:34:29 +0400
commitf8707d2206f898c2cd7cad505aa7423b6421d362 (patch)
tree61f742cc71f04c2d50362255856c4f12fb801e88 /src/rrd.h
parent9289af21db35126236c24d73f5c298c532ff6b12 (diff)
downloadrspamd-f8707d2206f898c2cd7cad505aa7423b6421d362.tar.gz
rspamd-f8707d2206f898c2cd7cad505aa7423b6421d362.zip
More logic to rrd update method.
Diffstat (limited to 'src/rrd.h')
-rw-r--r--src/rrd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rrd.h b/src/rrd.h
index b1420a72a..158965caa 100644
--- a/src/rrd.h
+++ b/src/rrd.h
@@ -361,4 +361,15 @@ enum rrd_cf_type rrd_cf_from_string (const gchar *str);
*/
const gchar* rrd_cf_to_string (enum rrd_cf_type type);
+/* Default RRA and DS */
+
+/**
+ * Create default RRA
+ */
+void rrd_make_default_rra (const gchar *cf_name, gulong pdp_cnt, gulong rows, struct rrd_rra_def *rra);
+
+/**
+ * Create default DS
+ */
+void rrd_make_default_ds (const gchar *name, gulong pdp_step, struct rrd_ds_def *ds);
#endif /* RRD_H_ */