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.

71 lines
2.1 KiB

  1. /*****************************************************************************
  2. emruloci.h
  3. Owner: DaleG
  4. Copyright (c) 1996-1997 Microsoft Corporation
  5. Header file of Interface of Op-Code Interpreter to Rulebase.
  6. *****************************************************************************/
  7. #ifndef EMRULOCI_H
  8. #define EMRULOCI_H
  9. #include "emoci.h"
  10. #include "emkwd.h"
  11. #include "emrule.h"
  12. MSOEXTERN_C_BEGIN // ***************** Begin extern "C" ********************
  13. MSOAPI_(MSOOCV) MsoOcvEvalIrul(IRUL irul); // Eval dyn rule instrs
  14. MSOAPI_(int) MsoFReadDynOciRules( // Load oci file
  15. char *szFilePrefix,
  16. int *pdocii // RETURN
  17. );
  18. MSOAPI_(int) MsoFLoadDynRulesPocii( // Load dyn rulebase
  19. MSOOCII *pocii,
  20. int docii,
  21. MSOPFNOCI const *rgpfn,
  22. MSOOCAD const *rgocadArgDesc,
  23. unsigned char const*rgcbImmedArg,
  24. int ipfnMax,
  25. char const * const *rgpchDynNames // DEBUG ONLY
  26. );
  27. MSOAPI_(int) MsoFCopyBaseRulRgpfnoci(MSOPFNOCI *rgpfn); // Set 1st n oci fns
  28. MSOAPIX_(MSOOCV *) PocvOfIrul(short irul); // Return addr of node
  29. MSOAPI_(MSOOCV) MsoOcv_DelayGoToDirul(MSOOCV *pocvSP); // DelayGoToDirul()
  30. MSOAPI_(MSOOCV) MsoOcv_Signal(MSOOCV *pocvSP); // Signal a node
  31. MSOAPI_(MSOOCV) MsoOcv_SignalFrom(MSOOCV *pocvSP); // Signal node from
  32. MSOAPI_(MSOOCV) MsoOcv_RulParams( // Set RB params
  33. MSOOCII **ppocii,
  34. MSOOCIS *pocis
  35. );
  36. MSOAPI_(MSOOCV) MsoOcv_MapEvalLevels( // map static rule lvls
  37. MSOOCII **ppocii,
  38. MSOOCIS *pocis
  39. );
  40. MSOAPI_(MSOOCV) MsoOcv_DefEvent( // Define an event
  41. MSOOCII **ppocii,
  42. MSOOCIS *pocis
  43. );
  44. MSOAPI_(MSOOCV) MsoOcv_DefRule( // Define a rule
  45. MSOOCII **ppocii,
  46. MSOOCIS *pocis
  47. );
  48. MSOEXTERN_C_END // ****************** End extern "C" *********************
  49. #endif /* !EMRULOCI_H */