From f6992cbb211a42f776333fe65dfad49f17455a3f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 7 Feb 2011 03:05:49 +0100 Subject: src: deduplicate find_proto function Signed-off-by: Jan Engelhardt --- xshared.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xshared.h') diff --git a/xshared.h b/xshared.h index 4a7f96fc..11d95fe5 100644 --- a/xshared.h +++ b/xshared.h @@ -1,6 +1,7 @@ #ifndef IPTABLES_XSHARED_H #define IPTABLES_XSHARED_H 1 +#include #include #include @@ -28,5 +29,8 @@ enum { extern void print_extension_helps(const struct xtables_target *, const struct xtables_rule_match *); +extern const char *proto_to_name(uint8_t, int); +extern struct xtables_match *find_proto(const char *, enum xtables_tryload, + int, struct xtables_rule_match **); #endif /* IPTABLES_XSHARED_H */ -- cgit v1.2.3