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.

79 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. proc.h
  5. Abstract:
  6. This file contains global procedure declarations for the HTTP API
  7. project.
  8. Author:
  9. Keith Moore (keithmo) 16-Nov-1994
  10. Revision History:
  11. --*/
  12. #ifndef _PROC_H_
  13. #define _PROC_H_
  14. #if defined(__cplusplus)
  15. extern "C" {
  16. #endif
  17. #define SECURITY_WIN32
  18. #include <sspi.h>
  19. DWORD
  20. pHttpGetUrlLen(
  21. IN INTERNET_SCHEME SchemeType,
  22. IN LPSTR lpszTargetName,
  23. IN LPSTR lpszObjectName,
  24. IN DWORD dwPort,
  25. OUT LPDWORD lpdwUrlLen
  26. );
  27. DWORD
  28. pHttpGetUrlString(
  29. IN INTERNET_SCHEME SchemeType,
  30. IN LPSTR lpszTargetName,
  31. IN LPSTR lpszCWD,
  32. IN LPSTR lpszObjectName,
  33. IN LPSTR lpszExtension,
  34. IN DWORD dwPort,
  35. OUT LPSTR * lplpUrlName,
  36. OUT LPDWORD lpdwUrlLen
  37. );
  38. DWORD
  39. pHttpBuildUrl(
  40. IN INTERNET_SCHEME SchemeType,
  41. IN LPSTR lpszTargetName,
  42. IN LPSTR lpszObjectName,
  43. IN DWORD dwPort,
  44. IN LPSTR lpszUrl,
  45. IN OUT LPDWORD lpdwBuffSize
  46. );
  47. BOOL FParseHttpDate(
  48. FILETIME *lpFt,
  49. LPCSTR lpcszDateStr
  50. );
  51. BOOL FFileTimetoHttpDateTime(
  52. FILETIME *lpft, // output filetime in GMT
  53. LPSTR lpszBuff,
  54. LPDWORD lpdwSize
  55. );
  56. #if defined(__cplusplus)
  57. }
  58. #endif
  59. #endif // _PROC_H_