home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_01.cab / w3ctrs.h < prev    next >
C/C++ Source or Header  |  1997-08-07  |  4KB  |  118 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     w3ctrs.h
  8.  
  9.     Offset definitions for the W3 Server's counter objects & counters.
  10.  
  11.     These offsets *must* start at 0 and be multiples of 2.  In the
  12.     W3OpenPerformanceData procecedure, they will be added to the
  13.     W3 Server's "First Counter" and "First Help" values in order to
  14.     determine the absolute location of the counter & object names
  15.     and corresponding help text in the registry.
  16.  
  17.     This file is used by the W3CTRS.DLL DLL code as well as the
  18.     W3CTRS.INI definition file.  W3CTRS.INI is parsed by the
  19.     LODCTR utility to load the object & counter names into the
  20.     registry.
  21.  
  22.  
  23.     FILE HISTORY:
  24.         KeithMo     07-Jun-1993 Created.
  25.  
  26. */
  27.  
  28.  
  29. #ifndef _W3CTRS_H_
  30. #define _W3CTRS_H_
  31.  
  32.  
  33. //
  34. //  The W3 Server counter object.
  35. //
  36.  
  37. #define W3_COUNTER_OBJECT                     0
  38.  
  39.  
  40. //
  41. //  The individual counters.
  42. //
  43.  
  44. #define W3_BYTES_SENT_COUNTER                 2
  45. #define W3_BYTES_RECEIVED_COUNTER             4
  46. #define W3_BYTES_TOTAL_COUNTER                6
  47. #define W3_FILES_SENT_COUNTER                 8
  48.  
  49. #define W3_FILES_SENT_SEC                     10
  50. #define W3_FILES_RECEIVED_COUNTER             12
  51. #define W3_FILES_RECEIVED_SEC                 14
  52. #define W3_FILES_TOTAL_COUNTER                16
  53. #define W3_FILES_SEC                          18
  54.  
  55. #define W3_CURRENT_ANONYMOUS_COUNTER          20
  56. #define W3_CURRENT_NONANONYMOUS_COUNTER       22
  57. #define W3_TOTAL_ANONYMOUS_COUNTER            24
  58. #define W3_ANONYMOUS_USERS_SEC                26
  59. #define W3_TOTAL_NONANONYMOUS_COUNTER         28
  60.  
  61. #define W3_NON_ANONYMOUS_USERS_SEC            30
  62. #define W3_MAX_ANONYMOUS_COUNTER              32
  63. #define W3_MAX_NONANONYMOUS_COUNTER           34
  64. #define W3_CURRENT_CONNECTIONS_COUNTER        36
  65. #define W3_MAX_CONNECTIONS_COUNTER            38
  66.  
  67. #define W3_CONNECTION_ATTEMPTS_COUNTER        40
  68. #define W3_CONNECTION_ATTEMPTS_SEC            42
  69. #define W3_LOGON_ATTEMPTS_COUNTER             44
  70. #define W3_LOGON_ATTEMPTS_SEC                 46
  71. #define W3_TOTAL_GETS_COUNTER                 48
  72.  
  73. #define W3_TOTAL_GETS_SEC                     50
  74. #define W3_TOTAL_POSTS_COUNTER                52
  75. #define W3_TOTAL_POSTS_SEC                    54
  76. #define W3_TOTAL_HEADS_COUNTER                56
  77. #define W3_TOTAL_HEADS_SEC                    58
  78.  
  79. #define W3_TOTAL_PUTS_COUNTER                 60
  80. #define W3_TOTAL_PUTS_SEC                     62
  81. #define W3_TOTAL_DELETES_COUNTER              64
  82. #define W3_TOTAL_DELETES_SEC                  66
  83. #define W3_TOTAL_TRACES_COUNTER               68
  84.  
  85. #define W3_TOTAL_TRACES_SEC                   70
  86. #define W3_TOTAL_OTHERS_COUNTER               72
  87. #define W3_TOTAL_OTHERS_SEC                   74
  88. #define W3_TOTAL_REQUESTS_COUNTER             76
  89. #define W3_TOTAL_REQUESTS_SEC                 78
  90.  
  91. #define W3_TOTAL_CGI_REQUESTS_COUNTER         80
  92. #define W3_CGI_REQUESTS_SEC                   82
  93. #define W3_TOTAL_BGI_REQUESTS_COUNTER         84
  94. #define W3_BGI_REQUESTS_SEC                   86
  95. #define W3_TOTAL_NOT_FOUND_ERRORS_COUNTER     88
  96.  
  97. #define W3_TOTAL_NOT_FOUND_ERRORS_SEC         90
  98. #define W3_CURRENT_CGI_COUNTER                92
  99. #define W3_CURRENT_BGI_COUNTER                94
  100. #define W3_MAX_CGI_COUNTER                    96
  101. #define W3_MAX_BGI_COUNTER                    98
  102.  
  103. #define W3_CURRENT_CAL_AUTH_COUNTER          100
  104. #define W3_MAX_CAL_AUTH_COUNTER              102
  105. #define W3_TOTAL_FAILED_CAL_AUTH_COUNTER     104
  106. #define W3_CURRENT_CAL_SSL_COUNTER           106
  107. #define W3_MAX_CAL_SSL_COUNTER               108
  108. #define W3_TOTAL_FAILED_CAL_SSL_COUNTER      110
  109.  
  110. #define W3_BLOCKED_REQUESTS_COUNTER          112
  111. #define W3_ALLOWED_REQUESTS_COUNTER          114
  112. #define W3_REJECTED_REQUESTS_COUNTER         116
  113. #define W3_CURRENT_BLOCKED_REQUESTS_COUNTER  118
  114. #define W3_MEASURED_BANDWIDTH_COUNTER        120
  115.  
  116. #endif  // _W3CTRS_H_
  117.  
  118.