#include <db_cxx.h> int DbEnv::rep_get_config(u_int32_t which, int *onoffp);
The DbEnv::rep_get_config()
method returns whether the specified
which parameter is currently set or not.
See the
DbEnv::rep_set_config()
method for the
configuration flags that can be set for replication.
The DbEnv::rep_get_config()
method may be called at any time during
the life of the application.
The DbEnv::rep_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 which is being checked. See the DbEnv::rep_set_config() method for a list of configuration flags that you can provide to this parameter.