• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs/ref/upgrade.4.5/
1<!--$Id: paniccall.so,v 1.4 2006/09/15 19:35:29 bostic Exp $-->
2<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
3<!--See the file LICENSE for redistribution information.-->
4<html>
5<head>
6<title>Berkeley DB Reference Guide: Release 4.5: DB_ENV-&gt;set_paniccall</title>
7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
9</head>
10<body bgcolor=white>
11<table width="100%"><tr valign=top>
12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td>
13<td align=right><a href="../upgrade.4.5/memp.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.5/pagesize.html"><img src="../../images/next.gif" alt="Next"></a>
14</td></tr></table>
15<p align=center><b>Release 4.5: DB_ENV-&gt;set_paniccall</b></p>
16<p>In previous Berkeley DB releases, the DB_ENV-&gt;set_paniccall and
17DB-&gt;set_paniccall methods were used to register a callback
18function, called if the database environment failed.  In the 4.5
19release, this functionality has been replaced by a general-purpose event
20notification callback function, set with the
21<a href="../../api_c/env_event_notify.html">DB_ENV-&gt;set_event_notify</a> method.  Applications should be updated to
22replace DB_ENV-&gt;set_paniccall and DB-&gt;set_paniccall calls with
23a call to <a href="../../api_c/env_event_notify.html">DB_ENV-&gt;set_event_notify</a>.  This also requires the
24callback function itself change, as the callback signatures are
25different.</p>
26<p>The DB_ENV-&gt;set_paniccall and DB-&gt;set_paniccall calls are
27expected to be removed in a future release of Berkeley DB.</p>
28<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.4.5/memp.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.5/pagesize.html"><img src="../../images/next.gif" alt="Next"></a>
29</td></tr></table>
30<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
31</body>
32</html>
33