CMPI 2.1.0 API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Functions

static CMPIData CMGetContextEntry (const CMPIContext *ctx, const char *name, CMPIStatus *rc)
 Get a context entry in a CMPIContext object by name. More...
 
static CMPIData CMGetContextEntryAt (const CMPIContext *ctx, CMPICount index, CMPIString **name, CMPIStatus *rc)
 Get a context entry in a CMPIContext object by index. More...
 
static CMPICount CMGetContextEntryCount (const CMPIContext *ctx, CMPIStatus *rc)
 Get the number of context entries in a CMPIContext object. More...
 
static CMPIStatus CMAddContextEntry (const CMPIContext *ctx, const char *name, const CMPIValue *value, const CMPIType type)
 Add or replace a context entry in a CMPIContext object. More...
 

Detailed Description

Function Documentation

static CMPIData CMGetContextEntry ( const CMPIContext ctx,
const char *  name,
CMPIStatus rc 
)
inlinestatic

Get a context entry in a CMPIContext object by name.

Parameters
ctxCMPIContext object.
nameName of the context entry. See Names of CMPIContext fields for defined names.
[out]rcFunction return status (suppressed when NULL).
Returns
Context entry value and type.
Full Description
CMPIContextFT.getEntry()
Status for OpenPegasus:
TBD
static CMPIData CMGetContextEntryAt ( const CMPIContext ctx,
CMPICount  index,
CMPIString **  name,
CMPIStatus rc 
)
inlinestatic

Get a context entry in a CMPIContext object by index.

Parameters
ctxCMPIContext object.
indexZero-based position of the context entry in the internal data array. The order of context entries in the internal data array is implementation-defined.
[out]nameName of the returned context entry (suppressed when NULL).
[out]rcFunction return status (suppressed when NULL).
Returns
Context entry value and type.
Full Description
CMPIContextFT.getEntryAt()
Status for OpenPegasus:
TBD
static CMPICount CMGetContextEntryCount ( const CMPIContext ctx,
CMPIStatus rc 
)
inlinestatic

Get the number of context entries in a CMPIContext object.

Parameters
ctxCMPIContext object.
[out]rcFunction return status (suppressed when NULL).
Returns
Number of entries in the CMPIContext object.
Full Description
CMPIContextFT.getEntryCount()
Status for OpenPegasus:
TBD
static CMPIStatus CMAddContextEntry ( const CMPIContext ctx,
const char *  name,
const CMPIValue value,
const CMPIType  type 
)
inlinestatic

Add or replace a context entry in a CMPIContext object.

Parameters
ctxCMPIContext object.
nameName of the context entry. See Names of CMPIContext fields for defined names.
valueCMPIValue structure containing the non-NULL value to be assigned to the element, or NULL to assign NULL.
typeType of the value.
Returns
Function return status.
Full Description
CMPIContextFT.addEntry()
Status for OpenPegasus:
Used