/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _PICLOIDS_H
#define _PICLOIDS_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* IETF OIDs (not all are used by PICL)
*/
/*
*/
/*
* Sun Platform MIB OIDs used by PICL
*/
/*
* Equipment Table
*/
#define OID_sunPlatEquipmentOperationalState \
/*
* Equipment Holder Table
*/
/*
* Circuit Pack Table
*/
#define OID_sunPlatCircuitPackReplaceable \
#define OID_sunPlatCircuitPackHotSwappable \
/*
* Physical Class Table
*/
/*
* Sensor Table
*/
/*
* Binary Sensor Table
*/
#define OID_sunPlatBinarySensorInterpretTrue \
#define OID_sunPlatBinarySensorInterpretFalse \
/*
* Numeric Sensor Table
*/
#define OID_sunPlatNumericSensorBaseUnits \
#define OID_sunPlatNumericSensorExponent \
#define OID_sunPlatNumericSensorRateUnits \
/*
* Alarm Table
*/
/*
* Power Supply Table
*/
/*
* Battery Table
*/
/*
* Integer enumeration classes used by PICL
*/
typedef enum {
/*
* Note that the truth values could be much longer than the length
* of the strings "true" or "false", since we actuallly interpret them
* using InterpretTrue and InterpretFalse values in the MIB. Currently
* we limit them to be 32 (see MAX_TRUTHVAL_LEN definition below)
*/
/* entPhysicalClass */
typedef enum {
/* sunPlatEquipmentOperationalState */
typedef enum {
/*
* Update MAX_OPSTATE_LEN below if these strings are changed
*/
/* sunPlatPhysicalClass */
typedef enum {
/* sunPlatSensorClass */
typedef enum {
/* sunPlatSensorType */
typedef enum {
/* sunPlatAlarmType */
typedef enum {
/* sunPlatAlarmState */
typedef enum {
/*
* Update MAX_ALARMSTATE_LEN below if these strings are changed
*/
/*
* Bit masks for the sunPlatNumericSensorEnabledThresholds
*/
/*
* sunPlatPowerSupplyClass
*/
typedef enum {
/*
* sunPlatBatteryStatus
*/
typedef enum {
/*
* Update MAX_BATTERYSTATUS_LEN below if these strings are changed
*/
/*
* Max limits of all volatiles
*/
#ifdef __cplusplus
}
#endif
#endif /* _PICLOIDS_H */