diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/payload.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/payload.h b/include/payload.h index 95364af1..ca9b0138 100644 --- a/include/payload.h +++ b/include/payload.h @@ -19,7 +19,10 @@ extern bool payload_is_adjacent(const struct expr *e1, const struct expr *e2); extern struct expr *payload_expr_join(const struct expr *e1, const struct expr *e2); +bool payload_expr_trim(struct expr *expr, struct expr *mask, + const struct proto_ctx *ctx); extern void payload_expr_expand(struct list_head *list, struct expr *expr, + struct expr *mask, const struct proto_ctx *ctx); extern void payload_expr_complete(struct expr *expr, const struct proto_ctx *ctx); |