mirror of /home/gitosis/repositories/libowfat.git
Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat
https://www.fefe.de/libowfat/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
452 B
25 lines
452 B
/* this header file comes from libowfat, http://www.fefe.de/libowfat/ */ |
|
#ifndef IP4_H |
|
#define IP4_H |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
size_t scan_ip4(const char *src,char ip[4]); |
|
size_t fmt_ip4(char *dest,const char ip[4]); |
|
|
|
/* 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};*/ |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif
|
|
|