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.

83 lines
4.4 KiB

  1. // pointers to resident pages of virtual memory of the given object type
  2. extern MOD FAR * near modRes;
  3. extern MODSYM FAR * near modsymRes;
  4. extern SYM FAR * near symRes;
  5. extern PROP FAR * near propRes;
  6. extern DEF FAR * near defRes;
  7. extern REF FAR * near refRes;
  8. extern CAL FAR * near calRes;
  9. extern CBY FAR * near cbyRes;
  10. extern ORD FAR * near ordRes;
  11. extern SBR FAR * near sbrRes;
  12. extern char FAR * near textRes;
  13. extern OCR FAR * near ocrRes;
  14. // global variables for communication with getsbrec.c
  15. extern BYTE near r_rectyp; // current record type
  16. extern BYTE near r_fcol; // read column #'s
  17. extern BYTE near r_majv; // major version #
  18. extern BYTE near r_minv; // minor version #
  19. extern BYTE near r_lang; // current language
  20. extern WORD near r_lineno; // current line number
  21. extern WORD near r_ordinal; // symbol ordinal
  22. extern WORD near r_attrib; // symbol attribute
  23. extern char near r_bname[]; // symbol or filename
  24. extern char near r_cwd[]; // current working directory
  25. extern BYTE near r_rectyp; // current record type
  26. extern BYTE near r_fcol; // read column #'s
  27. extern WORD near r_lineno; // current line number
  28. extern WORD near r_ordinal; // symbol ordinal
  29. extern WORD near r_attrib; // symbol attribute
  30. extern char near r_bname[]; // symbol or filename
  31. extern char near r_cwd[]; // this .sbr files current dir
  32. extern char near c_cwd[]; // pwbrmake's actual current dir
  33. // option variables
  34. extern BOOL near OptEm; // TRUE = exclude macro bodies
  35. extern BOOL near OptEs; // TRUE = exclude system files
  36. extern BOOL near OptIu; // TRUE = exclude unused syms
  37. extern BOOL near OptV; // Verbose switch
  38. #if DEBUG
  39. extern WORD near OptD; // debug bits
  40. #endif
  41. // others that I haven't classified yet
  42. extern BYTE near MaxSymLen; // longest symbol len
  43. extern VA near vaSymHash[]; // symbol list
  44. extern LPEXCL near pExcludeFileList; // exclude file list
  45. extern LSZ near lszFName; // name of current .sbr file
  46. extern FILE * near streamOut; // .bsc output stream
  47. extern int near fhCur; // file handle for the current .sbr file
  48. extern LSZ near prectab[]; // record types table
  49. extern LSZ near plangtab[]; // language types table
  50. extern LSZ near ptyptab[]; // prop types table
  51. extern LSZ near patrtab[]; // prop attributes table
  52. extern WORD near isbrCur; // current SBR file index
  53. extern FILE * near OutFile; // .BSC file handle
  54. extern WORD near ModCnt; // count of modules
  55. extern WORD near SbrCnt; // count of sbr files
  56. extern BYTE near fCase; // TRUE for case compare
  57. extern BYTE near MaxSymLen; // longest symbol len
  58. extern BOOL near fOutputBroken; // TRUE while database is incomplete
  59. extern VA near vaUnknownSym; // ptr to 'UNKNOWN' Symbol
  60. extern VA near vaUnknownMod; // unknown module
  61. extern BOOL near fDupSym; // TRUE if adding duplicate atom
  62. extern VA near vaRootMod; // Module list
  63. extern VA near rgVaSym[]; // Symbol list
  64. extern FILE * near streamCur; // Current .sbr handle
  65. extern LSZ near OutputFileName; // Output file name
  66. extern VA FAR * near rgvaSymSorted;
  67. extern VA near vaRootMod;
  68. extern VA near vaCurMod;
  69. extern VA near vaCurSym;
  70. extern VA near vaRootOrd;
  71. extern VA near vaRootSbr;
  72. extern WORD near cAtomsMac;
  73. extern WORD near cModulesMac;
  74. extern WORD near cSymbolsMac;
  75. extern LSZ near lszFName; // current .sbr file name