cmpi
|
#include <cmpi/cmpift.h>
This structure is a table of pointers providing access to Instance provider functions. This table must be returend during initialization by the provider.
CMPIStatus(* _CMPIInstanceMIFT::cleanup) (CMPIInstanceMI *mi, const CMPIContext *ctx, CMPIBoolean terminating) |
The CMPIInstanceMIFT.cleanup() function shall perform any necessary cleanup operation prior to the unloading of the library of which this MI group is part. This function is called prior to the unloading of the provider.
mi | The mi argument is a pointer to a CMPIInstanceMI structure. |
ctx | The ctx argument is a pointer to a CMPIContext structure containing the 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. |
CMPIStatus(* _CMPIInstanceMIFT::createInstance) (CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const CMPIInstance *inst) |
Create Instance from <inst> using <op> as reference.
mi | Provider this pointer. |
ctx | Invocation Context. |
rslt | Result data container. |
op | ObjectPath containing namespace, classname and key components. |
inst | The Instance. |
CMPIStatus(* _CMPIInstanceMIFT::deleteInstance) (CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op) |
Delete an existing Instance defined by <op>.
mi | Provider this pointer. |
ctx | Invocation Context. |
rslt | Result data container. |
op | ObjectPath containing namespace, classname and key components. |
CMPIStatus(* _CMPIInstanceMIFT::enumerateInstanceNames) (CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op) |
Enumerate ObjectPaths of Instances serviced by this provider.
mi | Provider this pointer. |
ctx | Invocation Context. |
rslt | Result data container. |
op | ObjectPath containing namespace and classname components. |
CMPIStatus(* _CMPIInstanceMIFT::enumerateInstances) (CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char **properties) |
Enumerate the Instances serviced by this provider.
mi | Provider this pointer. |
ctx | Invocation Context. |
rslt | Result data container. |
op | ObjectPath containing namespace and classname components. |
properties | If not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. |
CMPIStatus(* _CMPIInstanceMIFT::execQuery) (CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *query, const char *lang) |
Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression.
mi | Provider this pointer. |
ctx | Context object |
rslt | Result data container. |
op | ObjectPath containing namespace and classname components. |
query | Query expression |
lang | Query language |
int _CMPIInstanceMIFT::ftVersion |
Function table version
CMPIStatus(* _CMPIInstanceMIFT::getInstance) (CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char **properties) |
Get the Instances defined by <op>.
mi | Provider this pointer. |
ctx | Invocation Context. |
rslt | Result data container. |
op | ObjectPath containing namespace, classname and key components. |
properties | If not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. |
const char* _CMPIInstanceMIFT::miName |
Provider name
int _CMPIInstanceMIFT::miVersion |
Provider version
CMPIStatus(* _CMPIInstanceMIFT::modifyInstance) (CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const CMPIInstance *inst, const char **properties) |
Replace an existing Instance from <inst> using <op> as reference.
mi | Provider this pointer. |
ctx | Invocation Context. |
rslt | Result data container. |
op | ObjectPath containing namespace, classname and key components. |
inst | The Instance. |
properties | If not NULL, the members of the array define one or more Property names. The process MUST NOT replace elements for any Properties missing from this list. If NULL all properties will be replaced. |