cat_freefiledb - close a reference to a cache file
#include <cat/cat.h>
#include <cat/catutil.h>
int cat_freememdb(cat_filedb *db);
This function closes file cache db. The backing file is unaffected. After this call, db should not be used again.
The function returns 0 if successful, and a negative code on error.
cat, catutil
cat_newfiledb, cat_filedbfunc