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.

77 lines
2.0 KiB

  1. /*
  2. * This file is generated by the automatic RPC Parser generator. (Version 0.21)
  3. *
  4. * Created on 04/09/97 at 00:00:13.
  5. */
  6. #ifndef DATABASE_H
  7. #define DATABASE_H
  8. #include "user.h"
  9. #include "skeleton.h"
  10. //
  11. // special proc nums for sequence number hack
  12. //
  13. #define GUMQUEUELOCKINGUPDATE_PROC 21
  14. #define GUMATTEMPTJOINUPDATE_PROC 22
  15. #define GUMUNLOCKUPDATE_PROC 23
  16. #define GUMUPDATENODE_PROC 24
  17. #define GUMJOINUPDATENODE_PROC 25
  18. #define GUMGETNODESEQUENCE_PROC 26
  19. #define GUMATTEMPTLOCKINGUPDATE_PROC 36
  20. //
  21. // define for looking up interface name pointer
  22. //
  23. #define GET_PROCEDURE_NAME(_index_, _pnum_) (ProcedureNames[ProcedureNameIndex[_index_] + \
  24. _pnum_ - \
  25. FirstProcedureNumber[_index_]])
  26. /*
  27. * Data structures defined in database.c
  28. */
  29. extern char InterfaceNames[NUM_INTERFACES][LOCAL_MAX_NAME_LENGTH];
  30. extern char ProcedureNames[NUM_PROCEDURES][LOCAL_MAX_NAME_LENGTH];
  31. extern WORD ProcedureNameIndex[NUM_INTERFACES];
  32. extern WORD FirstProcedureNumber[NUM_INTERFACES];
  33. extern PROPERTYINFO IntraCluster_GenProps[];
  34. extern PROPERTYINFO IntraCluster_PrivProps[];
  35. extern DWORD nIntraClusterGenProps;
  36. extern DWORD nIntraClusterPrivProps;
  37. extern PROPERTYINFO ExtroCluster_GenProps[];
  38. extern DWORD nExtroClusterGenProps;
  39. extern PROPERTYINFO Clusapi_GenProps[];
  40. extern DWORD nClusapiGenProps;
  41. extern PROPERTYINFO JoinVersion_GenProps[];
  42. extern DWORD nJoinVersionGenProps;
  43. //
  44. // prop names shared by all parsers. These have to be defined for each
  45. // parser's property info database
  46. //
  47. typedef enum
  48. {
  49. GENPROP_SUMMARY,
  50. GENPROP_ERROR_BAD_OPCODE,
  51. GENPROP_CALLNAME,
  52. GENPROP_ENCRYPTED,
  53. } GENERIC_PROPERTY_NAMES;
  54. //
  55. // interface specific properties, i.e., only attached to the parser indicated
  56. // in the typedef name
  57. //
  58. typedef enum
  59. {
  60. INTRACLUS_PROP_SEQNUMBER
  61. } INTRACLUSTER_PROPERTY_NAMES;
  62. #endif