options: fix logic flaw when parsing ipaddr/mask notation
[project/firewall3.git] / utils.h
diff --git a/utils.h b/utils.h
index cd478f9d80886855ecf88e3df3319130c50233f0..d2e1aa68e8eacc9b8d196b83d89a55a102e6c9bd 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -95,4 +95,8 @@ void fw3_free_list(struct list_head *head);
 
 bool fw3_hotplug(bool add, void *zone, void *device);
 
+int fw3_netmask2bitlen(int family, void *mask);
+
+bool fw3_bitlen2netmask(int family, int bits, void *mask);
+
 #endif