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.

72 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1998-2002 Microsoft Corporation
  3. Module Name:
  4. ulparsep.h
  5. Abstract:
  6. Contains private definitions for ulparse.c.
  7. Author:
  8. Henry Sanders (henrysa) 11-May-1998
  9. Revision History:
  10. George V. Reilly (GeorgeRe) 03-May-2002
  11. Split apart from ulparse.h
  12. --*/
  13. #ifndef _ULPARSEP_H_
  14. #define _ULPARSEP_H_
  15. //
  16. // Utility tokenizing routine.
  17. //
  18. NTSTATUS
  19. UlpFindWSToken(
  20. IN PUCHAR pBuffer,
  21. IN ULONG BufferLength,
  22. OUT PUCHAR* ppTokenStart,
  23. OUT PULONG pTokenLength
  24. );
  25. NTSTATUS
  26. UlpLookupVerb(
  27. IN OUT PUL_INTERNAL_REQUEST pRequest,
  28. IN PUCHAR pHttpRequest,
  29. IN ULONG HttpRequestLength,
  30. OUT PULONG pBytesTaken
  31. );
  32. NTSTATUS
  33. UlpParseFullUrl(
  34. IN PUL_INTERNAL_REQUEST pRequest
  35. );
  36. ULONG
  37. UlpFormatPort(
  38. OUT PWSTR pString,
  39. IN ULONG Port
  40. );
  41. // Call this only after the entire request has been parsed
  42. //
  43. NTSTATUS
  44. UlpCookUrl(
  45. IN PUL_INTERNAL_REQUEST pRequest
  46. );
  47. ULONG
  48. UlpGenerateDateHeaderString(
  49. OUT PUCHAR pBuffer,
  50. IN LARGE_INTEGER systemTime
  51. );
  52. #endif // _ULPARSEP_H_