diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-12-17 03:34:29 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-12-17 03:34:29 +0400 |
commit | f8707d2206f898c2cd7cad505aa7423b6421d362 (patch) | |
tree | 61f742cc71f04c2d50362255856c4f12fb801e88 /src/rrd.h | |
parent | 9289af21db35126236c24d73f5c298c532ff6b12 (diff) | |
download | rspamd-f8707d2206f898c2cd7cad505aa7423b6421d362.tar.gz rspamd-f8707d2206f898c2cd7cad505aa7423b6421d362.zip |
More logic to rrd update method.
Diffstat (limited to 'src/rrd.h')
-rw-r--r-- | src/rrd.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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_ */ |