From 85d136e58a35c339ad70d6e619d0f66fd7982833 Mon Sep 17 00:00:00 2001 From: MikeTuev Date: Sun, 24 Apr 2022 01:28:42 +0500 Subject: [PATCH] reverse iterator --- inc/flashdb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/flashdb.h b/inc/flashdb.h index e64fd8f..6108f4e 100644 --- a/inc/flashdb.h +++ b/inc/flashdb.h @@ -60,6 +60,7 @@ bool fdb_kv_iterate (fdb_kvdb_t db, fdb_kv_iterator_t itr); /* Time series log API like a TSDB */ fdb_err_t fdb_tsl_append (fdb_tsdb_t db, fdb_blob_t blob); void fdb_tsl_iter (fdb_tsdb_t db, fdb_tsl_cb cb, void *cb_arg); +void fdb_tsl_iter_rev (fdb_tsdb_t db, fdb_tsl_cb cb, void *arg) void fdb_tsl_iter_by_time(fdb_tsdb_t db, fdb_time_t from, fdb_time_t to, fdb_tsl_cb cb, void *cb_arg); size_t fdb_tsl_query_count (fdb_tsdb_t db, fdb_time_t from, fdb_time_t to, fdb_tsl_status_t status); fdb_err_t fdb_tsl_set_status (fdb_tsdb_t db, fdb_tsl_t tsl, fdb_tsl_status_t status);