From 1087d4df2a7342d2832ba3bab1843bf4a3040775 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Sun, 14 Jul 2024 21:28:19 +0200 Subject: add version 0.12.10 --- src/ip_bit.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/ip_bit.h (limited to 'src/ip_bit.h') diff --git a/src/ip_bit.h b/src/ip_bit.h new file mode 100644 index 0000000..49df160 --- /dev/null +++ b/src/ip_bit.h @@ -0,0 +1,15 @@ +#ifndef IP_BIT_H +#define IP_BIT_H + +#include "stralloc.h" + +extern int bitstring_ip4(stralloc *,stralloc *); +extern int ip4_bitstring(stralloc *,char *,unsigned int); +extern unsigned int ip4_cscan(const char *,char [4]); +extern void getnum(char *,int,unsigned long *); + +extern int bitstring_ip6(stralloc *,stralloc *); +extern int ip6_bitstring(stralloc *,char *,unsigned int); +extern unsigned int ip6_fmt_str(stralloc *,char *); + +#endif -- cgit v1.2.3