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.

80 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. #include <issperr.h>
  20. DWORD
  21. pHttpGetUrlLen(
  22. IN INTERNET_SCHEME SchemeType,
  23. IN LPSTR lpszTargetName,
  24. IN LPSTR lpszObjectName,
  25. IN DWORD dwPort,
  26. OUT LPDWORD lpdwUrlLen
  27. );
  28. DWORD
  29. pHttpGetUrlString(
  30. IN INTERNET_SCHEME SchemeType,
  31. IN LPSTR lpszTargetName,
  32. IN LPSTR lpszCWD,
  33. IN LPSTR lpszObjectName,
  34. IN LPSTR lpszExtension,
  35. IN DWORD dwPort,
  36. OUT LPSTR * lplpUrlName,
  37. OUT LPDWORD lpdwUrlLen
  38. );
  39. DWORD
  40. pHttpBuildUrl(
  41. IN INTERNET_SCHEME SchemeType,
  42. IN LPSTR lpszTargetName,
  43. IN LPSTR lpszObjectName,
  44. IN DWORD dwPort,
  45. IN LPSTR lpszUrl,
  46. IN OUT LPDWORD lpdwBuffSize
  47. );
  48. BOOL FParseHttpDate(
  49. FILETIME *lpFt,
  50. LPCSTR lpcszDateStr
  51. );
  52. BOOL FFileTimetoHttpDateTime(
  53. FILETIME *lpft, // output filetime in GMT
  54. LPSTR lpszBuff,
  55. LPDWORD lpdwSize
  56. );
  57. #if defined(__cplusplus)
  58. }
  59. #endif
  60. #endif // _PROC_H_