libowfat/ip4.h
leitner 3fc96fdc7f add prototype for dns_name6 (Rolf Eike Beer)
add FMT_IP4 and FMT_IP6 for consistency
2005-08-12 10:10:42 +00:00

17 lines
318 B
C

#ifndef IP4_H
#define IP4_H
unsigned int scan_ip4(const char *src,char *ip);
unsigned int fmt_ip4(char *dest,const char *ip);
/* for djb backwards compatibility */
#define ip4_scan scan_ip4
#define ip4_fmt fmt_ip4
#define IP4_FMT 20
#define FMT_IP4 20
extern const char ip4loopback[4]; /* = {127,0,0,1};*/
#endif