Leaked source code of windows server 2003
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.

51 lines
748 B

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. dhcpl.h
  5. Abstract:
  6. This file is the main header file for the dhcp library functions.
  7. Author:
  8. Manny Weiser (mannyw) 12-Oct-1992
  9. Revision History:
  10. --*/
  11. //#define __DHCP_USE_DEBUG_HEAP__
  12. #include <nt.h>
  13. #include <ntrtl.h>
  14. #include <nturtl.h>
  15. #include <windef.h>
  16. #include <winbase.h>
  17. #include <winsock.h>
  18. #include <stdlib.h>
  19. #include <dhcp.h>
  20. #include <dhcplib.h>
  21. //
  22. // debug heap support
  23. //
  24. #include <heapx.h>
  25. #ifdef DBG
  26. #ifdef __DHCP_USE_DEBUG_HEAP__
  27. #pragma message ( "*** DHCP Library will use debug heap ***" )
  28. #define DhcpAllocateMemory(x) calloc(1,x)
  29. #define DhcpFreeMemory(x) free(x)
  30. #endif
  31. #endif