summaryrefslogtreecommitdiffstats
path: root/include/libipset
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-06-25 09:29:20 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-06-25 09:29:20 +0200
commit0c7e18edb07ed205e7087b73a85fa692f45003ab (patch)
tree4455fd109bcdd539e47234e74ce158b0269f213d /include/libipset
parenteb9af8fe6d4776242fea84f5228b46d903539146 (diff)
Add element count to all set types header
It is better to list the set elements for all set types, thus the header information is uniform. Element counts are therefore added to the bitmap and list types.
Diffstat (limited to 'include/libipset')
-rw-r--r--include/libipset/utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/libipset/utils.h b/include/libipset/utils.h
index ceedd45..3cd29da 100644
--- a/include/libipset/utils.h
+++ b/include/libipset/utils.h
@@ -19,9 +19,6 @@
#define STRCASEQ(a, b) (strcasecmp(a, b) == 0)
#define STRNCASEQ(a, b, n) (strncasecmp(a, b, n) == 0)
-/* Match set type names */
-#define MATCH_TYPENAME(a, b) STRNEQ(a, b, strlen(b))
-
/* Stringify tokens */
#define _STR(c) #c
#define STR(c) _STR(c)