- Change Number:
- U064/8
- Title:
- No mention of CMPIPropertyMIFT
- Qualifier:
- Major Technical
- Rationale:
- The definition of CMPIPropertyMIFT is missing.
- Change:
-
Add a new Section 5.1.3.5 as follows:
5.1.3.5 CMPIPropertyMIFT
typedef struct _CMPIPropertyMIFT {
int ftVersion;
int miVersion;
const char *miName;
CMPIStatus (*cleanup)
(CMPIPropertyMI* mi, const CMPIContext* ctx,
CMPIBoolean terminating);
CMPIStatus (*setProperty)
(CMPIPropertyMI* mi, const CMPIContext* ctx,
const CMPIResult* rslt, const CMPIObjectPath* op,
const char *name, const CMPIData data);
CMPIStatus (*getProperty)
(CMPIPropertyMI*,const CMPIContext*,const CMPIResult*,
const CMPIObjectPath*, const char*);
};
Add an additional reference page in Section 5.1.4 as follows:
|
CMPIPropertyMIFT.cleanup()
|
- NAME
-
CMPIPropertyMIFT.cleanup() - perform cleanup
prior to unloading the Property provider
- SYNOPSIS
-
CMPIStatus CMPIPropertyMIFT.cleanup(
CMPIPropertyMI* mi,
const CMPIContext* ctx,
CMPIBoolean terminating)
- DESCRIPTION
-
The CMPIPropertyMIFT.cleanup() function is called prior to
the unloading of the provider.
The mi argument is a pointer to a CMPIPropertyMI structure.
The ctx argument is a pointer to a CMPIContext structure
containing the Invocation Context.
When true, the terminating argument indicates that the MB
is in the process of terminating and thatcleanup must be
done. When set to false, the MI may respond with CMPI_IRC_DO_NOT_UNLOAD,
or CMPI_IRC_NEVER_UNLOAD, indicating that unload will interfere with current
MI processing.
- RETURN STATUS
-
The CMPIPropertyMIFT.cleanup() function returns a CMPIStatus structure.
The following CMPIrc codes shall be recognized:
| CMPI_RC_OK |
Operation successful. |
| CMPI_RC_ERR_FAILED |
Unspecific error occurred. |
| CMPI_RC_DO_NOT_UNLOAD |
Operation successful - do not unload now. |
| CMPI_RC_NEVER_UNLOAD |
Operation successful - never unload. |
- ERRORS
- None.
- EXAMPLES
- None.
- APPLICATION USAGE
- None.
- SEE ALSO
- None.
- CHANGE HISTORY
- Added in Issue 2.
|
Renumber Sections 5.6 and 5.7 to 5.7 and 5.8 respectively.
Add a new Section 5.6, entitled Property MI Signatures, containing
the following two reference pages:
|
CMPIPropertyMIFT.setProperty()
|
- NAME
-
CMPIPropertyMIFT.setProperty() - set the named property
value of an Instance defined by the <op> argument
- SYNOPSIS
-
CMPIStatus CMPIPropertyMIFT.setProperty(
CMPIPropertyMI* mi,
const CMPIContext* ctx,
const CMPIResult* rslt,
const CMPIObjectPath* op,
const char *name,
const CMPIData data)
- DESCRIPTION
-
The CMPIPropertyMIFT.setProperty() function sets a named property
value of an Instance.
The mi argument is a pointer to a CMPIPropertyMI structure.
The ctx argumant is a pointer to a CMPIContext structure
containing the Invocation Context.
The rslt argument points to the result data container.
The op argument points to the source ObjectPath containing
namespace, classname, and key components.
The name argument points to a string containing the property name.
The data argument is a CMPIData structure containing the datavalue
to be assigned to the property
- RETURN STATUS
-
The CMPIPropertyMIFT.setProperty() function returns a
CMPIStatus structure.
The following CMPIrc codes shall be recognized:
| CMPI_RC_OK |
Operation successful. |
| CMPI_RC_ERR_FAILED |
Unspecific error occurred. |
| CMPI_RC_ERR_ACCESS_DENIED |
Not authorized. |
| CMPI_RC_ERR_NOT_SUPPORTED |
Operation not supported by this MI. |
| CMPI_RC_ERR_INVALID_NAMESPACE |
The namespace is invalid. |
| CMPI_RC_ERR_INVALID_PARAMETER |
The parameter is invalid. |
| CMPI_RC_ERR_INVALID_CLASS |
The CIM class does not exist in the specified namespace. |
| CMPI_RC_ERR_NOT_FOUND |
Instance not found. |
| CMPI_RC_ERR_NO_SUCH_PROPERTY |
Entry not found. |
| CMPI_RC_ERR_TYPE_MISMATCH |
Value types incompatible. |
- ERRORS
- None.
- EXAMPLES
- None.
- APPLICATION USAGE
- None.
- SEE ALSO
- None.
- CHANGE HISTORY
- Added in Issue 2.
|
|
CMPIPropertyMIFT.getProperty()
|
- NAME
-
CMPIPropertyMIFT.getProperty() - get a named property value
of an Instance defined by the <op> argument
- SYNOPSIS
-
CMPIStatus CMPIPropertyMIFT.getProperty(
CMPIPropertyMI* mi,
const CMPIContext* ctx,
const CMPIResult* rslt,
const CMPIObjectPath* op,
const char* name)
- DESCRIPTION
-
The CMPIPropertyMIFT.getProperty() gets a named property value of an Instance.
The mi argument is a pointer to a CMPIPropertyMI structure.
The ctx argumant is a pointer to a CMPIContext structure
containing the Invocation Context.
The rslt argument points to the result data container.
The op argument points to the source ObjectPath containing
namespace, classname, and key components.
The name argument points to a string containing the property name.
- RETURN STATUS
-
The CMPIAssociationMIFT.getProperty() function returns a
CMPIStatus structure.
The following CMPIrc codes shall be recognized:
| CMPI_RC_OK |
Operation successful. |
| CMPI_RC_ERR_FAILED |
Unspecific error occurred. |
| CMPI_RC_ERR_ACCESS_DENIED |
Not authorized. |
| CMPI_RC_ERR_INVALID_NAMESPACE |
The namespace is invalid. |
| CMPI_RC_ERR_INVALID_PARAMETER |
The parameter is invalid. |
| CMPI_RC_ERR_INVALID_CLASS |
The CIM class does not exist in the specified namespace. |
| CMPI_RC_ERR_NOT_FOUND |
Instance not found. |
| CMPI_RC_ERR_NO_SUCH_PROPERTY |
Entry not found. |
- ERRORS
- None.
- EXAMPLES
- None.
- APPLICATION USAGE
- None.
- SEE ALSO
- None.
- CHANGE HISTORY
- Added in Issue 2.
|
|