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.
 
 
 
 
 
 

57 lines
1.9 KiB

/*==========================================================================
*
* Copyright (C) 1998-2000 Microsoft Corporation. All Rights Reserved.
*
* File: DebugUtils.h
* Content: Winsock service provider debug utilitiy functions
*
*
* History:
* Date By Reason
* ==== == ======
* 12/01/98 jtk Created
* 01/10/20000 rmt Updated to build with Millenium build process
***************************************************************************/
#ifndef __DEBUG_UTILS_H__
#define __DEBUG_UTILS_H__
//**********************************************************************
// Constant definitions
//**********************************************************************
//**********************************************************************
// Macro definitions
//**********************************************************************
//**********************************************************************
// Structure definitions
//**********************************************************************
typedef struct sockaddr SOCKADDR;
typedef struct IDirectPlay8Address IDirectPlay8Address;
//**********************************************************************
// Variable definitions
//**********************************************************************
//**********************************************************************
// Function prototypes
//**********************************************************************
#ifdef DBG
void HexDump( PVOID pData, UINT32 uDataSize );
void DumpSocketAddress( const DWORD dwDebugLevel, const SOCKADDR *const pSocketAddress, const DWORD dwFamily );
void DumpAddress( const DWORD dwDebugLevel, const TCHAR *const pBaseString, IDirectPlay8Address *const pAddress );
#else // DBG
#define HexDump( x, y )
#define DumpSocketAddress( x, y, z )
#define DumpAddress( x, y, z )
#endif // DBG
#endif // __DEBUG_UTILS_H__