Source code of Windows XP (NT5)
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.

156 lines
5.2 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. nntpctrs.h
  7. Offset definitions for the NNTP Server's counter objects & counters.
  8. These offsets *must* start at 0 and be multiples of 2. In the
  9. NntpOpenPerformanceData procecedure, they will be added to the
  10. NNTP Server's "First Counter" and "First Help" values in order to
  11. determine the absolute location of the counter & object names
  12. and corresponding help text in the registry.
  13. This file is used by the NNTPCTRS.DLL DLL code as well as the
  14. NNTPCTRS.INI definition file. NNTPCTRS.INI is parsed by the
  15. LODCTR utility to load the object & counter names into the
  16. registry.
  17. FILE HISTORY:
  18. KeithMo 07-Jun-1993 Created.
  19. */
  20. #ifndef _NNTPCTRS_H_
  21. #define _NNTPCTRS_H_
  22. //
  23. // disabled tracing by default for the perfmon client code
  24. //
  25. #ifndef NOTRACE
  26. #define NOTRACE
  27. #endif
  28. //
  29. // The "NNTP Server" object.
  30. //
  31. #define NNTP_COUNTER_OBJECT1 0
  32. //
  33. // The individual counters.
  34. //
  35. #define NNTP_BYTES_SENT_COUNTER 2
  36. #define NNTP_BYTES_RECEIVED_COUNTER 4
  37. #define NNTP_BYTES_TOTAL_COUNTER 6
  38. #define NNTP_TOTAL_CONNECTIONS_COUNTER 8
  39. #define NNTP_TOTAL_SSL_CONNECTIONS_COUNTER 10
  40. #define NNTP_CURRENT_CONNECTIONS_COUNTER 12
  41. #define NNTP_MAX_CONNECTIONS_COUNTER 14
  42. #define NNTP_CURRENT_ANONYMOUS_COUNTER 16
  43. #define NNTP_CURRENT_NONANONYMOUS_COUNTER 18
  44. #define NNTP_TOTAL_ANONYMOUS_COUNTER 20
  45. #define NNTP_TOTAL_NONANONYMOUS_COUNTER 22
  46. #define NNTP_MAX_ANONYMOUS_COUNTER 24
  47. #define NNTP_MAX_NONANONYMOUS_COUNTER 26
  48. #define NNTP_TOTAL_OUTBOUND_CONNECTS_COUNTER 28
  49. #define NNTP_OUTBOUND_CONNECTS_FAILED_COUNTER 30
  50. #define NNTP_CURRENT_OUTBOUND_CONNECTS_COUNTER 32
  51. #define NNTP_OUTBOUND_LOGON_FAILED_COUNTER 34
  52. #define NNTP_TOTAL_PULL_FEEDS_COUNTER 36
  53. #define NNTP_TOTAL_PUSH_FEEDS_COUNTER 38
  54. #define NNTP_TOTAL_PASSIVE_FEEDS_COUNTER 40
  55. #define NNTP_ARTICLES_SENT_COUNTER 42
  56. #define NNTP_ARTICLES_RECEIVED_COUNTER 44
  57. #define NNTP_ARTICLES_TOTAL_COUNTER 46
  58. #define NNTP_ARTICLES_POSTED_COUNTER 48
  59. #define NNTP_ARTICLE_MAP_ENTRIES_COUNTER 50
  60. #define NNTP_HISTORY_MAP_ENTRIES_COUNTER 52
  61. #define NNTP_XOVER_ENTRIES_COUNTER 54
  62. #define NNTP_CONTROL_MSGS_IN_COUNTER 56
  63. #define NNTP_CONTROL_MSGS_FAILED_COUNTER 58
  64. #define NNTP_MODERATED_POSTINGS_SENT_COUNTER 60
  65. #define NNTP_MODERATED_POSTINGS_FAILED_COUNTER 62
  66. #define NNTP_SESS_FLOW_CONTROL_COUNTER 64
  67. #define NNTP_ARTICLES_EXPIRED_COUNTER 66
  68. #define NNTP_ARTICLES_SENT_PERSEC_COUNTER 68
  69. #define NNTP_ARTICLES_RECEIVED_PERSEC_COUNTER 70
  70. #define NNTP_ARTICLES_POSTED_PERSEC_COUNTER 72
  71. #define NNTP_ARTICLE_MAP_ENTRIES_PERSEC_COUNTER 74
  72. #define NNTP_HISTORY_MAP_ENTRIES_PERSEC_COUNTER 76
  73. #define NNTP_XOVER_ENTRIES_PERSEC_COUNTER 78
  74. #define NNTP_ARTICLES_EXPIRED_PERSEC_COUNTER 80
  75. //
  76. // The "NNTP Commands" counter object.
  77. //
  78. #define NNTP_COUNTER_OBJECT2 100
  79. //
  80. // The individual counters.
  81. //
  82. #define NNTP_CMDS_ARTICLE_COUNTER 102
  83. #define NNTP_CMDS_PERSEC_ARTICLE_COUNTER 104
  84. #define NNTP_CMDS_GROUP_COUNTER 106
  85. #define NNTP_CMDS_PERSEC_GROUP_COUNTER 108
  86. #define NNTP_CMDS_HELP_COUNTER 110
  87. #define NNTP_CMDS_PERSEC_HELP_COUNTER 112
  88. #define NNTP_CMDS_IHAVE_COUNTER 114
  89. #define NNTP_CMDS_PERSEC_IHAVE_COUNTER 116
  90. #define NNTP_CMDS_LAST_COUNTER 118
  91. #define NNTP_CMDS_PERSEC_LAST_COUNTER 120
  92. #define NNTP_CMDS_LIST_COUNTER 122
  93. #define NNTP_CMDS_PERSEC_LIST_COUNTER 124
  94. #define NNTP_CMDS_NEWGROUPS_COUNTER 126
  95. #define NNTP_CMDS_PERSEC_NEWGROUPS_COUNTER 128
  96. #define NNTP_CMDS_NEWNEWS_COUNTER 130
  97. #define NNTP_CMDS_PERSEC_NEWNEWS_COUNTER 132
  98. #define NNTP_CMDS_NEXT_COUNTER 134
  99. #define NNTP_CMDS_PERSEC_NEXT_COUNTER 136
  100. #define NNTP_CMDS_POST_COUNTER 138
  101. #define NNTP_CMDS_PERSEC_POST_COUNTER 140
  102. #define NNTP_CMDS_QUIT_COUNTER 142
  103. #define NNTP_CMDS_PERSEC_QUIT_COUNTER 144
  104. #define NNTP_CMDS_STAT_COUNTER 146
  105. #define NNTP_CMDS_PERSEC_STAT_COUNTER 148
  106. #define NNTP_LOGON_ATTEMPTS_COUNTER 150
  107. #define NNTP_LOGON_FAILURES_COUNTER 152
  108. #define NNTP_LOGON_ATTEMPTS_PERSEC_COUNTER 154
  109. #define NNTP_LOGON_FAILURES_PERSEC_COUNTER 156
  110. #define NNTP_CMDS_CHECK_COUNTER 158
  111. #define NNTP_CMDS_TAKETHIS_COUNTER 160
  112. #define NNTP_CMDS_MODE_COUNTER 162
  113. #define NNTP_CMDS_SEARCH_COUNTER 164
  114. #define NNTP_CMDS_XHDR_COUNTER 166
  115. #define NNTP_CMDS_XOVER_COUNTER 168
  116. #define NNTP_CMDS_XPAT_COUNTER 170
  117. #define NNTP_CMDS_XREPLIC_COUNTER 172
  118. #define NNTP_CMDS_PERSEC_CHECK_COUNTER 174
  119. #define NNTP_CMDS_PERSEC_TAKETHIS_COUNTER 176
  120. #define NNTP_CMDS_PERSEC_MODE_COUNTER 178
  121. #define NNTP_CMDS_PERSEC_SEARCH_COUNTER 180
  122. #define NNTP_CMDS_PERSEC_XHDR_COUNTER 182
  123. #define NNTP_CMDS_PERSEC_XOVER_COUNTER 184
  124. #define NNTP_CMDS_PERSEC_XPAT_COUNTER 186
  125. #define NNTP_CMDS_PERSEC_XREPLIC_COUNTER 188
  126. #endif // _NNTPCTRS_H_