Get length of key
#include <cdb.h>
unsigned int cdb_keylen(struct cdb *c);
cdb_keylen returns the length of the key cdb_firstkey or cdb_nextkey found.
Use cdb_keypos to get the position of the key.
cdb_keypos(3), cdb_datalen(3), cdb_datapos(3)