diff options
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r-- | src/libutil/str_util.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index 801bcc109..2f822d97c 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -197,4 +197,24 @@ goffset rspamd_substring_search (const gchar *in, gsize inlen, */ goffset rspamd_string_find_eoh (GString *input); +/** + * Emit UCL object to gstring + * @param obj object to emit + * @param emit_type emitter type + * @param target target string + */ +void rspamd_ucl_emit_gstring (ucl_object_t *obj, + enum ucl_emitter emit_type, + GString *target); + +/** + * Emit UCL object to fstring + * @param obj object to emit + * @param emit_type emitter type + * @param target target string + */ +void rspamd_ucl_emit_fstring (ucl_object_t *obj, + enum ucl_emitter emit_type, + rspamd_fstring_t **target); + #endif /* SRC_LIBUTIL_STR_UTIL_H_ */ |