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.

139 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. httprcvp.h
  5. Abstract:
  6. Contains private http receive declarations.
  7. Author:
  8. Henry Sanders (henrysa) 10-Jun-1998
  9. Revision History:
  10. --*/
  11. #ifndef _HTTPRCVP_H_
  12. #define _HTTPRCVP_H_
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. VOID
  17. UlpHandleRequest(
  18. IN PUL_WORK_ITEM pWorkItem
  19. );
  20. NTSTATUS
  21. UlpParseNextRequest(
  22. IN PUL_HTTP_CONNECTION pConnection
  23. );
  24. NTSTATUS
  25. UlpDeliverHttpRequest(
  26. IN PUL_HTTP_CONNECTION pConnection,
  27. OUT PBOOLEAN pResponseSent
  28. );
  29. VOID
  30. UlpInsertBuffer(
  31. IN PUL_HTTP_CONNECTION pConnection,
  32. IN PUL_REQUEST_BUFFER pRequestBuffer
  33. );
  34. VOID
  35. UlpMergeBuffers(
  36. IN PUL_REQUEST_BUFFER pDest,
  37. IN PUL_REQUEST_BUFFER pSrc
  38. );
  39. NTSTATUS
  40. UlpAdjustBuffers(
  41. IN PUL_HTTP_CONNECTION pConnection
  42. );
  43. VOID
  44. UlpProcessBufferQueue(
  45. IN PUL_INTERNAL_REQUEST pRequest
  46. );
  47. VOID
  48. UlpCancelEntityBody(
  49. IN PDEVICE_OBJECT pDeviceObject,
  50. IN PIRP pIrp
  51. );
  52. VOID
  53. UlpCancelEntityBodyWorker(
  54. IN PUL_WORK_ITEM pWorkItem
  55. );
  56. VOID
  57. UlpCompleteSendResponse(
  58. IN PVOID pCompletionContext,
  59. IN NTSTATUS Status,
  60. IN ULONG_PTR Information
  61. );
  62. VOID
  63. UlpRestartSendSimpleStatus(
  64. IN PVOID pCompletionContext,
  65. IN NTSTATUS Status,
  66. IN ULONG_PTR Information
  67. );
  68. VOID
  69. UlpSendSimpleCleanupWorker(
  70. IN PUL_WORK_ITEM pWorkItem
  71. );
  72. VOID
  73. UlpConsumeBytesFromConnection(
  74. IN PUL_HTTP_CONNECTION pConnection,
  75. IN ULONG ByteCount
  76. );
  77. VOID
  78. UlpRestartHttpReceive(
  79. IN PVOID pContext,
  80. IN NTSTATUS Status,
  81. IN ULONG_PTR Information
  82. );
  83. VOID
  84. UlpDiscardBytesFromConnection(
  85. IN PUL_HTTP_CONNECTION pConnection
  86. );
  87. VOID
  88. UlConnectionDisconnectWorker(
  89. IN PUL_WORK_ITEM pWorkItem
  90. );
  91. #if DBG
  92. BOOLEAN
  93. UlpIsValidRequestBufferList(
  94. IN PUL_HTTP_CONNECTION pHttpConn
  95. );
  96. #endif // DBG
  97. #define ALLOC_REQUEST_BUFFER_INCREMENT 5
  98. BOOLEAN
  99. UlpReferenceBuffers(
  100. IN PUL_INTERNAL_REQUEST pRequest,
  101. IN PUL_REQUEST_BUFFER pRequestBuffer
  102. );
  103. #ifdef __cplusplus
  104. }; // extern "C"
  105. #endif
  106. #endif // _HTTPRCVP_H_