Hello,
We are trying to integrate your btree2v into our project. We want to use the insert and read APIs, but we are not sure what values to pass to these functions:
extern uid bt_findkey (BtDb *bt, unsigned char *key, uint len);
extern BTERR bt_insertkey (BtDb *bt, unsigned char *key, uint len, uint lvl, uid id, uint tod);
As a user of the b-tree, we know the key and value but we are unsure as to how to use this API.
Your help would be much appreciated.