diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 18:56:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 18:56:33 +0000 |
commit | 14c13854d3cae9d93c3d148be30fb72f1eaffe55 (patch) | |
tree | 7b1a3e41b75490fac4d45722c90a1847543c6796 /src/libserver/dynamic_cfg.h | |
parent | 6b2b4167187fee09365271cca182866ecb029af3 (diff) | |
download | rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.tar.gz rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.zip |
[Rework] Further types conversion (no functional changes)
Diffstat (limited to 'src/libserver/dynamic_cfg.h')
-rw-r--r-- | src/libserver/dynamic_cfg.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libserver/dynamic_cfg.h b/src/libserver/dynamic_cfg.h index bb386ca7e..6041ed6e2 100644 --- a/src/libserver/dynamic_cfg.h +++ b/src/libserver/dynamic_cfg.h @@ -46,13 +46,13 @@ gboolean dump_dynamic_config(struct rspamd_config *cfg); * @return */ gboolean add_dynamic_symbol(struct rspamd_config *cfg, - const gchar *metric, - const gchar *symbol, - gdouble value); + const char *metric, + const char *symbol, + double value); gboolean remove_dynamic_symbol(struct rspamd_config *cfg, - const gchar *metric, - const gchar *symbol); + const char *metric, + const char *symbol); /** * Add action for specified metric @@ -63,16 +63,16 @@ gboolean remove_dynamic_symbol(struct rspamd_config *cfg, * @return */ gboolean add_dynamic_action(struct rspamd_config *cfg, - const gchar *metric, - guint action, - gdouble value); + const char *metric, + unsigned int action, + double value); /** * Removes dynamic action */ gboolean remove_dynamic_action(struct rspamd_config *cfg, - const gchar *metric, - guint action); + const char *metric, + unsigned int action); #ifdef __cplusplus } |