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.

75 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. All rights reserved
  4. Module Name:
  5. sspioutput.hxx
  6. Abstract:
  7. sspioutput
  8. Author:
  9. Larry Zhu (LZhu) Junary 1, 2002 Created
  10. Environment:
  11. User Mode -Win32
  12. Revision History:
  13. --*/
  14. #ifndef SSPI_OUTPUT_HXX
  15. #define SSPI_OUTPUT_HXX
  16. #define SSPI_NONE 0x00
  17. #define SSPI_WARN 0x01
  18. #define SSPI_ERROR 0x02
  19. #define SSPI_LOG 0x04
  20. #define SSPI_LOG_MORE 0x08
  21. #define SSPI_MSG 0x10
  22. typedef struct _TSspiLibarayGlobals
  23. {
  24. ULONG uMajorVersion;
  25. ULONG uMinorVersion;
  26. ULONG uDebugMask;
  27. PCTSTR pszDbgPrompt;
  28. } TSspiLibarayGlobals;
  29. extern TSspiLibarayGlobals g_SspiGlobals;
  30. VOID
  31. SspiPrintHex(
  32. IN ULONG ulLevel,
  33. IN OPTIONAL PCTSTR pszBanner,
  34. IN ULONG cbBuffer,
  35. IN const VOID* pvbuffer
  36. );
  37. PCTSTR
  38. SspiLevel2Str(
  39. IN ULONG ulLevel
  40. );
  41. VOID
  42. SspiPrint(
  43. IN ULONG ulLevel,
  44. IN PCTSTR pszOutput
  45. );
  46. VOID
  47. SspiLogOpen(
  48. IN PCTSTR pszPrompt,
  49. IN ULONG ulMask
  50. );
  51. VOID
  52. SspiLogClose(
  53. VOID
  54. );
  55. #endif // #ifndef OUTPUT_HXX