_CMPIPropertyMIFT Struct Reference

#include <cmpift.h>

List of all members.

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)

Detailed Description

This structure is a table of pointers providing access to Property provider functions. This table must be returend during initialization by the provider.


Member Data Documentation

CMPIStatus(* _CMPIPropertyMIFT::cleanup)(CMPIPropertyMI *mi, const CMPIContext *ctx, CMPIBoolean terminating)

Cleanup is called prior to unloading of the provider.

Parameters:
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.
Returns:
Function return status. 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.

Function table version.

Get the named property value of an Instance defined by the <op> parameter.

Parameters:
mi Provider this pointer.
ctx Invocation Context
rslt Result data container.
op ObjectPath containing namespace, classname and key components.
name Property name
Returns:
Function return status. 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.

Provider name.

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.

Parameters:
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.
Returns:
Function return status. The following CMPIrc codes shall be recognized: CMPI_RC_OK Operation successful. CMPI_RC_ERR_TYPE_MISATCH type does not correspond to class-defined type. CMPI_RC_ERR_INVALID_HANDLE The inst handle is invalid.

The documentation for this struct was generated from the following file:
  • /var/tmp/axbld-11697/rpm/BUILD/pegasus/src/Pegasus/Provider/CMPI/cmpift.h