#include <db_cxx.h>

DbSite::get_config(u_int32_t which, u_int32_t *valuep);

The DbSite::get_config() method returns whether the specified which parameter is currently set. See the DbSite::set_config() method for the configuration flags that can be set for a DbSite handle.

The DbSite::get_config() method may be called at any time during the life of the application.

The DbSite::get_config() 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 which parameter is the configuration flag to check. See the DbSite::set_config() method for a list of configuration flags that you can provide to this parameter.


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

If the returned value is zero, the parameter is off; otherwise it is on.



See Also

Replication and Related Methods, DbSite::set_config()