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.

120 lines
4.6 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. IMAPS.h
  7. This file contains constants & type definitions shared between the
  8. IMAP Service, Installer, and Administration UI.
  9. FILE HISTORY:
  10. KeithMo 10-Mar-1993 Created.
  11. Ahalim Added K2 support (6/17/97).
  12. */
  13. #ifndef _IMAPS_H_
  14. #define _IMAPS_H_
  15. #ifdef __cplusplus
  16. extern "C"
  17. {
  18. #endif // _cplusplus
  19. ///////////////////////////////////////////////////////////////////////////////////////
  20. //
  21. // IMAP Metabase Properties
  22. //
  23. //
  24. // Metabase path: /LM/ImapSvc
  25. //
  26. #define IIS_MD_IMAP_SERVICE_BASE (IMAP_MD_ID_BEGIN_RESERVED + 500)
  27. #define MD_IMAP_SERVICE_VERSION (IIS_MD_IMAP_SERVICE_BASE + 0)
  28. #define MD_IMAP_UPDATED_DEFAULT_DOMAIN (IIS_MD_IMAP_SERVICE_BASE + 1)
  29. /*
  30. Standard properties used here:
  31. MD_CONNECTION_TIMEOUT
  32. MD_MAX_CONNECTION
  33. MD_SERVER_COMMENT
  34. MD_SERVER_AUTOSTART
  35. MD_SERVER_SIZE
  36. MD_SERVER_LISTEN_BACKLOG
  37. MD_SERVER_BINDINGS
  38. MD_SECURE_PORT
  39. MD_LOGON_METHOD
  40. MD_AUTHORIZATION
  41. MD_LOG_TYPE
  42. MD_LOGFILE_DIRECTORY
  43. MD_LOGFILE_PERIOD
  44. MD_LOGFILE_TRUNCATE_SIZE
  45. MD_NTAUTHENTICATION_PROVIDERS
  46. */
  47. //
  48. // Metabase path: /LM/ImapSvc/<inst#>/Root/<vroot>
  49. //
  50. #define IIS_MD_IMAP_BASE (IMAP_MD_ID_BEGIN_RESERVED)
  51. #define MD_IMAP_EXPIRE_MAIL (IIS_MD_IMAP_BASE + 0)
  52. #define MD_IMAP_EXPIRE_MSG_HOURS (IIS_MD_IMAP_BASE + 1)
  53. /*
  54. Standard properties used here:
  55. MD_VR_PATH
  56. MD_VR_USERNAME
  57. MD_VR_PASSWORD
  58. */
  59. //
  60. // Metabase path: /LM/ImapSvc/<inst#>
  61. //
  62. #define IIS_MD_IMAP_PARAMS_BASE (IMAP_MD_ID_BEGIN_RESERVED + 200)
  63. #define MD_IMAP_CMD_LOG_FLAGS (IIS_MD_IMAP_PARAMS_BASE + 0)
  64. #define MD_IMAP_NO_TRANSMITFILES (IIS_MD_IMAP_PARAMS_BASE + 1)
  65. #define MD_IMAP_STATIC_BUFFER_SIZE (IIS_MD_IMAP_PARAMS_BASE + 2)
  66. #define MD_IMAP_FILE_IO_BUFFER_SIZE (IIS_MD_IMAP_PARAMS_BASE + 3)
  67. #define MD_IMAP_MAX_OUTSTANDING_IO (IIS_MD_IMAP_PARAMS_BASE + 4)
  68. #define MD_IMAP_SHARING_RETRY_ATTEMPTS (IIS_MD_IMAP_PARAMS_BASE + 5)
  69. #define MD_IMAP_SHARING_RETRY_SLEEP (IIS_MD_IMAP_PARAMS_BASE + 6)
  70. #define MD_IMAP_MSGS_PER_MAILBAG (IIS_MD_IMAP_PARAMS_BASE + 7)
  71. #define MD_IMAP_BUFFERED_WRITES (IIS_MD_IMAP_PARAMS_BASE + 9)
  72. #define MD_IMAP_SEND_BUFFER_SIZE (IIS_MD_IMAP_PARAMS_BASE + 10)
  73. #define MD_IMAP_RECV_BUFFER_SIZE (IIS_MD_IMAP_PARAMS_BASE + 11)
  74. #define MD_IMAP_MAX_NUM_CONNECTIONS (IIS_MD_IMAP_PARAMS_BASE + 12)
  75. #define MD_IMAP_MAX_MAILBAG_INSTANCES (IIS_MD_IMAP_PARAMS_BASE + 13)
  76. #define MD_IMAP_ROUTING_SOURCE (IIS_MD_IMAP_PARAMS_BASE + 14)
  77. #define MD_IMAP_INFO_MAX_ERRORS (IIS_MD_IMAP_PARAMS_BASE + 15)
  78. #define MD_IMAP_DEFAULT_DOMAIN_VALUE (IIS_MD_IMAP_PARAMS_BASE + 16)
  79. #define MD_IMAP_ROUTING_DLL (IIS_MD_IMAP_PARAMS_BASE + 17)
  80. #define MD_IMAP_EXPIRE_DELAY (IIS_MD_IMAP_PARAMS_BASE + 18)
  81. #define MD_IMAP_EXPIRE_START (IIS_MD_IMAP_PARAMS_BASE + 19)
  82. #define MD_IMAP_EXPIRE_DIRS_MAX (IIS_MD_IMAP_PARAMS_BASE + 20)
  83. #define MD_IMAP_EXPIRE_INSTANCE_MAIL (IIS_MD_IMAP_PARAMS_BASE + 21)
  84. #define MD_IMAP_QUERY_IDQ_PATH (IIS_MD_IMAP_PARAMS_BASE + 22)
  85. #define MD_IMAP_CLEARTEXT_AUTH_PROVIDER (IIS_MD_IMAP_PARAMS_BASE + 23)
  86. #define MD_IMAP_DS_TYPE (IIS_MD_IMAP_PARAMS_BASE + 24)
  87. #define MD_IMAP_DS_DATA_DIRECTORY (IIS_MD_IMAP_PARAMS_BASE + 25)
  88. #define MD_IMAP_DS_DEFAULT_MAIL_ROOT (IIS_MD_IMAP_PARAMS_BASE + 26)
  89. #define MD_IMAP_DS_BIND_TYPE (IIS_MD_IMAP_PARAMS_BASE + 27)
  90. #define MD_IMAP_DS_SCHEMA_TYPE (IIS_MD_IMAP_PARAMS_BASE + 28)
  91. #define MD_IMAP_DS_HOST (IIS_MD_IMAP_PARAMS_BASE + 29)
  92. #define MD_IMAP_DS_NAMING_CONTEXT (IIS_MD_IMAP_PARAMS_BASE + 30)
  93. #define MD_IMAP_DS_ACCOUNT (IIS_MD_IMAP_PARAMS_BASE + 31)
  94. #define MD_IMAP_DS_PASSWORD (IIS_MD_IMAP_PARAMS_BASE + 32)
  95. #define MD_IMAP_DS_MAX_RESOLVE_BUFFERS (IIS_MD_IMAP_PARAMS_BASE + 33)
  96. #define MD_IMAP_DS_MAX_VIRTUAL_SERVERS (IIS_MD_IMAP_PARAMS_BASE + 34)
  97. #define MD_IMAP_DS_MAX_HANDLE_CACHE_ENTRIES (IIS_MD_IMAP_PARAMS_BASE + 35)
  98. #define MD_IMAP_DS_SORT_THRESHOLD (IIS_MD_IMAP_PARAMS_BASE + 36)
  99. #ifdef __cplusplus
  100. }
  101. #endif // _cplusplus
  102. #endif // _IMAPS_H_