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.

48 lines
801 B

  1. #ifndef __RULES_H__
  2. #define __RULES_H__
  3. //
  4. // externally provides allocation/free services.
  5. //
  6. LPVOID
  7. RulesAlloc(
  8. IN DWORD cb
  9. );
  10. VOID
  11. RulesFree(
  12. IN LPVOID pv
  13. );
  14. // get the length of the entire rules structure
  15. BOOL
  16. GetLengthOfRuleset(
  17. IN PPST_ACCESSRULESET pRules,
  18. OUT DWORD *pcbRules
  19. );
  20. // set up the rules to be output
  21. BOOL
  22. MyCopyOfRuleset(
  23. IN PPST_ACCESSRULESET pRulesIn,
  24. OUT PPST_ACCESSRULESET pRulesOut
  25. );
  26. BOOL
  27. RulesRelativeToAbsolute(
  28. IN PPST_ACCESSRULESET pRules
  29. );
  30. BOOL
  31. RulesAbsoluteToRelative(
  32. IN PPST_ACCESSRULESET NewRules
  33. );
  34. // free allocated clause data in relative format
  35. void
  36. FreeClauseDataRelative(
  37. IN PPST_ACCESSRULESET NewRules
  38. );
  39. #endif // __RULES_H__