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.

97 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. redblack.h
  5. Abstract:
  6. Prototypes for the red/black tree implementation.
  7. Author:
  8. 16-Jun-1995 t-orig
  9. Revision History:
  10. --*/
  11. // Intel prototypes:
  12. PEPNODE
  13. insertNodeIntoIntelTree(
  14. PEPNODE root,
  15. PEPNODE x,
  16. PEPNODE NIL
  17. );
  18. PEPNODE
  19. findIntel(
  20. PEPNODE root,
  21. PVOID addr,
  22. PEPNODE NIL
  23. );
  24. PEPNODE
  25. findIntelNext(
  26. PEPNODE root,
  27. PVOID addr,
  28. PEPNODE NIL
  29. );
  30. PEPNODE
  31. intelRBDelete(
  32. PEPNODE root,
  33. PEPNODE z,
  34. PEPNODE NIL
  35. );
  36. BOOLEAN
  37. intelContainsRange(
  38. PEPNODE root,
  39. PEPNODE NIL,
  40. PVOID StartAddr,
  41. PVOID EndAddr
  42. );
  43. // RISC prototypes
  44. PEPNODE
  45. insertNodeIntoNativeTree(
  46. PEPNODE root,
  47. PEPNODE x,
  48. PEPNODE NIL
  49. );
  50. PEPNODE
  51. findNative(
  52. PEPNODE root,
  53. PVOID addr,
  54. PEPNODE NIL
  55. );
  56. PEPNODE
  57. findNativeNext(
  58. PEPNODE root,
  59. PVOID addr,
  60. PEPNODE NIL
  61. );
  62. PEPNODE
  63. nativeRBDelete(
  64. PEPNODE root,
  65. PEPNODE z,
  66. PEPNODE NIL
  67. );
  68. BOOLEAN
  69. nativeContainsRange(
  70. PEPNODE root,
  71. PEPNODE NIL,
  72. PVOID StartAddr,
  73. PVOID EndAddr
  74. );