Adds a path and value to a Write Operation, as a request to change the resource to the specified value.
More...
|
AwaError | AwaServerWriteOperation_AddValueAsCString (AwaServerWriteOperation *operation, const char *path, const char *value) |
|
AwaError | AwaServerWriteOperation_AddValueAsInteger (AwaServerWriteOperation *operation, const char *path, AwaInteger value) |
|
AwaError | AwaServerWriteOperation_AddValueAsFloat (AwaServerWriteOperation *operation, const char *path, AwaFloat value) |
|
AwaError | AwaServerWriteOperation_AddValueAsBoolean (AwaServerWriteOperation *operation, const char *path, AwaBoolean value) |
|
AwaError | AwaServerWriteOperation_AddValueAsTime (AwaServerWriteOperation *operation, const char *path, AwaTime value) |
|
AwaError | AwaServerWriteOperation_AddValueAsOpaque (AwaServerWriteOperation *operation, const char *path, AwaOpaque value) |
|
AwaError | AwaServerWriteOperation_AddValueAsObjectLink (AwaServerWriteOperation *operation, const char *path, AwaObjectLink value) |
|
Adds a path and value to a Write Operation, as a request to change the resource to the specified value.
- Parameters
-
[in] | operation | The Write Operation to add the path and value to. |
[in] | path | The path of the resource requested for change. |
[in] | value | The new value of the resource. |
- Returns
- AwaError_Success on success.
-
AwaError_OperationInvalid if the operation is invalid.
-
AwaError_PathInvalid if the specified path is invalid.
-
AwaError_TypeMismatch if the specified path refers to a resource with a non-corresponding type.
-
AwaError_NotDefined if the specified path refers to an object or resource that is not defined.
AwaError AwaServerWriteOperation_AddValueAsCString |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
const char * |
value |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsInteger |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
AwaInteger |
value |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsFloat |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
AwaFloat |
value |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsBoolean |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
AwaBoolean |
value |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsTime |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
AwaTime |
value |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsOpaque |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
AwaOpaque |
value |
|
) |
| |
AwaError AwaServerWriteOperation_AddValueAsObjectLink |
( |
AwaServerWriteOperation * |
operation, |
|
|
const char * |
path, |
|
|
AwaObjectLink |
value |
|
) |
| |