head 1.4; access; symbols RPM_4_1:1.1.1.2 RPM_4_0_4:1.1.1.2 RPM_4_0_3:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.4 date 2003.08.24.12.43.09; author rse; state dead; branches; next 1.3; 1.3 date 2003.08.24.12.33.44; author rse; state Exp; branches; next 1.2; 1.2 date 2003.08.24.12.25.44; author rse; state dead; branches; next 1.1; 1.1 date 2001.07.23.20.45.36; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.07.23.20.45.36; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.01.08.00.30.08; author rse; state Exp; branches; next ; desc @@ 1.4 log @Resolve: RPM 4.1 -> RPM 4.1.1 @ text @ Berkeley DB: DB_ENV->log_unregister

DB_ENV->log_unregister

APIRef

#include <db.h>

int DB_ENV->log_unregister(DB_ENV *env, DB *dbp);

Description

The DB_ENV->log_unregister function function unregisters the file represented by the dbp parameter from the Berkeley DB environment's log manager.

The DB_ENV->log_unregister function returns a non-zero error value on failure and 0 on success.

Errors

The DB_ENV->log_unregister function may fail and return a non-zero error for the following conditions:

EINVAL
An invalid flag value or parameter was specified.

The DB_ENV->log_unregister function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the DB_ENV->log_unregister function may fail and return DB_RUNRECOVERY, in which case all subsequent Berkeley DB calls will fail in the same way.

See Also

DB_ENV->set_lg_bsize, DB_ENV->set_lg_dir, DB_ENV->set_lg_max, DB_ENV->set_lg_regionmax, DB_ENV->log_archive, log_compare, DB_ENV->log_cursor, DB_ENV->log_file, DB_ENV->log_flush, DB_ENV->log_put, DB_ENV->log_register, DB_ENV->log_stat, DB_ENV->log_unregister, DB_LOGC->close and DB_LOGC->get.

APIRef

Copyright Sleepycat Software @ 1.3 log @Resolve: RPM 4.0.5 -> RPM 4.1 @ text @@ 1.2 log @Resolve: RPM 4.0.4 -> RPM 4.0.5 @ text @d1 1 a1 1 d6 1 a6 1 Berkeley DB: log_unregister d14 1 a14 1

log_unregister

d25 1 a25 1 log_unregister(DB_ENV *env, DB *dbp); d28 1 a28 1

The log_unregister function function unregisters the file represented by d30 1 a30 1

The log_unregister function returns a non-zero error value on failure and 0 on success. d32 1 a32 1

The log_unregister function may fail and return a non-zero error for the following conditions: d36 2 a37 2

The log_unregister function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the log_unregister function may fail and return d45 1 a45 1 log_archive, d47 8 a54 6 log_file, log_flush, log_get, log_put, log_register, log_stat, d56 1 a56 1 log_unregister. @ 1.1 log @Initial revision @ text @d1 1 a1 1 @ 1.1.1.1 log @Import: RPM 4.0.3 @ text @@ 1.1.1.2 log @Import: RPM 4.0.4 @ text @d1 1 a1 1 d6 1 a6 1 Berkeley DB: DB_ENV->log_unregister d14 1 a14 1

DB_ENV->log_unregister

d25 1 a25 1 DB_ENV->log_unregister(DB_ENV *env, DB *dbp); d28 1 a28 1

The DB_ENV->log_unregister function function unregisters the file represented by d30 1 a30 1

The DB_ENV->log_unregister function returns a non-zero error value on failure and 0 on success. d32 1 a32 1

The DB_ENV->log_unregister function may fail and return a non-zero error for the following conditions: d36 2 a37 2

The DB_ENV->log_unregister function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions. If a catastrophic error has occurred, the DB_ENV->log_unregister function may fail and return d45 1 a45 1 DB_ENV->log_archive, d47 6 a52 8 DB_ENV->log_cursor, DB_ENV->log_file, DB_ENV->log_flush, DB_ENV->log_put, DB_ENV->log_register, DB_ENV->log_stat, DB_ENV->log_unregister, DB_LOGC->close d54 1 a54 1 DB_LOGC->get. @