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.

79 lines
1.9 KiB

  1. // Copyright (c) 1993-1999 Microsoft Corporation
  2. #ifndef __DBENTRY_DEFINED__
  3. #define __DBENTRY_DEFINED__
  4. #define EXPECTED_CHAR (1)
  5. #define EXPECTED_CONSTRUCT (2)
  6. typedef struct _dbentry {
  7. short fExpected;
  8. short State;
  9. char * pExpected;
  10. } DBERR;
  11. #endif /*__DBENTRY_DEFINED__*/
  12. #define ACF_MAX_DB_ENTRIES 57
  13. char * GetExpectedSyntax( short );
  14. DBERR ACF_SyntaxErrorDB[ ACF_MAX_DB_ENTRIES ] = {
  15. { 2, 1, " the end of file"}
  16. ,{ 1, 2, "{"}
  17. ,{ 2, 3, " the keyword \"interface\""}
  18. ,{ 2, 5, " acf interface attributes"}
  19. ,{ 2, 7, " an acf interface name"}
  20. ,{ 1, 8, "]"}
  21. ,{ 2, 8, " an acf interface attribute"}
  22. ,{ 1, 19, "("}
  23. ,{ 1, 27, "("}
  24. ,{ 1, 33, "("}
  25. ,{ 1, 34, "("}
  26. ,{ 1, 35, "("}
  27. ,{ 1, 36, "("}
  28. ,{ 1, 37, "("}
  29. ,{ 1, 38, "}"}
  30. ,{ 1, 41, ";"}
  31. ,{ 1, 42, ";"}
  32. ,{ 1, 43, ";"}
  33. ,{ 2, 44, " list of include file name strings"}
  34. ,{ 2, 46, " an identifier"}
  35. ,{ 2, 48, " acf operation attributes"}
  36. ,{ 2, 54, " allocation unit specifications"}
  37. ,{ 2, 55, " pointer size specification"}
  38. ,{ 2, 56, " a number"}
  39. ,{ 2, 57, " a number"}
  40. ,{ 2, 58, " a number"}
  41. ,{ 2, 59, " a number"}
  42. ,{ 2, 60, " an end of file"}
  43. ,{ 2, 68, " a type name"}
  44. ,{ 2, 69, " acf type attributes"}
  45. ,{ 1, 71, "]"}
  46. ,{ 2, 71, " an acf operation attribute"}
  47. ,{ 1, 79, ")"}
  48. ,{ 2, 80, " handle type specifications"}
  49. ,{ 1, 82, ")"}
  50. ,{ 1, 82, ","}
  51. ,{ 1, 85, ")"}
  52. ,{ 1, 89, ")"}
  53. ,{ 1, 90, ")"}
  54. ,{ 1, 91, ")"}
  55. ,{ 1, 92, ")"}
  56. ,{ 1, 96, "]"}
  57. ,{ 2, 96, " an acf type attribute"}
  58. ,{ 1, 103, "("}
  59. ,{ 1, 108, "("}
  60. ,{ 2, 112, " an identifier"}
  61. ,{ 2, 116, " allocation unit specifications"}
  62. ,{ 2, 124, " represent type specification"}
  63. ,{ 1, 128, ")"}
  64. ,{ 1, 130, ")"}
  65. ,{ 2, 133, " an identifier"}
  66. ,{ 2, 135, " acf parameter attributes"}
  67. ,{ 1, 140, "]"}
  68. ,{ 2, 140, " an acf parameter attribute"}
  69. ,{ 1, 148, "("}
  70. ,{ 2, 152, " an identifier"}
  71. ,{ 1, 153, ")"}
  72. };