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.
 
 
 
 

26 lines
448 B

  1. /* this header file comes from libowfat, http://www.fefe.de/libowfat/ */
  2. #ifndef IP4_H
  3. #define IP4_H
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. size_t scan_ip4(const char *src,char *ip);
  8. size_t fmt_ip4(char *dest,const char *ip);
  9. /* for djb backwards compatibility */
  10. #define ip4_scan scan_ip4
  11. #define ip4_fmt fmt_ip4
  12. #define IP4_FMT 20
  13. #define FMT_IP4 20
  14. extern const char ip4loopback[4]; /* = {127,0,0,1};*/
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif