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.

73 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. trace.h
  5. Abstract:
  6. Domain Name System (DNS) API
  7. Header for DNS performance tracing functions.
  8. Author:
  9. Inder Sethi December, 2000
  10. Revision History:
  11. Jim Gilroy January 2001 cleanup, format, integrate, checkin
  12. --*/
  13. #ifndef _DNSAPI_TRACE_INCLUDED_
  14. #define _DNSAPI_TRACE_INCLUDED_
  15. //
  16. // Tracing functions
  17. //
  18. VOID
  19. Trace_Initialize(
  20. VOID
  21. );
  22. VOID
  23. Trace_Cleanup(
  24. VOID
  25. );
  26. VOID
  27. Trace_LogQueryEvent(
  28. IN PDNS_MSG_BUF pMsg,
  29. IN WORD wQuestionType
  30. );
  31. VOID
  32. Trace_LogResponseEvent(
  33. IN PDNS_MSG_BUF pMsg,
  34. IN WORD wRespType,
  35. IN DNS_STATUS Status
  36. );
  37. VOID
  38. Trace_LogSendEvent(
  39. IN PDNS_MSG_BUF pMsg,
  40. IN DNS_STATUS Status
  41. );
  42. VOID
  43. Trace_LogRecvEvent(
  44. IN PDNS_MSG_BUF pMsg,
  45. IN DNS_STATUS Status,
  46. IN BOOL fTcp
  47. );
  48. #endif // _DNSAPI_TRACE_INCLUDED_
  49. //
  50. // End trace.h
  51. //