DB_ENV->set_rep_limit |
#include <db.h>int DB_ENV->set_rep_limit(DB_ENV *env, u_int32_t gbytes, u_int32_t bytes);
int DB_ENV->get_rep_limit(DB_ENV *dbenv, u_int32_t *gbytesp, u_int32_t *bytesp);
The DB_ENV->set_rep_limit method imposes a byte-count limit on the amount of data that will be transmitted from a site in a single call to DB_ENV->rep_process_message method.
The DB_ENV->set_rep_limit method configures a database environment, not only operations performed using the specified DB_ENV handle.
The DB_ENV->set_rep_limit method may not be called before the DB_ENV->open method has been called.
The DB_ENV->set_rep_limit method returns a non-zero error value on failure and 0 on success.
The DB_ENV->get_rep_limit method may be called at any time during the life of the application.
The DB_ENV->get_rep_limit method returns a non-zero error value on failure and 0 on success.
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.