]> git.ipfire.org Git - thirdparty/nftables.git/commit
libnftables: Make some functions globally accessible
authorPhil Sutter <phil@nwl.cc>
Tue, 8 May 2018 11:08:35 +0000 (13:08 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 11 May 2018 10:16:54 +0000 (12:16 +0200)
commit7feece21f72ebf4633048b2dd447e31da30819fb
tree5863c83d4a02a06e178d3594376072a9471ac188
parentf4c87d0a7037188ff69dff29d5154a102230b792
libnftables: Make some functions globally accessible

This removes static flag and adds header prototype for the following
functions:

* must_print_eq_op() from src/expression.c
* fib_result_str() from src/fib.c
* set_policy2str() and chain_policy2str from src/rule.c

In fib.h, include linux/netfilter/nf_tables.h to make sure enum
nft_fib_result is known when including this file.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/expression.h
include/fib.h
include/rule.h
include/statement.h
src/expression.c
src/fib.c
src/rule.c
src/statement.c