CMPI 2.1.0 API
|
Functions | |
static CMPIStatus | CMAddArg (const CMPIArgs *args, const char *name, const CMPIValue *value, const CMPIType type) |
Add or replace a method parameter in a CMPIArgs object. More... | |
static CMPIData | CMGetArg (const CMPIArgs *args, const char *name, CMPIStatus *rc) |
Get a method parameter in a CMPIArgs object by name. More... | |
static CMPIData | CMGetArgAt (const CMPIArgs *args, CMPICount index, CMPIString **name, CMPIStatus *rc) |
Get a method parameter in a CMPIArgs object by index. More... | |
static CMPICount | CMGetArgCount (const CMPIArgs *args, CMPIStatus *rc) |
Get the number of method parameters in a CMPIArgs object. More... | |
|
inlinestatic |
Add or replace a method parameter in a CMPIArgs object.
args | CMPIArgs object. |
name | Name of the method parameter. |
value | CMPIValue structure containing the non-NULL value to be assigned to the element, or NULL to assign NULL. |
type | Type of the value. |
|
inlinestatic |
Get a method parameter in a CMPIArgs object by name.
args | CMPIArgs object. | |
name | Name of the method parameter. | |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get a method parameter in a CMPIArgs object by index.
args | CMPIArgs object. | |
index | Zero-based position of the method parameter in the internal data array. | |
[out] | name | Name of the returned method parameter (suppressed when NULL). |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get the number of method parameters in a CMPIArgs object.
args | CMPIArgs object. | |
[out] | rc | Function return status (suppressed when NULL). |