11.12.3.4.8. Function iot_agent_datastore_free

11.12.3.4.8.1. Function Documentation

iot_agent_status_t iot_agent_datastore_free(iot_agent_datastore_t *datastore)

Destroy the datastore.

Depending on the type of the datastore this is triggering actions on the datastore’s context itself by calling the _destroy() function of the datastore interface.

This does not free the context of the datastore.

The datastore is not usable after a call to iot_agent_datastore_free.