*
* @param buf buffer that written data was read from.
* @param len number of bytes actually written (valid even in case of error)
+ * @param records_lost TRUE if this append destroyed some old records from
+ * the beginning of the log (only possible for circular logs).
* @param error SUCCESS if append was possible, ESIZE if the (linear) log
* is full and FAIL for other errors.
*/
- event void appendDone(void* buf, storage_len_t len, error_t error);
+ event void appendDone(void* buf, storage_len_t len, bool recordsLost,
+ error_t error);
/**
* Return a "cookie" representing the current append offset within the