Functions | |
EINA_API Eina_Value_Struct_Desc * | eina_value_util_struct_desc_new (void) |
Creates a basic Eina_Value struct desc with refcounting. More... | |
EINA_API Eina_Value * | eina_value_util_time_string_new (const char *timestr) |
Creates a new Eina_Value containing the passed parameter. More... | |
Eina_Value * | eldbus_message_to_eina_value (const Eldbus_Message *msg) |
Convert Eldbus_Message to Eina_Value. More... | |
Eina_Value * | eldbus_message_iter_struct_like_to_eina_value (const Eldbus_Message_Iter *iter) |
Convert Eldbus_Message_Iter of type variant, struct or dict entry to Eina_Value. More... | |
Eina_Bool | eldbus_message_from_eina_value (const char *signature, Eldbus_Message *msg, const Eina_Value *value) |
Convert Eina_Value to Eldbus_Message. More... | |
EINA_API Eina_Value_Struct_Desc * eina_value_util_struct_desc_new | ( | void | ) |
Creates a basic Eina_Value struct desc with refcounting.
NULL
on failureReferences EINA_SAFETY_ON_NULL_RETURN_VAL, and EINA_VALUE_STRUCT_DESC_VERSION.
EINA_API Eina_Value * eina_value_util_time_string_new | ( | const char * | timestr | ) |
Creates a new Eina_Value containing the passed parameter.
[in] | timestr | The value to use |
References eina_value_new(), eina_value_set(), EINA_VALUE_TYPE_TIMESTAMP, and strptime().
Eina_Value * eldbus_message_to_eina_value | ( | const Eldbus_Message * | msg | ) |
Convert Eldbus_Message to Eina_Value.
msg | Message |
References EINA_SAFETY_ON_FALSE_RETURN_VAL, EINA_SAFETY_ON_NULL_RETURN_VAL, and eldbus_message_iter_get().
Eina_Value * eldbus_message_iter_struct_like_to_eina_value | ( | const Eldbus_Message_Iter * | iter | ) |
Convert Eldbus_Message_Iter of type variant, struct or dict entry to Eina_Value.
iter | Message iterator |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
Eina_Bool eldbus_message_from_eina_value | ( | const char * | signature, |
Eldbus_Message * | msg, | ||
const Eina_Value * | value | ||
) |
Convert Eina_Value to Eldbus_Message.
signature | dbus signature |
msg | where data will be put |
value | source of data, must be of type Eina_Value_Type_Struct |
References EINA_FALSE, EINA_SAFETY_ON_FALSE_RETURN_VAL, EINA_SAFETY_ON_NULL_RETURN_VAL, and eldbus_message_iter_get().