diff options
author | Maria Matejka <mq@ucw.cz> | 2019-02-11 17:12:48 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2019-02-20 22:30:54 +0100 |
commit | 5289304519918f62d099463123bf6c69a0dd497e (patch) | |
tree | 8333f8440e9040868ecc3b43f769802db4e87fac /filter/filter.h | |
parent | 87bd7cd7b03f24c9d7c37a2a060ef553f26ead29 (diff) |
Filter data manipulation functions separated to their file
Diffstat (limited to 'filter/filter.h')
-rw-r--r-- | filter/filter.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/filter/filter.h b/filter/filter.h index 9b3886fb..9f1a8e50 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -40,17 +40,13 @@ struct rte; enum filter_return f_run(const struct filter *filter, struct rte **rte, struct linpool *tmp_pool, int flags); enum filter_return f_eval_rte(const struct f_line *expr, struct rte **rte, struct linpool *tmp_pool); -enum filter_return f_eval(const struct f_line *expr, struct linpool *tmp_pool, struct f_val *pres); uint f_eval_int(const struct f_line *expr); +enum filter_return f_eval_buf(const struct f_line *expr, struct linpool *tmp_pool, buffer *buf); char *filter_name(struct filter *filter); int filter_same(struct filter *new, struct filter *old); int f_same(const struct f_line *f1, const struct f_line *f2); -int val_compare(const struct f_val *v1, const struct f_val *v2); - -void val_format(const struct f_val *v, buffer *buf); - #define FILTER_ACCEPT NULL #define FILTER_REJECT ((void *) 1) #define FILTER_UNDEF ((void *) 2) /* Used in BGP */ |