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.

83 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1997-1998 Microsoft Corporation
  3. Module Name:
  4. rtmconst.c
  5. Abstract:
  6. Private Constants used in the RTMv2 DLL
  7. Author:
  8. Chaitanya Kodeboyina (chaitk) 17-Aug-1998
  9. Revision History:
  10. --*/
  11. #include "pchrtm.h"
  12. #pragma hdrstop
  13. //
  14. // RTM supported view related constants
  15. //
  16. // const DWORD VIEW_MASK[] =
  17. // {
  18. // RTM_VIEW_MASK_UCAST,
  19. // RTM_VIEW_MASK_MCAST
  20. // };
  21. #if DBG_HDL
  22. //
  23. // Type & Signature of allocated structures
  24. //
  25. const DWORD OBJECT_SIGNATURE[] =
  26. {
  27. GENERIC_ALLOC,
  28. INSTANCE_ALLOC,
  29. ADDRESS_FAMILY_ALLOC,
  30. ENTITY_ALLOC,
  31. DEST_ALLOC,
  32. ROUTE_ALLOC,
  33. NEXTHOP_ALLOC,
  34. DEST_ENUM_ALLOC,
  35. ROUTE_ENUM_ALLOC,
  36. NEXTHOP_ENUM_ALLOC,
  37. NOTIFY_ALLOC,
  38. ROUTE_LIST_ALLOC,
  39. LIST_ENUM_ALLOC,
  40. V1_REGN_ALLOC,
  41. V1_ENUM_ALLOC
  42. };
  43. #endif
  44. #if _DBG_
  45. //
  46. // Names of the references
  47. //
  48. const CHAR *REF_NAME[MAX_REFS] =
  49. {
  50. "Creation",
  51. "Addr Fam",
  52. "Entity",
  53. "Dest",
  54. "Route",
  55. "Nexthop",
  56. "Enum",
  57. "Notify",
  58. "List",
  59. "Hold",
  60. "Timer",
  61. "Temp Use",
  62. "Handle"
  63. };
  64. #endif