cmpi
|
#include <cmpi/cmpift.h>
Public Attributes | |
int | ftVersion |
const CMPISint32 | miVersion |
const char * | miName |
CMPIStatus(* | cleanup )(CMPIAssociationMI *mi, const CMPIContext *ctx, CMPIBoolean terminating) |
CMPIStatus(* | associators )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *asscClass, const char *resultClass, const char *role, const char *resultRole, const char **properties) |
CMPIStatus(* | associatorNames )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole) |
CMPIStatus(* | references )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role, const char **properties) |
CMPIStatus(* | referenceNames )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role) |
This structure is a table of pointers providing access to Association provider functions. This table must be returend during initialization by the provider.
CMPIStatus(* _CMPIAssociationMIFT::associatorNames) (CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole) |
Enumerate ObjectPaths associated with the Instance defined by <op>.
mi | Provider this pointer. |
ctx | Invocation Context |
rslt | Result data container. |
op | Source ObjectPath containing namespace, classname and key components. |
assocClass | If not NULL, MUST be a valid Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses. |
resultClass | If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses). |
role | If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter). |
resultRole | If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter). |
CMPIStatus(* _CMPIAssociationMIFT::associators) (CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *asscClass, const char *resultClass, const char *role, const char *resultRole, const char **properties) |
Enumerate ObjectPaths associated with the Instance defined by <op>.
mi | Provider this pointer. |
ctx | Invocation Context |
rslt | Result data container. |
op | Source ObjectPath containing namespace, classname and key components. |
assocClass | If not NULL, MUST be a valid Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses. |
resultClass | If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses). |
role | If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter). |
resultRole | If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to |
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. If NULL all properties must be returned. the returned Object MUST match the value of this parameter). |
CMPIStatus(* _CMPIAssociationMIFT::cleanup) (CMPIAssociationMI *mi, const CMPIContext *ctx, CMPIBoolean terminating) |
Cleanup is called prior to unloading of the provider. This function shall perform any necessary cleanup operations prior to the unloading of the library of which this MI group is part.
mi | This argument is a pointer to a CMPIAssociationMI structure. |
ctx | This 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. |
int _CMPIAssociationMIFT::ftVersion |
Function table version
const char* _CMPIAssociationMIFT::miName |
Provider name
const CMPISint32 _CMPIAssociationMIFT::miVersion |
Provider version
CMPIStatus(* _CMPIAssociationMIFT::referenceNames) (CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role) |
Enumerates the association ObjectPaths that refer to the instance defined by <op>.
mi | Provider this pointer. |
ctx | Invocation Context |
rslt | Result data container. |
op | Source ObjectPath containing namespace, classname and key components. |
resultClass | If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses). |
role | If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter). |
CMPIStatus(* _CMPIAssociationMIFT::references) (CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role, const char **properties) |
Enumerates the association instances that refer to the instance defined by <op>.
mi | Provider this pointer. |
ctx | Invocation Context |
rslt | Result data container. |
op | Source ObjectPath containing namespace, classname and key components. |
resultClass | If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses). |
role | If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter). |
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 |