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.

78 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2002 - 2002 Microsoft Corporation. All Rights Reserved.
  3. THIS CODE AND INFORMATION IS PROVIDED "AS-IS" WITHOUT WARRANTY OF
  4. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  5. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  6. PARTICULAR PURPOSE.
  7. THIS CODE IS NOT SUPPORTED BY MICROSOFT.
  8. --*/
  9. #ifndef _PRECOMP_H_
  10. #define _PRECOMP_H_
  11. #include <nt.h>
  12. #include <ntrtl.h>
  13. #include <nturtl.h>
  14. #define NOGDI
  15. #define NOMINMAX
  16. #include <windows.h>
  17. #include <stdio.h>
  18. #include <stdlib.h>
  19. #include <ctype.h>
  20. #include <io.h>
  21. #include <winsock2.h>
  22. #include <ws2tcpip.h>
  23. #include <ntddip6.h>
  24. #include <objbase.h>
  25. #include <wtypes.h>
  26. #include "http.h"
  27. #include "nlstxt.h"
  28. typedef enum _HTTPCFG_TYPE
  29. {
  30. HttpCfgTypeSet,
  31. HttpCfgTypeQuery,
  32. HttpCfgTypeDelete,
  33. HttpCfgTypeMax
  34. } HTTPCFG_TYPE, *PHTTPCFG_TYPE;
  35. int DoSsl(
  36. int argc,
  37. WCHAR **argv,
  38. HTTPCFG_TYPE Type
  39. );
  40. int DoUrlAcl(
  41. int argc,
  42. WCHAR **argv,
  43. HTTPCFG_TYPE Type
  44. );
  45. int DoIpListen(
  46. int argc,
  47. WCHAR **argv,
  48. HTTPCFG_TYPE Type
  49. );
  50. DWORD
  51. GetAddress(
  52. PWCHAR pIp,
  53. PVOID pBuffer,
  54. ULONG Length
  55. );
  56. UINT
  57. NlsPutMsg (
  58. IN UINT MsgNumber,
  59. IN ...
  60. );
  61. #endif // _PRECOMP_H_