HP Visualize J282 HP-UX DMI 2.0 Developer's Guide: HP-UX/HP 9000 Computers, H - Page 65
DmiComponentList, DmiDataUnion, DmiEnumInfo
View all HP Visualize J282 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 65 highlights
Management Interface Data Structures DMI Data Structures DmiComponentList This data structure describes a conformant array of DmiComponentInfo. Table 8-16 DmiComponentList Field Name size list Description Array elements Array data typedef struct DmiComponentList { DmiUnsigned_t size; DmiComponentInfo_t* list; } DmiComponentList_t; DmiDataUnion This data structure is a discriminated union of DMI data types. Table 8-17 DmiDataUnion Field Name type value Description Discriminator for the union Union of DMI attribute data types typedef union switch (DmiDataType_t type) value { case MIF_COUNTER: DmiCounter_t case MIF_COUNTER64: DmiCounter64_t case MIF_GAUGE: DmiGauge_t case MIF_INTEGER: DmiInteger_t case MIF_INTEGER64: DmiInteger64_t case MIF_OCTETSTRING: DmiOctetString_t* case MIF_DISPLAYSTRING: DmiString_t* case MIF_DATE: DmiTimestamp_t* } DmiDataUnion_t; counter; counter64; gauge; integer; integer64; octetstring; string; date; DmiEnumInfo This data structure associates an integer value with descriptive text. Table 8-18 DmiEnumInfo Field Name name value Description Enumeration name Enumeration value typedef struct DmiEnumInfo { DmiString_t* name; DmiInteger_t value; } DmiEnumInfo_t; Chapter 8 65