|
Release 3.0: the DB_ENV structureThe DB_ENV structure is now opaque for applications in the Berkeley DB 3.0 release. Accesses to any fields within that structure by the application should be replaced with method calls. The following example illustrates this using the historic errpfx structure field. In the Berkeley DB 2.X releases, applications set error prefixes using code similar to the following: DB_ENV *dbenv; in the Berkeley DB 3.X releases, this should be done using the DB_ENV->set_errpfx method, as follows: DB_ENV *dbenv; The following table lists the DB_ENV fields previously used by applications and the methods that should now be used to set them.
|