DB_ENV->get_data_dirs()

#include <db.h>

int
DB_ENV->get_data_dirs(DB_ENV *dbenv, const char ***dirpp);  

The DB_ENV->get_data_dirs() method returns the NULL-terminated array of directories.

The DB_ENV->get_data_dirs() method may be called at any time during the life of the application.

The DB_ENV->get_data_dirs() method returns a non-zero error value on failure and 0 on success.

Parameters

dirpp

The DB_ENV->get_data_dirs() method returns a reference to the NULL-terminated array of directories in dirpp.

Class

DB_ENV

See Also

Database Environments and Related Methods