diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-09-20 13:01:01 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-09-20 13:01:01 +0200 |
commit | 0d1b3c4c0e3261d1d4261e9aeb9975a01d0ff2f9 (patch) | |
tree | 05ae8b12a4ce9c7173ae5c3365f4f63367c2eb4c /filter/filter.h | |
parent | 2dec1e3471385ea191862c8fe85d76a8e47410de (diff) | |
download | bird-0d1b3c4c0e3261d1d4261e9aeb9975a01d0ff2f9.tar bird-0d1b3c4c0e3261d1d4261e9aeb9975a01d0ff2f9.zip |
Changes print-like filter commands to use a log instead of a stderr.
And extends the log subsystem to better handle that.
Diffstat (limited to 'filter/filter.h')
-rw-r--r-- | filter/filter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/filter.h b/filter/filter.h index 9148518..c3eb8b4 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -74,7 +74,7 @@ struct f_trie *f_new_trie(linpool *lp); void trie_add_prefix(struct f_trie *t, ip_addr px, int plen, int l, int h); int trie_match_prefix(struct f_trie *t, ip_addr px, int plen); int trie_same(struct f_trie *t1, struct f_trie *t2); -int trie_print(struct f_trie *t, char *buf, int blen); +void trie_print(struct f_trie *t); void fprefix_get_bounds(struct f_prefix *px, int *l, int *h); @@ -107,7 +107,6 @@ int i_same(struct f_inst *f1, struct f_inst *f2); int val_compare(struct f_val v1, struct f_val v2); int tree_compare(const void *p1, const void *p2); -void val_print(struct f_val v); #define F_NOP 0 #define F_NONL 1 |