Function anjay_est_state_is_ready_for_persistence

Function Documentation

bool anjay_est_state_is_ready_for_persistence(anjay_t *anjay)

Checks whether the EST state is appropriate for persisting it.

Returns true if, and only if, an EST operation is not currently in progress and the state has been modified since last successful call to anjay_est_state_persist or anjay_est_state_restore .