#include <db.h> int DB_ENV->rep_get_timeout(DB_ENV *env, int which, u_int32_t *timeoutp);
The DB_ENV->rep_get_timeout()
method returns the timeout value for
the specified which parameter. Timeout values can be
managed using the
DB_ENV->rep_set_timeout()
method.
The DB_ENV->rep_get_timeout()
method may be called at any time during
the life of the application.
The DB_ENV->rep_get_timeout()
method returns a non-zero error value on failure and 0 on success.
The which parameter is the timeout for which the value is being returned. See the DB_ENV->rep_set_timeout() method for a list of timeouts that you can provide to this parameter.
The DB_ENV->rep_get_timeout()
method may fail and return one of the following non-zero errors: