Definitions for Astarte object data types.
More...
Definitions for Astarte object data types.
◆ astarte_object_entry_new()
Initialize an Astarte object entry.
- Parameters
-
| [in] | path | Path to store in the entry. |
| [in] | data | Data to store in the entry. |
- Returns
- The Astarte object entry created from the inputs.
◆ astarte_object_entry_to_path_and_data()
Convert an Astarte object entry to an Astarte data and path.
- Parameters
-
| [in] | entry | Input Astarte object entry. |
| [out] | path | Path extracted from the entry. |
| [out] | data | Data extracted from the entry. |
- Returns
- ASTARTE_RESULT_OK if the conversion was successful, an error otherwise.