cmpi
Public Attributes | List of all members
_CMPIInstanceMIFT Struct Reference

#include <cmpi/cmpift.h>

Public Attributes

int ftVersion
 
int miVersion
 
const char * miName
 
CMPIInstanceMImi
 
CMPIInstanceMI const CMPIContextctx
 
CMPIInstanceMI const
CMPIContext CMPIBoolean 
terminating
 
CMPIInstanceMI const
CMPIContext const CMPIResult
rslt
 
CMPIInstanceMI const
CMPIContext const CMPIResult
const CMPIObjectPath
op
 
CMPIInstanceMI const
CMPIContext const CMPIResult
const CMPIObjectPath const
char ** 
properties
 
CMPIInstanceMI const
CMPIContext const CMPIResult
const CMPIObjectPath const
CMPIInstance
inst
 
CMPIInstanceMI const
CMPIContext const CMPIResult
const CMPIObjectPath const
CMPIInstance const char ** 
properties
 
CMPIInstanceMI const
CMPIContext const CMPIResult
const CMPIObjectPath const
char * 
query
 
CMPIInstanceMI const
CMPIContext const CMPIResult
const CMPIObjectPath const
char const char * 
lang
 

Detailed Description

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

Member Data Documentation

CMPIInstanceMI const CMPIContext * _CMPIInstanceMIFT::ctx
int _CMPIInstanceMIFT::ftVersion

Function table version

CMPIInstanceMI const CMPIContext const CMPIResult const CMPIObjectPath const CMPIInstance * _CMPIInstanceMIFT::inst
CMPIInstanceMI const CMPIContext const CMPIResult const CMPIObjectPath const char const char* _CMPIInstanceMIFT::lang
CMPIInstanceMI * _CMPIInstanceMIFT::mi

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.

Parameters
miThe mi argument is a pointer to a CMPIInstanceMI 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.o

Enumerate ObjectPaths of Instances serviced by this provider.

Parameters
miProvider this pointer.
ctxInvocation Context.
rsltResult data container.
opObjectPath containing namespace and classname components.
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.

Enumerate the Instances serviced by this provider.

Parameters
miProvider this pointer.
ctxInvocation Context.
rsltResult data container.
opObjectPath containing namespace and classname components.
propertiesIf 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.
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.

Get the Instances defined by <op>.

Parameters
miProvider this pointer.
ctxInvocation Context.
rsltResult data container.
opObjectPath containing namespace, classname and key components.
propertiesIf 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.
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.

Create Instance from <inst> using <op> as reference.

Parameters
miProvider this pointer.
ctxInvocation Context.
rsltResult data container.
opObjectPath containing namespace, classname and key components.
instThe Instance.
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_ALREADY_EXISTS Instance already exists.

Replace an existing Instance from <inst> using <op> as reference.

Parameters
miProvider this pointer.
ctxInvocation Context.
rsltResult data container.
opObjectPath containing namespace, classname and key components.
instThe Instance.
propertiesIf 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.
Returns
Function return status.

Delete an existing Instance defined by <op>.

Parameters
miProvider this pointer.
ctxInvocation Context.
rsltResult data container.
opObjectPath containing namespace, classname and key components.
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.

Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression.

Parameters
miProvider this pointer.
ctxContext object
rsltResult data container.
opObjectPath containing namespace and classname components.
queryQuery expression
langQuery language
Returns
Function return status. The following CMPIrc codes shall be recognized: CMPI_RC_OK Operation successful. CMPI_RC_ERR_FAILED Unspecific error CMPI_RC_ERR_NOT_SUPPORTED Operation not supported by this MI. CMPI_RC_ERR_ACCESS_DENIED Not authorized. CMPI_RC_ERR_QUERY_LANGUAGE_NOT_SUPPORTED Query language not supported. CMPI_RC_ERR_INVALID_QUERY Invalid query.
const char* _CMPIInstanceMIFT::miName

Provider name

int _CMPIInstanceMIFT::miVersion

Provider version

CMPIInstanceMI const CMPIContext const CMPIResult const CMPIObjectPath * _CMPIInstanceMIFT::op
CMPIInstanceMI const CMPIContext const CMPIResult const CMPIObjectPath const char ** _CMPIInstanceMIFT::properties
CMPIInstanceMI const CMPIContext const CMPIResult const CMPIObjectPath const CMPIInstance const char** _CMPIInstanceMIFT::properties
CMPIInstanceMI const CMPIContext const CMPIResult const CMPIObjectPath const char* _CMPIInstanceMIFT::query
CMPIInstanceMI const CMPIContext const CMPIResult * _CMPIInstanceMIFT::rslt
CMPIInstanceMI const CMPIContext CMPIBoolean _CMPIInstanceMIFT::terminating

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