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.

85 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1998-2001 Microsoft Corporation
  3. Module Name:
  4. rcvhdrs.h
  5. Abstract:
  6. Contains definitions for rcvhdrs.c .
  7. Author:
  8. Henry Sanders (henrysa) 11-May-1998
  9. Revision History:
  10. --*/
  11. #ifndef _RCVHDRS_H_
  12. #define _RCVHDRS_H_
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #define WILDCARD_SIZE (sizeof("*/*"))
  17. #define WILDCARD_SPACE '*/* '
  18. #define WILDCARD_COMMA '*/*,'
  19. NTSTATUS
  20. UlAcceptHeaderHandler(
  21. IN PUL_INTERNAL_REQUEST pRequest,
  22. IN PUCHAR pHeader,
  23. IN ULONG HeaderLength,
  24. IN HTTP_HEADER_ID HeaderID,
  25. OUT PULONG pBytesTaken
  26. );
  27. NTSTATUS
  28. UlMultipleHeaderHandler(
  29. IN PUL_INTERNAL_REQUEST pRequest,
  30. IN PUCHAR pHeader,
  31. IN ULONG HeaderLength,
  32. IN HTTP_HEADER_ID HeaderID,
  33. OUT PULONG pBytesTaken
  34. );
  35. NTSTATUS
  36. UlSingleHeaderHandler(
  37. IN PUL_INTERNAL_REQUEST pRequest,
  38. IN PUCHAR pHeader,
  39. IN ULONG HeaderLength,
  40. IN HTTP_HEADER_ID HeaderID,
  41. OUT PULONG pBytesTaken
  42. );
  43. NTSTATUS
  44. FindHeaderEnd(
  45. IN PUCHAR pHeader,
  46. IN ULONG HeaderLength,
  47. OUT PULONG pBytesTaken
  48. );
  49. NTSTATUS
  50. FindChunkHeaderEnd(
  51. IN PUCHAR pHeader,
  52. IN ULONG HeaderLength,
  53. OUT PULONG pBytesTaken
  54. );
  55. NTSTATUS
  56. UlAppendHeaderValue(
  57. IN PUL_INTERNAL_REQUEST pRequest,
  58. IN PUL_HTTP_HEADER pHttpHeader,
  59. IN PUCHAR pHeader,
  60. IN ULONG HeaderLength
  61. );
  62. #ifdef __cplusplus
  63. }; // extern "C"
  64. #endif
  65. #endif // _RCVHDRS_H_