cmpi
|
#include <cmpi/cmpift.h>
Public Attributes | |
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 *name) |
CMPIStatus(* | setPropertyWithOrigin )(CMPIPropertyMI *, const CMPIContext *, const CMPIResult *, CMPIObjectPath *op, const char *name, const CMPIData data, const char *) |
This structure is a table of pointers providing access to Property provider functions. This table must be returend during initialization by the provider.
CMPIStatus(* _CMPIPropertyMIFT::cleanup) (CMPIPropertyMI *mi, const CMPIContext *ctx, CMPIBoolean terminating) |
Cleanup is called prior to unloading of the provider.
mi | Provider this pointer. |
ctx | Invocation Context |
terminating | When true, the terminating argument indicates that the MB is in the process of terminating and that cleanup 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. |
int _CMPIPropertyMIFT::ftVersion |
Function table version
CMPIStatus(* _CMPIPropertyMIFT::getProperty) (CMPIPropertyMI *, const CMPIContext *, const CMPIResult *, const CMPIObjectPath *, const char *name) |
Get the named property value of an Instance defined by the <op> parameter.
mi | Provider this pointer. |
ctx | Invocation Context |
rslt | Result data container. |
op | ObjectPath containing namespace, classname and key components. |
name | Property name |
const char* _CMPIPropertyMIFT::miName |
Provider name
int _CMPIPropertyMIFT::miVersion |
Provider version
CMPIStatus(* _CMPIPropertyMIFT::setProperty) (CMPIPropertyMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *name, const CMPIData data) |
Set the named property value of an Instance defined by the <op> parameter.
mi | Provider this pointer. |
ctx | Invocation Context |
rslt | Result data container. |
op | ObjectPath containing namespace, classname and key components. |
name | Property name |
data | Property value. |
CMPIStatus(* _CMPIPropertyMIFT::setPropertyWithOrigin) (CMPIPropertyMI *, const CMPIContext *, const CMPIResult *, CMPIObjectPath *op, const char *name, const CMPIData data, const char *) |
add/replace a named Property value and origin
mi | Provider this pointer. |
ctx | Invocation Context |
rslt | Result data container. |
op | ObjectPath containing namespace, classname and key components |
name | Property name |
data | Property value. |
origin | specifies the instance origin. If NULL, then no origin is attached to the property |