Library Version 11.2.5.3

DB_SITE->get_config()
Prev | Chapter 10. Replication Methods | Next

## DB_SITE->get_config()

    #include <db.h>

    int
    DB_SITE->get_config(DB_SITE *site, u_int32_t which,
                        u_int32_t *valuep);

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

The `DB_SITE->get_config()` method may be called at any time during the life of the application.

The `DB_SITE->get_config()` method returns a non-zero error value on failure and 0 on success.

### Parameters

#### which

The which parameter is the configuration flag to check. See the DB_SITE->set_config() method for a list of configuration flags that you can provide to this parameter.

#### valuep

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.

### Class

DB_SITE

### See Also

Replication and Related Methods, DB_SITE->set_config()

Prev | Up | Next
DB_SITE->close() | Home | DB_SITE->get_address()