From e8b5419b94e230d008d6701b66d02434a7cb1152 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 8 Jun 2018 17:27:16 +0200 Subject: JSON: Add support for socket expression Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- include/json.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/json.h') diff --git a/include/json.h b/include/json.h index ae393814..1972bc84 100644 --- a/include/json.h +++ b/include/json.h @@ -39,6 +39,7 @@ json_t *numgen_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *hash_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *fib_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *constant_expr_json(const struct expr *expr, struct output_ctx *octx); +json_t *socket_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *integer_type_json(const struct expr *expr, struct output_ctx *octx); json_t *string_type_json(const struct expr *expr, struct output_ctx *octx); @@ -115,6 +116,7 @@ EXPR_PRINT_STUB(numgen_expr) EXPR_PRINT_STUB(hash_expr) EXPR_PRINT_STUB(fib_expr) EXPR_PRINT_STUB(constant_expr) +EXPR_PRINT_STUB(socket_expr) EXPR_PRINT_STUB(integer_type) EXPR_PRINT_STUB(string_type) -- cgit v1.2.3