|
CMPI 2.1.0 API
|
Defines CMPI data types. More...
Go to the source code of this file.
Data Structures | |
| struct | CMPIValuePtr |
| A raw unformatted data area of a specified size. More... | |
| union | CMPIValue |
| A union that can hold a value of any of the data types defined in CMPI. More... | |
| struct | CMPIData |
| A structure type representing a CMPI data item. More... | |
| struct | CMPIStatus |
| A structure that indicates success or failure of MB and MI functions. More... | |
Macros | |
| #define | CMPIVersion100 100 |
| CMPI 1.0.0. | |
| #define | CMPIVersion200 200 |
| CMPI 2.0.0. | |
| #define | CMPIVersion210 210 |
| CMPI 2.1.0. | |
| #define | CMPICurrentVersion CMPIVersion210 |
| Current CMPI version of the header files. More... | |
| #define | CMPI_VERSION CMPICurrentVersion |
| CMPI version that is implemented. More... | |
| #define | CMPI_VER_100 1 |
| Check for features introduced in CMPI 1.0.0. | |
| #define | CMPI_VER_200 1 |
| Check for features introduced in CMPI 2.0.0. | |
| #define | CMPI_VER_210 1 |
| Check for features introduced in CMPI 2.1.0. | |
| #define | CMPIInitNameSpace "CMPIInitNameSpace" |
| Name of the target namespace for the invoked operation. More... | |
| #define | CMPIInvocationFlags "CMPIInvocationFlags" |
| Invocation flags for the invoked operation; see CMPIFlags. More... | |
| #define | CMPIPrincipal "CMPIPrincipal" |
| Authenticated ID of the user requesting the invoked operation. More... | |
| #define | CMPIRole "CMPIRole" |
| The role assumed by the current authenticated user. More... | |
| #define | CMPIAcceptLanguage "CMPIAcceptLanguage" |
| The preferred language(s) to be used by the MI. More... | |
| #define | CMPIContentLanguage "CMPIContentLanguage" |
| The language(s) used by the MB. More... | |
| #define | CMPI_MB_BasicRead 0x00000001 |
| Test mask for Basic Read capability. | |
| #define | CMPI_MB_BasicWrite 0x00000003 |
| Test mask for Basic Write capability. | |
| #define | CMPI_MB_InstanceManipulation 0x00000007 |
| Test mask for Instance Manipulation capability. | |
| #define | CMPI_MB_AssociationTraversal 0x00000009 |
| Test mask for Association Traversal capability. | |
| #define | CMPI_MB_QueryExecution 0x00000011 |
| Test mask for Query Execution capability. | |
| #define | CMPI_MB_QueryNormalization 0x00000031 |
| Test mask for Query Normalization capability. | |
| #define | CMPI_MB_BasicQualifierSupport 0x00000047 |
| Test mask for Basic Qualifier capability. | |
| #define | CMPI_MB_Indications 0x00000081 |
| Test mask for Indications capability. | |
| #define | CMPI_MB_OSEncapsulationSupport 0x00000100 |
| Test mask for OS Encapsulation Services capability. | |
| #define | CMPI_MB_Supports_MemEnhancements 0x00004000 |
| Test mask for Memory Enhancement Services capability. More... | |
| #define | CMPI_MB_Supports_Extended_Error 0x00008000 |
| Test mask for Extended Errors capability. More... | |
| #define | CMPI_MB_Logging 0x00010000 |
| Test mask for Logging capability. More... | |
| #define | CMPI_MB_Tracing 0x00020000 |
| Test mask for Tracing capability. More... | |
| #define | CMPI_MB_PropertyFiltering 0x00040001 |
| Test mask for Property Filtering capability. More... | |
| #define | CMPI_MB_CodepageConversion 0x00080000 |
| Test mask for Codepage Conversion capability. More... | |
Test masks and values for CMPIType | |
These test masks and values are used on CMPIType. | |
| #define | CMPI_null 0 |
| No type. | |
| #define | CMPI_SIMPLE (2) |
| Test mask for CIM simple types. | |
| #define | CMPI_boolean (2+0) |
| Indicates a CMPIValue.boolean value. | |
| #define | CMPI_char16 (2+1) |
| Indicates a CMPIValue.char16 value. | |
| #define | CMPI_REAL ((2)<<2) |
| Test mask for CIM real number types. | |
| #define | CMPI_real32 ((2+0)<<2) |
| Indicates a CMPIValue.real32 value. | |
| #define | CMPI_real64 ((2+1)<<2) |
| Indicates a CMPIValue.real64 value. | |
| #define | CMPI_UINT ((8)<<4) |
| #define | CMPI_uint8 ((8+0)<<4) |
| Indicates a CMPIValue.uint8 value. | |
| #define | CMPI_uint16 ((8+1)<<4) |
| Indicates a CMPIValue.uint16 value. | |
| #define | CMPI_uint32 ((8+2)<<4) |
| Indicates a CMPIValue.uint32 value. | |
| #define | CMPI_uint64 ((8+3)<<4) |
| #define | CMPI_SINT ((8+4)<<4) |
| #define | CMPI_sint8 ((8+4)<<4) |
| Indicates a CMPIValue.sint8 value. | |
| #define | CMPI_sint16 ((8+5)<<4) |
| Indicates a CMPIValue.sint16 value. | |
| #define | CMPI_sint32 ((8+6)<<4) |
| Indicates a CMPIValue.sint32 value. | |
| #define | CMPI_sint64 ((8+7)<<4) |
| #define | CMPI_INTEGER ((CMPI_UINT|CMPI_SINT)) |
| Test mask for CIM integer types. | |
| #define | CMPI_ENC ((16)<<8) |
| Test mask for CMPI encapsulated data types. | |
| #define | CMPI_instance ((16+0)<<8) |
| Indicates a CMPIValue.inst value. | |
| #define | CMPI_ref ((16+1)<<8) |
| Indicates a CMPIValue.ref value. | |
| #define | CMPI_args ((16+2)<<8) |
| Indicates a CMPIValue.args value. | |
| #define | CMPI_class ((16+3)<<8) |
| Not used. | |
| #define | CMPI_filter ((16+4)<<8) |
| Indicates a CMPIValue.filter value. | |
| #define | CMPI_enumeration ((16+5)<<8) |
| Indicates a CMPIValue.Enum value. | |
| #define | CMPI_string ((16+6)<<8) |
| Indicates a CMPIValue.string value. | |
| #define | CMPI_chars ((16+7)<<8) |
| Indicates a CMPIValue.chars value. | |
| #define | CMPI_dateTime ((16+8)<<8) |
| Indicates a CMPIValue.dateTime value. | |
| #define | CMPI_ptr ((16+9)<<8) |
| Indicates a CMPIValue.dataPtr value. | |
| #define | CMPI_charsptr ((16+10)<<8) |
| Not used. | |
| #define | CMPI_ARRAY ((1)<<13) |
| Test mask for arrays. | |
| #define | CMPI_SIMPLEA (CMPI_ARRAY|CMPI_SIMPLE) |
| Test mask for array of CIM simple types. | |
| #define | CMPI_booleanA (CMPI_ARRAY|CMPI_boolean) |
| Indicates a CMPIValue.array value with CMPIBoolean entries. | |
| #define | CMPI_char16A (CMPI_ARRAY|CMPI_char16) |
| Indicates a CMPIValue.array value with CMPIChar16 entries. | |
| #define | CMPI_REALA (CMPI_ARRAY|CMPI_REAL) |
| Test mask for array of CIM real numbers. | |
| #define | CMPI_real32A (CMPI_ARRAY|CMPI_real32) |
| Indicates a CMPIValue.array value with CMPIReal32 entries. | |
| #define | CMPI_real64A (CMPI_ARRAY|CMPI_real64) |
| Indicates a CMPIValue.array value with CMPIReal64 entries. | |
| #define | CMPI_UINTA (CMPI_ARRAY|CMPI_UINT) |
| Test mask for array of CIM unsigned integers. | |
| #define | CMPI_uint8A (CMPI_ARRAY|CMPI_uint8) |
| Indicates a CMPIValue.array value with CMPIUint8 entries. | |
| #define | CMPI_uint16A (CMPI_ARRAY|CMPI_uint16) |
| Indicates a CMPIValue.array value with CMPIUint16 entries. | |
| #define | CMPI_uint32A (CMPI_ARRAY|CMPI_uint32) |
| Indicates a CMPIValue.array value with CMPIUint32 entries. | |
| #define | CMPI_uint64A (CMPI_ARRAY|CMPI_uint64) |
| Indicates a CMPIValue.array value with CMPIUint64 entries. | |
| #define | CMPI_SINTA (CMPI_ARRAY|CMPI_SINT) |
| Test mask for array of CIM signed integers. | |
| #define | CMPI_sint8A (CMPI_ARRAY|CMPI_sint8) |
| Indicates a CMPIValue.array value with CMPISint8 entries. | |
| #define | CMPI_sint16A (CMPI_ARRAY|CMPI_sint16) |
| Indicates a CMPIValue.array value with CMPISint16 entries. | |
| #define | CMPI_sint32A (CMPI_ARRAY|CMPI_sint32) |
| Indicates a CMPIValue.array value with CMPISint32 entries. | |
| #define | CMPI_sint64A (CMPI_ARRAY|CMPI_sint64) |
| Indicates a CMPIValue.array value with CMPISint64 entries. | |
| #define | CMPI_INTEGERA (CMPI_ARRAY|CMPI_INTEGER) |
| Test mask for array of CIM integers. | |
| #define | CMPI_ENCA (CMPI_ARRAY|CMPI_ENC) |
| Test mask for array of CMPI encapsulated data types. | |
| #define | CMPI_instanceA (CMPI_ARRAY|CMPI_instance) |
| Indicates a CMPIValue.array value with CMPIInstance entries. | |
| #define | CMPI_refA (CMPI_ARRAY|CMPI_ref) |
| Indicates a CMPIValue.array value with CMPIObjectPath entries. | |
| #define | CMPI_stringA (CMPI_ARRAY|CMPI_string) |
| Indicates a CMPIValue.array value with CMPIString entries. | |
| #define | CMPI_charsA (CMPI_ARRAY|CMPI_chars) |
| Indicates a CMPIValue.array value with C string entries. | |
| #define | CMPI_dateTimeA (CMPI_ARRAY|CMPI_dateTime) |
| Indicates a CMPIValue.array value with CMPIDateTime entries. | |
| #define | CMPI_charsptrA (CMPI_ARRAY|CMPI_charsptr) |
| Not used. | |
| #define | CMPI_keyInteger (CMPI_sint64) |
| Generic integer type in CMPIObjectPath. | |
| #define | CMPI_keyString (CMPI_string) |
| Generic string type in CMPIObjectPath. | |
| #define | CMPI_keyBoolean (CMPI_boolean) |
| Generic boolean type in CMPIObjectPath. | |
| #define | CMPI_keyRef (CMPI_ref) |
| Generic reference type in CMPIObjectPath. | |
| #define | CMPI_charString (CMPI_string) |
| Predicate type for strings. | |
| #define | CMPI_integerString (CMPI_string | CMPI_sint64) |
| Predicate type for integers. | |
| #define | CMPI_realString (CMPI_string | CMPI_real64) |
| Predicate type for real numbers. | |
| #define | CMPI_numericString (CMPI_string | CMPI_sint64 | CMPI_real64) |
| Predicate type for numbers. | |
| #define | CMPI_booleanString (CMPI_string | CMPI_boolean) |
| Predicate type for booleans. | |
| #define | CMPI_dateTimeString (CMPI_string | CMPI_dateTime) |
| Predicate type for datetime. | |
| #define | CMPI_classNameString (CMPI_string | CMPI_class) |
| Predicate type for class names. | |
| #define | CMPI_nameString (CMPI_string | ((16+10)<<8)) |
| Predicate type for names. | |
Test masks for CMPIValueState | |
These test masks are used on CMPIValueState. | |
| #define | CMPI_goodValue (0) |
| #define | CMPI_nullValue (1<<8) |
| #define | CMPI_keyValue (2<<8) |
| #define | CMPI_notFound (4<<8) |
| #define | CMPI_badValue (0x80<<8) |
Test masks for CMPIFlags | |
These test masks are used on CMPIFlags. For considerations on the use of CMPI_FLAG_LocalOnly and CMPI_FLAG_DeepInheritance, see Subclause 4.4 of the CMPI Standard. | |
| #define | CMPI_FLAG_LocalOnly 1 |
| LocalOnly flag. | |
| #define | CMPI_FLAG_DeepInheritance 2 |
| DeepInheritance flag. | |
| #define | CMPI_FLAG_IncludeQualifiers 4 |
| IncludeQualifiers flag. | |
| #define | CMPI_FLAG_IncludeClassOrigin 8 |
| IncludeClassOrigin flag. | |
Typedefs | |
| typedef unsigned char | CMPIBoolean |
CIM data type boolean. | |
| typedef unsigned short | CMPIChar16 |
CIM data type char16. | |
| typedef unsigned char | CMPIUint8 |
CIM data type uint8. | |
| typedef unsigned short | CMPIUint16 |
CIM data type uint16. | |
| typedef unsigned int | CMPIUint32 |
CIM data type uint32. | |
| typedef unsigned long long | CMPIUint64 |
CIM data type uint64. More... | |
| typedef signed char | CMPISint8 |
CIM data type sint8. | |
| typedef short | CMPISint16 |
CIM data type sint16. | |
| typedef signed int | CMPISint32 |
CIM data type sint32. | |
| typedef long long | CMPISint64 |
CIM data type sint64. More... | |
| typedef float | CMPIReal32 |
CIM data type real32. | |
| typedef double | CMPIReal64 |
CIM data type real64. | |
| typedef unsigned int | CMPICount |
| An unsigned integer that specifies a number of elements or position in a sequential data type. More... | |
| typedef unsigned short | CMPIType |
| A bitmask type representing a CMPI type. More... | |
| typedef unsigned short | CMPIValueState |
| A bitmask type representing the state of a value in a CMPIData object. More... | |
| typedef CMPIData | CMPIAccessor (const char *propertyName, void *parm) |
| A function type for accessing data during query processing. More... | |
| typedef CMPI_THREAD_RETURN(CMPI_THREAD_CDECL * | CMPIThreadFunc )(void *parm) |
| A function pointer type for a POSIX thread function. More... | |
| typedef void(* | CMPIThreadOnceFunc )(void) |
| A function pointer type for a function that is called once in a POSIX thread. More... | |
| typedef void(* | CMPIThreadKeyCleanupFunc )(void *key) |
| A function pointer type for a POSIX thread key cleanup function. More... | |
| typedef void * | CMPIMsgFileHandle |
| An opaque type representing a handle to an open message file. | |
| typedef void | CMPIGcStat |
| An opaque type that is used by the MB for use with the CMPIBrokerMemFT.mark() and CMPIBrokerMemFT.release() functions. | |
| typedef unsigned int | CMPIFlags |
| A bitmask type that represents options specified by the WBEM client. More... | |
| typedef int | CMPIVersion |
| A type for CMPI version fields (mainly in function tables). More... | |
Defines CMPI data types.
MIs and MBs do not need to include this header file because it is already included when including the main header file cmpift.h.
This header file belongs to the Open Group Technical Standard: Systems Management: Common Manageability Programming Interface (CMPI Standard), Issue 2 Version 1.
This header file is provided as a convenience only. In the case of any discrepancy between the header file and the CMPI Standard (incorporating any subsequent Technical Corrigenda), the CMPI Standard shall be definitive.
1.8.6