libowfat/ip4.h

16 lines
299 B
C
Raw Normal View History

#ifndef IP4_H
#define IP4_H
unsigned int scan_ip4(const char *src,char *ip);
unsigned int fmt_ip4(char *dest,const char *ip);
2001-02-05 22:03:11 +00:00
/* for djb backwards compatibility */
#define ip4_scan scan_ip4
#define ip4_fmt fmt_ip4
#define IP4_FMT 20
2001-02-05 22:03:11 +00:00
extern const char ip4loopback[4]; /* = {127,0,0,1};*/
#endif