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.

121 lines
4.5 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. POP3S.h
  7. This file contains constants & type definitions shared between the
  8. POP3 Service, Installer, and Administration UI.
  9. FILE HISTORY:
  10. KeithMo 10-Mar-1993 Created.
  11. */
  12. #ifndef _POP3S_H_
  13. #define _POP3S_H_
  14. #ifdef __cplusplus
  15. extern "C"
  16. {
  17. #endif // _cplusplus
  18. #if !defined(MIDL_PASS)
  19. #include <winsock.h>
  20. #endif
  21. ///////////////////////////////////////////////////////////////////////////////////////
  22. //
  23. // POP3 Metabase Properties
  24. //
  25. #define IIS_MD_POP3_SERVICE_BASE (POP3_MD_ID_BEGIN_RESERVED + 500)
  26. //
  27. // Metabase path: /LM/Pop3Svc
  28. //
  29. #define MD_POP3_SERVICE_VERSION (IIS_MD_POP3_SERVICE_BASE + 0)
  30. #define MD_POP3_UPDATED_DEFAULT_DOMAIN (IIS_MD_POP3_SERVICE_BASE + 2)
  31. /*
  32. Standard properties used here:
  33. MD_CONNECTION_TIMEOUT
  34. MD_MAX_CONNECTION
  35. MD_SERVER_COMMENT
  36. MD_SERVER_AUTOSTART
  37. MD_SERVER_SIZE
  38. MD_SERVER_LISTEN_BACKLOG
  39. MD_SERVER_BINDINGS
  40. MD_SECURE_PORT
  41. MD_LOGON_METHOD
  42. MD_AUTHORIZATION
  43. MD_LOG_TYPE
  44. MD_LOGFILE_DIRECTORY
  45. MD_LOGFILE_PERIOD
  46. MD_LOGFILE_TRUNCATE_SIZE
  47. MD_NTAUTHENTICATION_PROVIDERS
  48. */
  49. #define IIS_MD_POP3_BASE (POP3_MD_ID_BEGIN_RESERVED)
  50. //
  51. // Metabase path: /LM/Pop3Svc/<inst#>/Root/<vroot>
  52. //
  53. #define MD_POP3_EXPIRE_MAIL (IIS_MD_POP3_BASE + 0)
  54. #define MD_POP3_EXPIRE_MSG_HOURS (IIS_MD_POP3_BASE + 1)
  55. /*
  56. Standard properties used here:
  57. MD_VR_PATH
  58. MD_VR_USERNAME
  59. MD_VR_PASSWORD
  60. */
  61. //
  62. // Metabase path: /LM/Pop3Svc/<inst#>/Parameters
  63. //
  64. #define IIS_MD_POP3_PARAMS_BASE (POP3_MD_ID_BEGIN_RESERVED + 200)
  65. #define MD_POP3_CMD_LOG_FLAGS (IIS_MD_POP3_PARAMS_BASE + 0)
  66. #define MD_POP3_NO_TRANSMITFILES (IIS_MD_POP3_PARAMS_BASE + 1)
  67. #define MD_POP3_STATIC_BUFFER_SIZE (IIS_MD_POP3_PARAMS_BASE + 2)
  68. #define MD_POP3_FILE_IO_BUFFER_SIZE (IIS_MD_POP3_PARAMS_BASE + 3)
  69. #define MD_POP3_MAX_OUTSTANDING_IO (IIS_MD_POP3_PARAMS_BASE + 4)
  70. #define MD_POP3_SHARING_RETRY_ATTEMPTS (IIS_MD_POP3_PARAMS_BASE + 5)
  71. #define MD_POP3_SHARING_RETRY_SLEEP (IIS_MD_POP3_PARAMS_BASE + 6)
  72. #define MD_POP3_MSGS_PER_MAILBAG (IIS_MD_POP3_PARAMS_BASE + 7)
  73. #define MD_POP3_BUFFERED_WRITES (IIS_MD_POP3_PARAMS_BASE + 9)
  74. #define MD_POP3_SEND_BUFFER_SIZE (IIS_MD_POP3_PARAMS_BASE + 10)
  75. #define MD_POP3_RECV_BUFFER_SIZE (IIS_MD_POP3_PARAMS_BASE + 11)
  76. #define MD_POP3_MAX_NUM_CONNECTIONS (IIS_MD_POP3_PARAMS_BASE + 12)
  77. #define MD_POP3_MAX_MAILBAG_INSTANCES (IIS_MD_POP3_PARAMS_BASE + 13)
  78. #define MD_POP3_ROUTING_SOURCE (IIS_MD_POP3_PARAMS_BASE + 14)
  79. #define MD_POP3_INFO_MAX_ERRORS (IIS_MD_POP3_PARAMS_BASE + 15)
  80. #define MD_POP3_DEFAULT_DOMAIN_VALUE (IIS_MD_POP3_PARAMS_BASE + 16)
  81. #define MD_POP3_ROUTING_DLL (IIS_MD_POP3_PARAMS_BASE + 17)
  82. #define MD_POP3_EXPIRE_DELAY (IIS_MD_POP3_PARAMS_BASE + 18)
  83. #define MD_POP3_EXPIRE_START (IIS_MD_POP3_PARAMS_BASE + 19)
  84. #define MD_POP3_EXPIRE_DIRS_MAX (IIS_MD_POP3_PARAMS_BASE + 20)
  85. #define MD_POP3_EXPIRE_INSTANCE_MAIL (IIS_MD_POP3_PARAMS_BASE + 21)
  86. #define MD_POP3_CLEARTEXT_AUTH_PROVIDER (IIS_MD_POP3_PARAMS_BASE + 22)
  87. #define MD_POP3_DS_TYPE (IIS_MD_POP3_PARAMS_BASE + 23)
  88. #define MD_POP3_DS_DATA_DIRECTORY (IIS_MD_POP3_PARAMS_BASE + 24)
  89. #define MD_POP3_DS_DEFAULT_MAIL_ROOT (IIS_MD_POP3_PARAMS_BASE + 25)
  90. #define MD_POP3_DS_BIND_TYPE (IIS_MD_POP3_PARAMS_BASE + 26)
  91. #define MD_POP3_DS_SCHEMA_TYPE (IIS_MD_POP3_PARAMS_BASE + 27)
  92. #define MD_POP3_DS_HOST (IIS_MD_POP3_PARAMS_BASE + 28)
  93. #define MD_POP3_DS_NAMING_CONTEXT (IIS_MD_POP3_PARAMS_BASE + 29)
  94. #define MD_POP3_DS_ACCOUNT (IIS_MD_POP3_PARAMS_BASE + 30)
  95. #define MD_POP3_DS_PASSWORD (IIS_MD_POP3_PARAMS_BASE + 31)
  96. #define MD_POP3_DS_MAX_RESOLVE_BUFFERS (IIS_MD_POP3_PARAMS_BASE + 32)
  97. #define MD_POP3_DS_MAX_VIRTUAL_SERVERS (IIS_MD_POP3_PARAMS_BASE + 33)
  98. #define MD_POP3_DS_MAX_HANDLE_CACHE_ENTRIES (IIS_MD_POP3_PARAMS_BASE + 34)
  99. #define MD_POP3_DS_SORT_THRESHOLD (IIS_MD_POP3_PARAMS_BASE + 35)
  100. #ifdef __cplusplus
  101. }
  102. #endif // _cplusplus
  103. #endif // _POP3S_H_