cmpi
Public Attributes | List of all members
_CMPIMethodMIFT Struct Reference

#include <cmpi/cmpift.h>

Public Attributes

int ftVersion
 
int miVersion
 
const char * miName
 
CMPIMethodMImi
 
CMPIMethodMI const CMPIContextctx
 
CMPIMethodMI const CMPIContext
CMPIBoolean 
terminating
 
CMPIMethodMI const CMPIContext
const CMPIResult
rslt
 
CMPIMethodMI const CMPIContext
const CMPIResult const
CMPIObjectPath
op
 
CMPIMethodMI const CMPIContext
const CMPIResult const
CMPIObjectPath const char * 
method
 
CMPIMethodMI const CMPIContext
const CMPIResult const
CMPIObjectPath const char
const CMPIArgs
in
 
CMPIMethodMI const CMPIContext
const CMPIResult const
CMPIObjectPath const char
const CMPIArgs CMPIArgs
out
 

Detailed Description

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

Member Data Documentation

CMPIMethodMI const CMPIContext * _CMPIMethodMIFT::ctx
int _CMPIMethodMIFT::ftVersion

Function table version

CMPIMethodMI const CMPIContext const CMPIResult const CMPIObjectPath const char const CMPIArgs* _CMPIMethodMIFT::in
CMPIMethodMI const CMPIContext const CMPIResult const CMPIObjectPath const char* _CMPIMethodMIFT::method
CMPIMethodMI * _CMPIMethodMIFT::mi

The CMPIMethodMIFT.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.

Parameters
miThe mi argument is a pointer to a CMPIMethodMI structure.
ctxThe ctx argument is a pointer to a CMPIContext structure containing the Invocation Context.
terminatingWhen 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.

Invoke a named, extrinsic method of an Instance defined by the <op> parameter.

Parameters
miProvider this pointer.
ctxInvocation Context
rsltResult data container.
opObjectPath containing namespace, classname and key components.
methodMethod name
inInput parameters.
outOutput parameters.
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_NOT_SUPPORTED Operation not supported by this MI. CMPI_RC_ERR_ACCESS_DENIED Not authorized. CMPI_RC_ERR_NOT_FOUND Instance not found. CMPI_RC_ERR_METHOD_NOT_AVAILABLE Method not available. CMPI_RC_ERR_METHOD_NOT_FOUND Method not found.
const char* _CMPIMethodMIFT::miName

Provider name

int _CMPIMethodMIFT::miVersion

Provider version

CMPIMethodMI const CMPIContext const CMPIResult const CMPIObjectPath* _CMPIMethodMIFT::op
CMPIMethodMI const CMPIContext const CMPIResult const CMPIObjectPath const char const CMPIArgs CMPIArgs* _CMPIMethodMIFT::out
CMPIMethodMI const CMPIContext const CMPIResult* _CMPIMethodMIFT::rslt
CMPIMethodMI const CMPIContext CMPIBoolean _CMPIMethodMIFT::terminating

The documentation for this struct was generated from the following file: