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.

98 lines
3.2 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name :
  4. cgi.h
  5. Abstract:
  6. This header declares constants used by CGI implementations.
  7. Author:
  8. Murali R. Krishnan ( MuraliK ) 19-June-1995
  9. Environment:
  10. Win32 -- User Mode
  11. Project:
  12. CGI Implementations for W3
  13. Revision History:
  14. --*/
  15. # ifndef _MSCGI_H_
  16. # define _MSCGI_H_
  17. /************************************************************
  18. * Include Headers
  19. ************************************************************/
  20. /************************************************************
  21. * Constants
  22. ************************************************************/
  23. //
  24. // Define various environment strings that may be used by CGI interfaces
  25. //
  26. // ANSI values
  27. # define PSZ_AUTH_TYPE_A "AUTH_TYPE"
  28. # define PSZ_COM_SPEC_A "ComSpec"
  29. # define PSZ_GATEWAY_INTERFACE_A "GATEWAY_INTERFACE"
  30. # define PSZ_CONTENT_LENGTH_A "CONTENT_LENGTH"
  31. # define PSZ_CONTENT_TYPE_A "CONTENT_TYPE"
  32. # define PSZ_PATH_A "PATH"
  33. # define PSZ_PATH_INFO_A "PATH_INFO"
  34. # define PSZ_PATH_TRANSLATED_A "PATH_TRANSLATED"
  35. # define PSZ_QUERY_STRING_A "QUERY_STRING"
  36. # define PSZ_REMOTE_ADDRESS_A "REMOTE_ADDR"
  37. # define PSZ_REMOTE_HOST_A "REMOTE_HOST"
  38. # define PSZ_REMOTE_USER_A "REMOTE_USER"
  39. # define PSZ_REQUEST_METHOD_A "REQUEST_METHOD"
  40. # define PSZ_SCRIPT_NAME_A "SCRIPT_NAME"
  41. # define PSZ_SERVER_NAME_A "SERVER_NAME"
  42. # define PSZ_SERVER_PROTOCOL_A "SERVER_PROTOCOL"
  43. # define PSZ_SERVER_PORT_A "SERVER_PORT"
  44. # define PSZ_SERVER_SOFTWARE_A "SERVER_SOFTWARE"
  45. # define PSZ_SYSTEM_ROOT_A "SystemRoot"
  46. # define PSZ_WINDIR_A "WINDIR"
  47. // UNICODE values
  48. # define PSZ_AUTH_TYPE_W L"AUTH_TYPE"
  49. # define PSZ_COM_SPEC_W L"ComSpec"
  50. # define PSZ_GATEWAY_INTERFACE_W L"GATEWAY_INTERFACE"
  51. # define PSZ_CONTENT_LENGTH_W L"CONTENT_LENGTH"
  52. # define PSZ_CONTENT_TYPE_W L"CONTENT_TYPE"
  53. # define PSZ_PATH_W L"PATH"
  54. # define PSZ_PATH_INFO_W L"PATH_INFO"
  55. # define PSZ_PATH_TRANSLATED_W L"PATH_TRANSLATED"
  56. # define PSZ_QUERY_STRING_W L"QUERY_STRING"
  57. # define PSZ_REMOTE_ADDRESS_W L"REMOTE_ADDR"
  58. # define PSZ_REMOTE_HOST_W L"REMOTE_HOST"
  59. # define PSZ_REMOTE_USER_W L"REMOTE_USER"
  60. # define PSZ_REQUEST_METHOD_W L"REQUEST_METHOD"
  61. # define PSZ_SCRIPT_NAME_W L"SCRIPT_NAME"
  62. # define PSZ_SERVER_NAME_W L"SERVER_NAME"
  63. # define PSZ_SERVER_PROTOCOL_W L"SERVER_PROTOCOL"
  64. # define PSZ_SERVER_PORT_W L"SERVER_PORT"
  65. # define PSZ_SERVER_SOFTWARE_W L"SERVER_SOFTWARE"
  66. # define PSZ_SYSTEM_ROOT_W L"SystemRoot"
  67. # define PSZ_WINDIR_W L"WINDIR"
  68. # endif // _MSCGI_H_
  69. /************************ End of File ***********************/