home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
ims.cab
/
smtpctrs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-10-12
|
4KB
|
124 lines
//#---------------------------------------------------------------
// File: smtpctrs.h
//
// Synopsis: Offset definitions for the MSN Server's
// counter objects & counters.
//
// These offsets *must* start at 0 and be
// multiples of 2. In the MsnOpenPerformanceData
// procecedure, they will be added to the MSN
// Server's "First Counter" and "First Help"
// values in order to determine the absolute
// location of the counter & object names
// and corresponding help text in the registry.
//
// This file is used by the MSNCTRS.DLL DLL
// code as well as the MSNCTRS.INI definition
// file. MSNCTRS.INI is parsed by the LODCTR
// utility to load the object & counter names
// into the registry.
//
// Copyright (C) 1995 Microsoft Corporation
// All rights reserved.
//
// Authors: toddch - based on msn sources by rkamicar, keithmo
//----------------------------------------------------------------
#ifndef _SMTPCTRS_H_
#define _SMTPCTRS_H_
//
// disabled tracing by default for the perfmon client code
//
#ifndef NOTRACE
#define NOTRACE
#endif
//
// The SMTP Server counter object.
//
#define SMTP_COUNTER_OBJECT 0
//
// The individual counters.
//
#define SMTP_BYTES_SENT_TTL_COUNTER 2
#define SMTP_BYTES_SENT_PER_SEC_COUNTER 4
#define SMTP_BYTES_RCVD_TTL_COUNTER 6
#define SMTP_BYTES_RCVD_PER_SEC_COUNTER 8
#define SMTP_BYTES_TTL_COUNTER 10
#define SMTP_BYTES_TTL_PER_SEC_COUNTER 12
#define SMTP_BYTES_SENT_MSG_COUNTER 14
#define SMTP_BYTES_SENT_MSG_PER_SEC_COUNTER 16
#define SMTP_BYTES_RCVD_MSG_COUNTER 18
#define SMTP_BYTES_RCVD_MSG_PER_SEC_COUNTER 20
#define SMTP_BYTES_MSG_COUNTER 22
#define SMTP_BYTES_MSG_PER_SEC_COUNTER 24
#define SMTP_MSG_RCVD_TTL_COUNTER 26
#define SMTP_MSG_RCVD_PER_SEC_COUNTER 28
#define SMTP_AVG_RCPTS_PER_MSG_RCVD_COUNTER 30
#define SMTP_BASE_AVG_RCPTS_PER_MSG_RCVD_COUNTER 32
#define SMTP_PCT_LCL_RCPTS_PER_MSG_RCVD_COUNTER 34
#define SMTP_BASE_PCT_LCL_RCPTS_PER_MSG_RCVD_COUNTER 36
#define SMTP_PCT_RMT_RCPTS_PER_MSG_RCVD_COUNTER 38
#define SMTP_BASE_PCT_RMT_RCPTS_PER_MSG_RCVD_COUNTER 40
#define SMTP_MSG_RCVD_REFUSED_SIZE_COUNTER 42
#define SMTP_MSG_RCVD_REFUSED_CADDR_COUNTER 44
#define SMTP_MSG_RCVD_REFUSED_MAIL_COUNTER 46
#define SMTP_MSG_DLVR_TTL_COUNTER 48
#define SMTP_MSG_DLVR_PER_SEC_COUNTER 50
#define SMTP_MSG_DLVR_RETRIES_TTL_COUNTER 52
#define SMTP_AVG_RETRIES_PER_MSG_DLVR_COUNTER 54
#define SMTP_BASE_AVG_RETRIES_PER_MSG_DLVR_COUNTER 56
#define SMTP_MSG_FWD_TTL_COUNTER 58
#define SMTP_MSG_FWD_PER_SEC_COUNTER 60
#define SMTP_NDR_GENERATED_COUNTER 62
#define SMTP_LOCALQ_LENGTH_COUNTER 64
#define SMTP_RETRYQ_LENGTH_COUNTER 66
#define SMTP_NUM_MAILFILE_HANDLES_COUNTER 68
#define SMTP_NUM_QUEUEFILE_HANDLES_COUNTER 70
#define SMTP_MSG_SENT_TTL_COUNTER 72
#define SMTP_MSG_SENT_PER_SEC_COUNTER 74
#define SMTP_MSG_SEND_RETRIES_TTL_COUNTER 76
#define SMTP_AVG_RETRIES_PER_MSG_SEND_COUNTER 78
#define SMTP_BASE_AVG_RETRIES_PER_MSG_SEND_COUNTER 80
#define SMTP_AVG_RCPTS_PER_MSG_SENT_COUNTER 82
#define SMTP_BASE_AVG_RCPTS_PER_MSG_SENT_COUNTER 84
#define SMTP_REMOTEQ_LENGTH_COUNTER 86
#define SMTP_DNS_QUERIES_TTL_COUNTER 88
#define SMTP_DNS_QUERIES_PER_SEC_COUNTER 90
#define SMTP_REMOTE_RETRY_QUEUE_LENGTH_COUNTER 92
#define SMTP_PICKUP_QUEUE_LENGTH_COUNTER 94
#define SMTP_CONN_IN_TTL_COUNTER 96
#define SMTP_CONN_IN_CURR_COUNTER 98
#define SMTP_CONN_OUT_TTL_COUNTER 100
#define SMTP_CONN_OUT_CURR_COUNTER 102
#define SMTP_CONN_OUT_REFUSED_COUNTER 104
#define SMTP_ERR_TTL_COUNTER 106
#define SMTP_ERR_PER_SEC_COUNTER 108
#define SMTP_DIR_DROPS_TTL_COUNTER 110
#define SMTP_DIR_DROPS_PER_SEC_COUNTER 112
#define SMTP_RT_LOOKUPS_TTL_COUNTER 114
#define SMTP_RT_LOOKUPS_PER_SEC_COUNTER 116
#define SMTP_ETRN_MSGS_TTL_COUNTER 118
#define SMTP_ETRN_MSGS_PER_SEC_COUNTER 120
// SERVICE_START
// CONNECTION_START
// LAST_CLEAR
#endif // _SMTPCTRS_H_