]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: Introduce xtables_globals print_help callback
authorPhil Sutter <phil@nwl.cc>
Mon, 27 Sep 2021 14:59:49 +0000 (16:59 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 20 Oct 2021 09:32:54 +0000 (11:32 +0200)
commitfe83b12fc910e43e4f22a25b56210b0dd0afc3ee
tree6292f50bb841ab78f8af9f44129c3320c0194a6d
parent0687852da7ed0a7ec8ebc88b41031dcae18c8898
libxtables: Introduce xtables_globals print_help callback

With optstring being stored in struct xtables_globals as well, it is a
natural choice to store a pointer to a help printer also which matches
the supported options.

Signed-off-by: Phil Sutter <phil@nwl.cc>
include/xtables.h
iptables/xtables-arp.c
iptables/xtables.c