]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - filter/filter.h
Filter: CLI command to dump all the linearized filters
[thirdparty/bird.git] / filter / filter.h
index 36b63e7c8d37105598292c1019fa873802f88525..9d997efbf9b9c755256d11b2a024dbe4dc39527d 100644 (file)
@@ -64,9 +64,11 @@ int f_same(const struct f_line *f1, const struct f_line *f2);
 
 void filter_commit(struct config *new, struct config *old);
 
+void filters_dump_all(void);
+
 #define FILTER_ACCEPT NULL
-#define FILTER_REJECT ((void *) 1)
-#define FILTER_UNDEF  ((void *) 2)     /* Used in BGP */
+#define FILTER_REJECT ((struct filter *) 1)
+#define FILTER_UNDEF  ((struct filter *) 2)    /* Used in BGP */
 
 #define FF_SILENT 2                    /* Silent filter execution */