Library Version 18.1.40

DB_ENV->rep_get_limit()
Prev | Chapter 10. Replication Methods | Next

## DB_ENV->rep_get_limit()

    #include <db.h>

    int
    DB_ENV->rep_get_limit(DB_ENV *env, u_int32_t *gbytesp,
        u_int32_t *bytesp);

The `DB_ENV->rep_get_limit()` method returns the byte-count limit on the amount of data that will be transmitted from a site in response to a single message processed by the DB_ENV->rep_process_message() method. This value is configurable using the DB_ENV->rep_set_limit() method.

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

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

### Parameters

#### gbytesp

The gbytesp parameter references memory into which the gigabytes component of the current transmission limit is copied.

#### bytesp

The bytesp parameter references memory into which the bytes component of the current transmission limit is copied.

### Class

DB_ENV

### See Also

Replication and Related Methods, DB_ENV->rep_set_limit()

Prev | Up | Next
DB_ENV->rep_get_config() | Home | DB_ENV->rep_get_nsites()