aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-08 14:29:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-08 14:29:56 +0100
commit6b4535ef8ad8d9839f0ccfc8bdc579f001094e99 (patch)
tree9c9a83dfa324791ece3b11de5472d06d74906376 /src/libutil/str_util.h
parentc456b18a963242b80fbd30b3ad261d2c28502dab (diff)
downloadrspamd-6b4535ef8ad8d9839f0ccfc8bdc579f001094e99.tar.gz
rspamd-6b4535ef8ad8d9839f0ccfc8bdc579f001094e99.zip
Use const ucl_object_t for dump.
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r--src/libutil/str_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 75938668b..8ea5e3fce 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -204,7 +204,7 @@ goffset rspamd_string_find_eoh (GString *input);
* @param emit_type emitter type
* @param target target string
*/
-void rspamd_ucl_emit_gstring (ucl_object_t *obj,
+void rspamd_ucl_emit_gstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
GString *target);
@@ -214,7 +214,7 @@ void rspamd_ucl_emit_gstring (ucl_object_t *obj,
* @param emit_type emitter type
* @param target target string
*/
-void rspamd_ucl_emit_fstring (ucl_object_t *obj,
+void rspamd_ucl_emit_fstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
rspamd_fstring_t **target);