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.

25 lines
591 B

  1. #ifndef __OUTFUNCS_H__
  2. #define __OUTFUNCS_H__
  3. // Array of callback functions which will be called to print buffer
  4. #define BUFFER_MAX_FUNCTIONS 5
  5. typedef VOID (*StringOutFunc) (const char *);
  6. #if defined(__cplusplus)
  7. extern "C"
  8. {
  9. #endif
  10. void AddOutputFunction(StringOutFunc pfunc);
  11. void DelOutputFunction(StringOutFunc pfunc);
  12. void CallOutputFunctions(const char *buffer);
  13. void OutputLogFileA(const char *buf);
  14. void WriteToDebugScreen(BOOL flag);
  15. void WriteToLogFile(LPCTSTR lpfn);
  16. void OpenDebugSinks();
  17. void CloseDebugSinks();
  18. #if defined(__cplusplus)
  19. }
  20. #endif
  21. #endif // __OUTFUNCS_H__