From 8f56db64be3f2c57a196a5eaef0286ec71782950 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 7 Jul 2020 14:31:33 +0200 Subject: src: use expression to store the log prefix Intsead of using an array of char. Signed-off-by: Pablo Neira Ayuso --- include/expression.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/expression.h') diff --git a/include/expression.h b/include/expression.h index 8135a516..87937a50 100644 --- a/include/expression.h +++ b/include/expression.h @@ -381,6 +381,8 @@ extern const struct datatype *expr_basetype(const struct expr *expr); extern void expr_set_type(struct expr *expr, const struct datatype *dtype, enum byteorder byteorder); +void expr_to_string(const struct expr *expr, char *string); + struct eval_ctx; extern int expr_binary_error(struct list_head *msgs, const struct expr *e1, const struct expr *e2, -- cgit v1.2.3