home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / MacTCP Library 1.1 / Library / HighLevel ƒ / Headers ƒ / HighLevelDNS.h next >
Encoding:
C/C++ Source or Header  |  1995-12-04  |  332 b   |  29 lines  |  [TEXT/SPM ]

  1. /*
  2.  
  3.     HighLevelDNS.h
  4.  
  5.     high-level DNS functions.
  6.  
  7.     11/28/95 mc - Created.
  8. */
  9.  
  10. #pragma once
  11.  
  12. #ifndef __HL_DNS_H
  13. #define __HL_DNS_H
  14.  
  15. #include <MyTCPIncludes.h>
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. OSErr DNSLookup(char *hostname,ip_addr *host);
  22. OSErr DNSLookupHost(ip_addr host,char* hostname);
  23.  
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27.  
  28. #endif
  29.