NAME

cat_freefiledb - close a reference to a cache file

SYNOPSIS

#include <cat/cat.h>

#include <cat/catutil.h>

int cat_freememdb(cat_filedb *db);

DESCRIPTION

This function closes file cache db. The backing file is unaffected. After this call, db should not be used again.

RETURN VALUES

The function returns 0 if successful, and a negative code on error.

SEE ALSO

cat, catutil

cat_newfiledb, cat_filedbfunc