]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: add nft_ctx_new() and nft_ctx_free()
authorEric Leblond <eric@regit.org>
Thu, 24 Aug 2017 15:23:03 +0000 (17:23 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 24 Aug 2017 17:21:02 +0000 (19:21 +0200)
commit16c1681e71381ba5de4331e50c0eb085b2498e0c
tree4efba462148e5f1d7f94539789c49afd147c9053
parent5823568c8d605dbf4b258a807ed14a1c8367399e
src: add nft_ctx_new() and nft_ctx_free()

These new functions allows us to allocate and release the context
structure. This is going to be useful for libnftables.

Joint work with Pablo Neira.

Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/main.c