Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. #ifndef _ARPA_INET_H
  2. #define _ARPA_INET_H
  3.  
  4. #include <sys/cdefs.h>
  5. #include <sys/types.h>
  6. #include <netinet/in.h>
  7.  
  8. __BEGIN_DECLS
  9.  
  10. int inet_aton(const char* cp, struct in_addr* inp) ;
  11. unsigned long int inet_addr(const char* cp) ;
  12. unsigned long int inet_network(const char* cp) ;
  13. char* inet_ntoa(struct in_addr in) ;
  14. char* inet_ntoa_r(struct in_addr in,char* buf) ;
  15. struct in_addr inet_makeaddr(int net, int host) ;
  16. unsigned long int inet_lnaof(struct in_addr in) ;
  17. unsigned long int inet_netof(struct in_addr in) ;
  18.  
  19. int inet_pton (int AF, const char* CP, void* BUF) ;
  20. const char* inet_ntop (int AF, const void* CP, char* BUF, size_t LEN) ;
  21.  
  22. __END_DECLS
  23.  
  24. #endif
  25.