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.

144 lines
4.6 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. w3svc.h
  7. This file contains constants & type definitions shared between the
  8. W3 Service, Installer, and Administration UI.
  9. FILE HISTORY:
  10. KeithMo 10-Mar-1993 Created.
  11. MuraliK Redefined service names
  12. */
  13. #ifndef _W3SVC_H_
  14. #define _W3SVC_H_
  15. #ifdef __cplusplus
  16. extern "C"
  17. {
  18. #endif // _cplusplus
  19. # include <inetinfo.h>
  20. //
  21. // Service name.
  22. //
  23. #define IPPORT_W3 0x50
  24. //
  25. // Name of the log file, used for logging file accesses.
  26. //
  27. #define W3_LOG_FILE TEXT("HTTPSVC.LOG")
  28. //
  29. // Configuration parameters registry key.
  30. //
  31. #define W3_PARAMETERS_KEY \
  32. TEXT("System\\CurrentControlSet\\Services\\W3Svc\\Parameters")
  33. //
  34. // Performance key.
  35. //
  36. #define W3_PERFORMANCE_KEY \
  37. TEXT("System\\CurrentControlSet\\Services\\W3Svc\\Performance")
  38. //
  39. // Sub-authenticator configuration key.
  40. //
  41. #define W3_AUTHENTICATOR_KEY \
  42. TEXT("System\\CurrentControlSet\\Control\\Lsa")
  43. //
  44. // Configuration value names.
  45. //
  46. #define W3_CHECK_FOR_WAISDB TEXT("CheckForWAISDB")
  47. #define W3_DEBUG_FLAGS TEXT("DebugFlags")
  48. #define W3_DIR_BROWSE_CONTROL TEXT("Dir Browse Control")
  49. #define W3_DIR_ICON TEXT("Folder Image")
  50. #define W3_DIR_ICON_W L"Folder Image"
  51. #define W3_DEFAULT_FILE TEXT("Default Load File")
  52. #define W3_DEFAULT_FILE_W L"Default Load File"
  53. #define W3_SERVER_AS_PROXY TEXT("ServerAsProxy")
  54. #define W3_CATAPULT_USER TEXT("CatapultUser")
  55. #define W3_CATAPULT_USER_W L"CatapultUser"
  56. #define W3_SCRIPT_TIMEOUT "ScriptTimeout"
  57. #define W3_CACHE_EXTENSIONS "CacheExtensions"
  58. #define W3_SSI_ENABLED "ServerSideIncludesEnabled"
  59. #define W3_SSI_EXTENSION "ServerSideIncludesExtension"
  60. #define W3_SSI_EXTENSION_W L"ServerSideIncludesExtension"
  61. #define W3_GLOBAL_EXPIRE "GlobalExpire"
  62. #define W3_PROVIDER_LIST "NTAuthenticationProviders"
  63. #define W3_SECURE_PORT "SecurePort"
  64. #define W3_ENC_PROVIDER_LIST "NTEncryptionProviders"
  65. #define W3_ENC_FLAGS "EncryptionFlags"
  66. #define W3_ACCESS_DENIED_MSG "AccessDeniedMessage"
  67. #define W3_DEFAULT_HOST_NAME "ReturnUrlUsingHostName"
  68. #define W3_ACCEPT_BYTE_RANGES "AcceptByteRanges"
  69. #define W3_ALLOW_GUEST "AllowGuestAccess"
  70. #define W3_LOG_ERRORS "LogErrorRequests"
  71. #define W3_LOG_SUCCESS "LogSuccessfulRequests"
  72. #define W3_REALM_NAME "Realm"
  73. #define IDC_POOL_CONN "PoolIDCConnections"
  74. #define IDC_POOL_CONN_TIMEOUT "PoolIDCConnectionsTimeout"
  75. #define W3_UPLOAD_READ_AHEAD "UploadReadAhead"
  76. #define W3_USE_POOL_THREAD_FOR_CGI "UsePoolThreadForCGI"
  77. #define W3_ALLOW_KEEP_ALIVES "AllowKeepAlives"
  78. #define W3_AUTH_CHANGE_URL "AuthChangeUrl"
  79. #define W3_AUTH_EXPIRED_URL "AuthExpiredUrl"
  80. #define W3_ADV_NOT_PWD_EXP_URL "AdvNotPwdExpUrl"
  81. #define W3_ADV_NOT_PWD_EXP_IN_DAYS "AdvNotPwdExpInDays"
  82. #define W3_ADV_CACHE_TTL "AdvNotPwdExpCacheTTL"
  83. #define W3_TEMP_DIR_NAME "TempDirectory"
  84. #define W3_VERSION_11 "ReplyWithHTTP1.1"
  85. #define W3_USE_ANDRECV "UseTransmitFileAndRecv"
  86. #define W3_PUT_TIMEOUT "PutDeleteTimeout"
  87. //
  88. // Name of the LSA Secret Object containing the password for
  89. // anonymous logon.
  90. //
  91. #define W3_ANONYMOUS_SECRET TEXT("W3_ANONYMOUS_DATA")
  92. #define W3_ANONYMOUS_SECRET_A "W3_ANONYMOUS_DATA"
  93. #define W3_ANONYMOUS_SECRET_W L"W3_ANONYMOUS_DATA"
  94. //
  95. // The set of password/virtual root pairs
  96. //
  97. #define W3_ROOT_SECRET_W L"W3_ROOT_DATA"
  98. //
  99. // The password secret for the username to connect to the Catapult gateway if
  100. // the HTTP server is running as a Catapult proxy client
  101. //
  102. #define W3_PROXY_USER_SECRET_W L"W3_PROXY_USER_SECRET"
  103. //
  104. // This is the secret that contains the list of installed SSL keys
  105. //
  106. #define W3_SSL_KEY_LIST_SECRET L"W3_KEY_LIST"
  107. #ifdef __cplusplus
  108. }
  109. #endif // _cplusplus
  110. #endif // _W3SVC_H_