Berkeley DB Reference Version 5.3.33

DB_ENV->get_verbose()

#include <db.h>

int
DB_ENV->get_verbose(DB_ENV *dbenv, u_int32_t which, int *onoffp);  

The DB_ENV->get_verbose() method returns whether the specified which parameter is currently set or not. These parameters are set using the DB_ENV->set_verbose() method.

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

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

Parameters

which

The which parameter is the message value for which configuration is being checked. Must be set to one of the following values:

onoffp

The onoffp parameter references memory into which the configuration of the specified which parameter is copied.

Class

DB_ENV

See Also

Database Environments and Related Methods