Windows NT 4.0 source code leak
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.

24 lines
899 B

4 years ago
  1. #ifndef _CJOHN_INCLUDED
  2. #define _CJOHN_INCLUDED
  3. extern "C" VOID APIENTRY AppendText(PBYTE pb, int cbText, INT dwCharSet);
  4. extern "C" VOID APIENTRY SyncData(PINT, PBYTE *, PINT, PBYTE *, PINT);
  5. extern "C" VOID APIENTRY SetJohnTables(PBYTE , INT, PBYTE , INT);
  6. extern "C" INT APIENTRY CompressString(PBYTE pb, INT, PBYTE *);
  7. extern "C" BOOL APIENTRY VAllocValidate();
  8. extern "C" BOOL APIENTRY InitFTIndex( PBYTE pbFileName, INT dwDefaultCharset);
  9. extern "C" void APIENTRY TopicBreak( DWORD dwTopicNum, DWORD dwHash, PBYTE pbText, int cbText);
  10. #ifdef _DEBUG
  11. extern int __giHeapStat;
  12. #define HeapValidOrDie() ASSERT((__giHeapStat = _heapchk()) == _HEAPOK)
  13. #else
  14. #define HeapValidOrDie() ASSERT(_heapchk() == _HEAPOK)
  15. #endif
  16. void AddCharCounts( int iCbTotal, int iCbPhrase, int iCbJohn);
  17. void AddZeckCounts( int iCbUncomp, int iCbComp);
  18. void ReportCharCounts(void);
  19. #endif // _CJOHN_INCLUDED