提交 ff2b8e06 编写于 作者: H Hongze Cheng

refact

上级 5e95ab2e
......@@ -56,7 +56,13 @@ const tkv_obj_t *tkvGet(tkv_key_t *);
int tkvGetBatch(tkv_db_t *, tkv_key_t **, int, tkv_obj_t **);
int tkvDrop(tkv_db_t *, tkv_key_t *);
int tkvCommit(tkv_db_t *, void * /*TODO*/);
// TODO: iter function
typedef struct {
} tkv_db_iter_t;
tkv_db_iter_t * tkvIterNew(tkv_db_t *);
void tkvIterFree(tkv_db_iter_t *);
const tkv_obj_t *tkvIterNext(tkv_db_iter_t *);
#ifdef __cplusplus
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册