#include <db.h> int DB_ENV->rep_get_config(DB_ENV *env, u_int32_t which, int *onoffp);
         The DB_ENV->rep_get_config() method returns whether the specified
         which parameter is currently set or not.
         See the DB_ENV->rep_set_config() method for the
         configuration flags that can be set for replication.
    
         The DB_ENV->rep_get_config() method may be called at any time during
         the life of the application.
    
         The DB_ENV->rep_get_config() 
            
                  method returns a non-zero error value on failure and 0 on success.
            
            
        
    
The which parameter is the configuration flag which is being checked. See the DB_ENV->rep_set_config() method for a list of configuration flags that you can provide to this parameter.