C++/C integration functions for levelDB to simplify its operation.