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.
69 lines
811 B
69 lines
811 B
/*++
|
|
|
|
Copyright (c) 1994 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
debug.c
|
|
|
|
Abstract:
|
|
|
|
Contains debug functions.
|
|
|
|
Author:
|
|
|
|
Madan Appiah (madana) 15-Nov-1994
|
|
|
|
Environment:
|
|
|
|
User Mode - Win32
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
|
|
#if DBG
|
|
|
|
|
|
#include <windows.h>
|
|
#include <winnt.h>
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <debug.h>
|
|
|
|
|
|
|
|
VOID
|
|
InternetDebugPrintValist(
|
|
IN LPSTR Format,
|
|
va_list list
|
|
);
|
|
|
|
extern BOOL UrlcacheDebugEnabled;
|
|
|
|
VOID
|
|
TcpsvcsDbgPrintRoutine(
|
|
IN DWORD DebugFlag,
|
|
IN LPSTR Format,
|
|
...
|
|
)
|
|
|
|
{
|
|
va_list arglist;
|
|
|
|
if (!UrlcacheDebugEnabled) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
va_start(arglist, Format);
|
|
|
|
InternetDebugPrintValist(Format, arglist);
|
|
|
|
va_end(arglist);
|
|
}
|
|
|
|
#endif // DBG
|