CMPI 2.1.0 API
|
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... | |
|
inlinestatic |
Get a context entry in a CMPIContext object by name.
ctx | CMPIContext object. | |
name | Name of the context entry. See Names of CMPIContext fields for defined names. | |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get a context entry in a CMPIContext object by index.
ctx | CMPIContext object. | |
index | Zero-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] | name | Name of the returned context entry (suppressed when NULL). |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get the number of context entries in a CMPIContext object.
ctx | CMPIContext object. | |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Add or replace a context entry in a CMPIContext object.
ctx | CMPIContext object. |
name | Name of the context entry. See Names of CMPIContext fields for defined names. |
value | CMPIValue structure containing the non-NULL value to be assigned to the element, or NULL to assign NULL. |
type | Type of the value. |