windows-nt/Source/XPSP1/NT/ds/dns/dnsapi/trace.h

74 lines
1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 2000-2001 Microsoft Corporation
Module Name:
trace.h
Abstract:
Domain Name System (DNS) API
Header for DNS performance tracing functions.
Author:
Inder Sethi December, 2000
Revision History:
Jim Gilroy January 2001 cleanup, format, integrate, checkin
--*/
#ifndef _DNSAPI_TRACE_INCLUDED_
#define _DNSAPI_TRACE_INCLUDED_
//
// Tracing functions
//
VOID
Trace_Initialize(
VOID
);
VOID
Trace_Cleanup(
VOID
);
VOID
Trace_LogQueryEvent(
IN PDNS_MSG_BUF pMsg,
IN WORD wQuestionType
);
VOID
Trace_LogResponseEvent(
IN PDNS_MSG_BUF pMsg,
IN WORD wRespType,
IN DNS_STATUS Status
);
VOID
Trace_LogSendEvent(
IN PDNS_MSG_BUF pMsg,
IN DNS_STATUS Status
);
VOID
Trace_LogRecvEvent(
IN PDNS_MSG_BUF pMsg,
IN DNS_STATUS Status,
IN BOOL fTcp
);
#endif // _DNSAPI_TRACE_INCLUDED_
//
// End trace.h
//