Source code of Windows XP (NT5)
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.

30 lines
742 B

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1997, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // inet_addrW.c
  8. //
  9. // SYNOPSIS
  10. //
  11. // Implements the functions ias_inet_htow and ias_inet_wtoh.
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 09/17/1997 Original version.
  16. // 02/04/1998 Added ias_inet_htow.
  17. // 02/26/1998 Moved the code to inet.c so we could generate ANSI and
  18. // UNICODE versions.
  19. //
  20. ///////////////////////////////////////////////////////////////////////////////
  21. #ifndef _UNICODE
  22. #define _UNICODE
  23. #endif
  24. #define ias_inet_addr ias_inet_wtoh
  25. #define ias_inet_ntoa ias_inet_htow
  26. #define IASStringToSubNet IASStringToSubNetW
  27. #include <inet.c>