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.
61 lines
1.3 KiB
61 lines
1.3 KiB
//+--------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (c) Microsoft Corporation 2000
|
|
//
|
|
// File: debug.h
|
|
//
|
|
// Contents: debugging information for SSP
|
|
//
|
|
// Helper functions:
|
|
//
|
|
// History: KDamour 15Mar00 created
|
|
//
|
|
//---------------------------------------------------------------------
|
|
|
|
#ifndef NTDIGEST_DEBUG_H
|
|
#define NTDIGEST_DEBUG_H
|
|
|
|
|
|
#ifdef SECURITY_KERNEL
|
|
|
|
// Context Signatures
|
|
#define WDIGEST_CONTEXT_SIGNATURE 'TSGD'
|
|
|
|
#if DBG
|
|
extern "C"
|
|
{
|
|
void KsecDebugOut(ULONG, const char *, ...);
|
|
}
|
|
#define DebugLog(x) KsecDebugOut x
|
|
#else // DBG
|
|
#define DebugLog(x)
|
|
#endif // DBG
|
|
|
|
#else // SECURITY_KERNEL
|
|
|
|
#include "dsysdbg.h"
|
|
DECLARE_DEBUG2(Digest);
|
|
#if DBG
|
|
#define DebugLog(x) DigestDebugPrint x
|
|
#else // DBG
|
|
#define DebugLog(x)
|
|
#endif // DBG
|
|
|
|
#endif // SECURITY_KERNEL
|
|
|
|
|
|
#define DEB_ERROR 0x00000001
|
|
#define DEB_WARN 0x00000002
|
|
#define DEB_TRACE 0x00000004
|
|
#define DEB_TRACE_ASC 0x00000008
|
|
#define DEB_TRACE_ISC 0x00000010
|
|
#define DEB_TRACE_LSA 0x00000020
|
|
#define DEB_TRACE_USER 0x00000040
|
|
#define DEB_TRACE_FUNC 0x00000080
|
|
#define DEB_TRACE_MEM 0x00000100
|
|
#define TRACE_STUFF 0x00000200
|
|
|
|
|
|
#endif /* NTDIGEST_DEBUG_H */
|