home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / bsd / arpa / inet.h < prev    next >
Text File  |  1990-04-02  |  743b  |  32 lines

  1. /*
  2.  * Copyright (c) 1983 Regents of the University of California.
  3.  * All rights reserved.  The Berkeley software License Agr!1&nt
  4.  * specifies the terms and conditions for redistribution.
  5.  *
  6.  *    @(#)inet.h    5.1 (Berkeley) 5/30/85
  7.  */
  8.  
  9. /*
  10.  * External definitions for
  11.  * functions in inet(3N)
  12.  */
  13. #ifndef    _INET_H_
  14. #define    _INET_H_    1
  15.  
  16. #include <sys/types.h>
  17. #include <netinet/in.h>
  18.  
  19. #ifdef    __STRICT_BSD__
  20. unsigned long inet_addr();
  21. char    *inet_ntoa();
  22. struct    in_addr inet_makeaddr();
  23. unsigned long inet_network();
  24. #else
  25. extern unsigned long inet_addr (char *cp);
  26. extern char *inet_ntoa (struct in_addr in);
  27. extern struct in_addr inet_makeaddr (int net, int lna);
  28. extern unsigned long inet_network (char *cp);
  29. #endif    __STRICT_BSD__
  30.  
  31. #endif    _INET_H_
  32.