FFI wrapper to Kyoto Cabinet's C API.