Source code of Windows XP (NT5)
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.

48 lines
1.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000.
  5. //
  6. // File: U D H I U T I L . H
  7. //
  8. // Contents: Header file for UDH ISAPI extension utilities.
  9. //
  10. // Notes:
  11. //
  12. // Author: spather 2000/09/8
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #ifndef __UDHIUTIL_H
  17. #define __UDHIUTIL_H
  18. #include <httpext.h>
  19. extern BOOL
  20. bSendResponseToClient(
  21. IN LPEXTENSION_CONTROL_BLOCK pecb,
  22. IN LPCSTR pcszStatus,
  23. IN DWORD cchHeaders,
  24. IN LPCSTR pcszHeaders,
  25. IN DWORD cchBody,
  26. IN LPCSTR pcszBody);
  27. extern BOOL
  28. bCompleteRequest(
  29. IN LPEXTENSION_CONTROL_BLOCK pecb,
  30. IN DWORD dwStatus);
  31. VOID
  32. SendSimpleResponse(
  33. IN LPEXTENSION_CONTROL_BLOCK pecb,
  34. IN DWORD dwStatusCode);
  35. DWORD
  36. DwQueryHeader(LPEXTENSION_CONTROL_BLOCK pecb,
  37. LPCSTR szaHeader,
  38. LPSTR *pszaResult);
  39. #endif //! __UDHIUTIL_H