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.

46 lines
1.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: debug.h
  7. //
  8. // Contents:
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 10-02-96 RichardW Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef __SSLDEBUG_H__
  18. #define __SSLDEBUG_H__
  19. #include <dsysdbg.h>
  20. #if DBG
  21. DECLARE_DEBUG2( Ssl );
  22. #define DebugOut( x ) SslDebugPrint x
  23. #else
  24. #define DebugOut( x )
  25. #endif
  26. #define DEB_TRACE_FUNC 0x00000008 // Trace Function entry/exit
  27. #define DEB_TRACE_CRED 0x00000010 // Trace Cred functions
  28. #define DEB_TRACE_CTXT 0x00000020 // Trace Context functions
  29. #define DEB_TRACE_MAPPER 0x00000040 // Trace Mapper
  30. #define TRACE_ENTER( Func ) DebugOut(( DEB_TRACE_FUNC, "Entering " #Func "\n" ))
  31. #define TRACE_EXIT( Func, Status ) DebugOut(( DEB_TRACE_FUNC, "Exiting " #Func ", code %x, line %d\n", Status, __LINE__ ));
  32. VOID UnloadDebugSupport( VOID );
  33. #endif //__SSLDEBUG_H__