diff options
Diffstat (limited to 'ipset.h')
-rw-r--r-- | ipset.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,8 +21,6 @@ */ #include <getopt.h> -#include <sys/types.h> -#include <netdb.h> #include <linux/netfilter_ipv4/ip_set.h> @@ -184,6 +182,9 @@ extern void *ipset_malloc(size_t size); extern char *ipset_strdup(const char *); extern void ipset_free(void **data); +extern struct set *set_find_byname(const char *name); +extern struct set *set_find_byid(ip_set_id_t id); + #define BITSPERBYTE (8*sizeof(char)) #define ID2BYTE(id) ((id)/BITSPERBYTE) #define ID2MASK(id) (1 << ((id)%BITSPERBYTE)) |