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.

112 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1998-2001 Microsoft Corporation
  3. Module Name:
  4. httprcv.h
  5. Abstract:
  6. Contains public http receive declarations.
  7. Author:
  8. Henry Sanders (henrysa) 10-Jun-1998
  9. Revision History:
  10. --*/
  11. #ifndef _HTTPRCV_H_
  12. #define _HTTPRCV_H_
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. BOOLEAN
  17. UlConnectionRequest(
  18. IN PVOID pListeningContext,
  19. IN PUL_CONNECTION pConnection,
  20. IN PTRANSPORT_ADDRESS pRemoteAddress,
  21. IN ULONG RemoteAddressLength,
  22. OUT PVOID *ppConnectionContext
  23. );
  24. VOID
  25. UlConnectionComplete(
  26. IN PVOID pListeningContext,
  27. IN PVOID pConnectionContext,
  28. IN NTSTATUS Status
  29. );
  30. VOID
  31. UlConnectionDisconnect(
  32. IN PVOID pListeningContext,
  33. IN PVOID pConnectionContext,
  34. IN NTSTATUS Status
  35. );
  36. VOID
  37. UlConnectionDisconnectComplete(
  38. IN PVOID pListeningContext,
  39. IN PVOID pConnectionContext
  40. );
  41. VOID
  42. UlConnectionDestroyed(
  43. IN PVOID pListeningContext,
  44. IN PVOID pConnectionContext
  45. );
  46. NTSTATUS
  47. UlHttpReceive(
  48. IN PVOID pListeningContext,
  49. IN PVOID pConnectionContext,
  50. IN PVOID pVoidBuffer,
  51. IN ULONG BufferLength,
  52. IN ULONG UnreceivedLength,
  53. OUT PULONG pBytesTaken
  54. );
  55. NTSTATUS
  56. UlReceiveEntityBody(
  57. IN PUL_APP_POOL_PROCESS pProcess,
  58. IN PUL_INTERNAL_REQUEST pRequest,
  59. IN PIRP pIrp
  60. );
  61. VOID
  62. UlResumeParsing(
  63. IN PUL_HTTP_CONNECTION pConnection
  64. );
  65. NTSTATUS
  66. UlGetCGroupForRequest(
  67. IN PUL_INTERNAL_REQUEST pRequest
  68. );
  69. NTSTATUS
  70. UlInitializeHttpRcv();
  71. VOID
  72. UlTerminateHttpRcv();
  73. VOID
  74. UlSendErrorResponse(
  75. IN PUL_HTTP_CONNECTION pConnection
  76. );
  77. ULONG
  78. UlSendSimpleStatus(
  79. PUL_INTERNAL_REQUEST pRequest,
  80. UL_HTTP_SIMPLE_STATUS Response
  81. );
  82. #ifdef __cplusplus
  83. }; // extern "C"
  84. #endif
  85. #endif // _HTTPRCV_H_