CMPI 2.1.0 API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Changed in CMPI 2.1

Entities that were changed in CMPI 2.1

These are not believed to be incompatibilities for MIs conforming to earlier versions of CMPI. New requirements for MBs are not considered incompatibilities.

Global CBGetCapabilities (const CMPIBroker *mb)
In CMPI 2.1, CBGetClassification() was removed as not working, and this function was introduced.
Global CMEvaluatePredicateUsingAccessor (const CMPIPredicate *pr, const CMPIAccessor *accessorFnc, void *parm, CMPIStatus *rc)
In CMPI 2.1, the return type of this function has been changed from int to CMPIBoolean.
Global CMGetCIMStatusCode (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetCIMStatusCodeDescription (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetErrorMessage (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetErrorSource (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetErrorSourceFormat (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetErrorType (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetMessageArguments (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetMessageID (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetOtherErrorSourceFormat (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetOtherErrorType (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetOwningEntity (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetPerceivedSeverity (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetProbableCause (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetProbableCauseDescription (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMGetRecommendedActions (const CMPIError *er, CMPIStatus *rc)
The inline function was fixed in CMPI 2.1.
Global CMLogMessage (const CMPIBroker *mb, CMPISeverity severity, const char *id, const char *text, const CMPIString *string)
In CMPI 2.1, fixed inconsistencies in presence and definition of severity by changing its type from int to CMPISeverity. This is a compatible change for MIs.
Global CMPIArrayFT::setElementAt )(const CMPIArray *ar, CMPICount index, const CMPIValue *value, CMPIType type)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIAssociationMIFT::associatorNames )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *instPath, const char *assocClass, const char *resultClass, const char *role, const char *resultRole)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_PARAMETER and CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED.
Global CMPIAssociationMIFT::associators )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *instPath, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_PARAMETER and CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED.
Global CMPIAssociationMIFT::referenceNames )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *instPath, const char *resultClass, const char *role)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_PARAMETER and CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED.
Global CMPIAssociationMIFT::references )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *instPath, const char *resultClass, const char *role, const char **properties)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_PARAMETER and CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED.
Global CMPIBrokerEncFT::logMessage )(const CMPIBroker *mb, CMPISeverity severity, const char *id, const char *text, const CMPIString *string)
In CMPI 2.1, fixed inconsistencies in presence and definition of severity by changing its type from int to CMPISeverity. This is a compatible change for MIs.
Global CMPIBrokerEncFT::newSelectExp )(const CMPIBroker *mb, const char *query, const char *lang, CMPIArray **projection, CMPIStatus *rc)
In CMPI 2.1, added the return code CMPI_RC_ERR_NOT_SUPPORTED, because this function depends on support for the Query Normalization capability in the MB.
Global CMPIBrokerEncFT::trace )(const CMPIBroker *mb, CMPILevel level, const char *component, const char *text, const CMPIString *string)
In CMPI 2.1, fixed inconsistencies in presence and definition of level by changing its type from int to CMPILevel. This is a compatible change for MIs.
Global CMPIBrokerExtFT::newCondition )(int opt)
In CMPI 2.1, changed opt to be for future use.
Global CMPIBrokerExtFT::newMutex )(int opt)

In CMPI 2.1, changed opt to be for future use.

In CMPI 2.1, required that the mutex behaves consistent with mutex type PTHREAD_MUTEX_RECURSIVE defined in IEEE 1003.1.

Global CMPIBrokerFT::associatorNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::associators )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::createInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, const CMPIInstance *newInst, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::deleteInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE and CMPI_RC_ERR_INVALID_CLASS. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::deliverIndication )(const CMPIBroker *mb, const CMPIContext *ctx, const char *ns, const CMPIInstance *ind)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIBrokerFT::enumerateInstanceNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE and CMPI_RC_ERR_INVALID_CLASS. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::enumerateInstances )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, const char **properties, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::execQuery )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *classPath, const char *query, const char *lang, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE and CMPI_RC_ERR_INVALID_CLASS. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::getInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char **properties, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::getProperty )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *name, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE and CMPI_RC_ERR_INVALID_CLASS. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::invokeMethod )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *objPath, const char *method, const CMPIArgs *in, CMPIArgs *out, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::modifyInstance )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const CMPIInstance *modInst, const char **properties)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::referenceNames )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *resultClass, const char *role, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::references )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *resultClass, const char *role, const char **properties, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, and CMPI_RC_ERR_INVALID_PARAMETER. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIBrokerFT::setProperty )(const CMPIBroker *mb, const CMPIContext *ctx, const CMPIObjectPath *instPath, const char *name, const CMPIValue *value, CMPIType type)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE and CMPI_RC_ERR_INVALID_CLASS. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIEnumerationFT::getNext )(const CMPIEnumeration *en, CMPIStatus *rc)
In CMPI 2.1, added the return code CMPI_RC_NO_MORE_ELEMENTS (which had been used by this function before).
Global CMPIEnumerationFT::hasNext )(const CMPIEnumeration *en, CMPIStatus *rc)
In CMPI 2.1, added a requirement for the MB to return False if not successful.
Global CMPIInstanceFT::setObjectPath )(const CMPIInstance *inst, const CMPIObjectPath *op)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIInstanceFT::setProperty )(const CMPIInstance *inst, const char *name, const CMPIValue *value, CMPIType type)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIInstanceMIFT::createInstance )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *classPath, const CMPIInstance *inst)
In CMPI 2.1, added the return code CMPI_RC_ERR_ACCESS_DENIED.
Global CMPIInstanceMIFT::enumerateInstanceNames )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *classPath)
In CMPI 2.1, added the return code CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED.
Global CMPIInstanceMIFT::enumerateInstances )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *classPath, const char **properties)
In CMPI 2.1, added the return code CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED.
Global CMPIInstanceMIFT::execQuery )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *classPath, const char *query, const char *lang)
In CMPI 2.1, added the return codes CMPI_RC_ERR_QUERY_FEATURE_NOT_SUPPORTED and CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED.
Global CMPIInstanceMIFT::modifyInstance )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *instPath, const CMPIInstance *modInst, const char **properties)
In CMPI 2.1, added the return code CMPI_RC_ERR_NO_SUCH_PROPERTY.
Global CMPIMethodMIFT::invokeMethod )(CMPIMethodMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *objPath, const char *method, const CMPIArgs *in, CMPIArgs *out)
In CMPI 2.1, added the return codes CMPI_RC_ERR_METHOD_NOT_AVAILABLE, CMPI_RC_ERR_SERVER_LIMITS_EXCEEDED, and CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIObjectPathFT::addKey )(const CMPIObjectPath *op, const char *key, const CMPIValue *value, const CMPIType type)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIObjectPathFT::getClassQualifier )(const CMPIObjectPath *op, const char *qName, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, CMPI_RC_ERR_NOT_FOUND, and CMPI_RC_ERR_FAILED. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIObjectPathFT::getMethodQualifier )(const CMPIObjectPath *op, const char *methodName, const char *qName, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, CMPI_RC_ERR_NOT_FOUND, and CMPI_RC_ERR_FAILED. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIObjectPathFT::getParameterQualifier )(const CMPIObjectPath *op, const char *mName, const char *pName, const char *qName, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, CMPI_RC_ERR_INVALID_PARAMETER, CMPI_RC_ERR_NOT_FOUND, and CMPI_RC_ERR_FAILED. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIObjectPathFT::getPropertyQualifier )(const CMPIObjectPath *op, const char *pName, const char *qName, CMPIStatus *rc)
In CMPI 2.1, added the return codes CMPI_RC_ERR_INVALID_NAMESPACE, CMPI_RC_ERR_INVALID_CLASS, CMPI_RC_ERR_INVALID_PARAMETER, CMPI_RC_ERR_NOT_FOUND, and CMPI_RC_ERR_FAILED. It is believed that MB implementations needed to use these return codes already, so that their addition only fixes an omission in this standard and does not create a compatibility issue for MIs that conform to CMPI 2.0.
Global CMPIObjectPathFT::setClassName )(const CMPIObjectPath *op, const char *cn)
In CMPI 2.1, added const-ness to op.
Global CMPIObjectPathFT::setHostAndNameSpaceFromObjectPath )(const CMPIObjectPath *op, const CMPIObjectPath *src)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIObjectPathFT::setHostname )(const CMPIObjectPath *op, const char *hn)
In CMPI 2.1, added const-ness to op.
Global CMPIObjectPathFT::setNameSpace )(const CMPIObjectPath *op, const char *ns)
In CMPI 2.1, added const-ness to op.
Global CMPIObjectPathFT::setNameSpaceFromObjectPath )(const CMPIObjectPath *op, const CMPIObjectPath *src)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPIPredicateFT::evaluateUsingAccessor )(const CMPIPredicate *pr, CMPIAccessor *accessorFnc, void *parm, CMPIStatus *rc)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPISelectExpFT::evaluate )(const CMPISelectExp *se, const CMPIInstance *inst, CMPIStatus *rc)
In CMPI 2.1, added the return code CMPI_RC_ERR_INVALID_PARAMETER.
Global CMPISubCondFT::getPredicate )(const CMPISubCond *sc, const char *name, CMPIStatus *rc)
In CMPI 2.1, added the return code CMPI_RC_ERR_NO_SUCH_PROPERTY.
Global CMSetCIMStatusCodeDescription (const CMPIError *er, const char *scd)
The inline function was fixed in CMPI 2.1.
Global CMSetErrorSource (const CMPIError *er, const char *es)
The inline function was fixed in CMPI 2.1.
Global CMSetErrorSourceFormat (const CMPIError *er, const CMPIErrorSrcFormat esf)
The inline function was fixed in CMPI 2.1.
Global CMSetErrorType (const CMPIError *er, const CMPIErrorType et)
The inline function was fixed in CMPI 2.1.
Global CMSetMessageArguments (const CMPIError *er, const CMPIArray *values)
The inline function was fixed in CMPI 2.1.
Global CMSetOtherErrorSourceFormat (const CMPIError *er, const char *oef)
The inline function was fixed in CMPI 2.1.
Global CMSetOtherErrorType (const CMPIError *er, const char *ot)
The inline function was fixed in CMPI 2.1.
Global CMSetProbableCauseDescription (const CMPIError *er, const char *pcd)
The inline function was fixed in CMPI 2.1.
Global CMSetRecommendedActions (const CMPIError *er, const CMPIArray *ra)
The inline function was fixed in CMPI 2.1.
Global CMTraceMessage (const CMPIBroker *mb, CMPILevel level, const char *component, const char *text, const CMPIString *string)
In CMPI 2.1, fixed inconsistencies in presence and definition of level by changing its type from int to CMPILevel. This is a compatible change for MIs.
Page Logging capability
In CMPI 2.1, added the CMPI_MB_Logging test mask; the capability itself existed since CMPI 1.0.
Page Property Filtering capability
In CMPI 2.1, added the CMPI_MB_PropertyFiltering test mask; the capability itself existed since CMPI 1.0.
Page Tracing capability
In CMPI 2.1, added the CMPI_MB_Tracing test mask; the capability itself existed since CMPI 1.0.