Find next physical record in constant database
#include <cdb.h>
#include <uint32.h>
int cdb_nextkey(struct cdb *c,uint32 *kpos);
cdb_nextkey finds the next physical record in the constant database.
You can use cdb_datapos or cdb_keypos to get position and cdb_datalen and cdb_keylen to get len.