#include <db_cxx.h> int Db::get_dbname(const char **filenamep, const char **dbnamep);
The Db::get_dbname()
method returns the filename and database
name used by the Db handle.
The Db::get_dbname()
method either returns a non-zero error value or throws an
exception that encapsulates a non-zero error value on
failure, and returns 0 on success.
The filenamep parameter references memory into which a pointer to the current filename is copied.