summaryrefslogtreecommitdiff
path: root/src/ip_bit.h
blob: 49df160ea67bc90aec62d9b2d0f790899f209a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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