In the public API in forestdb.h
, please add the const
qualifier to function parameters that take pointers but do not modify the memory pointed to. For example,
fdb_status fdb_open(fdb_handle *handle, char *filename, fdb_config *config);
should be
fdb_status fdb_open(fdb_handle *handle, const char *filename, const fdb_config *config);