| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 |
<title>close_all_dbs</title> |
| 7 |
<link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 |
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 |
<link rel="start" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" /> |
| 10 |
<link rel="up" href="dbstl_global_functions.html" title="Chapter 1. Dbstl Global Public Functions" /> |
| 11 |
<link rel="prev" href="dbstl_global_functions.html" title="Chapter 1. Dbstl Global Public Functions" /> |
| 12 |
<link rel="next" href="stldbstl_global_functionsclose_db_env.html" title="close_db_env" /> |
| 13 |
</head> |
| 14 |
<body> |
| 15 |
<div xmlns="" class="navheader"> |
| 16 |
<div class="libver"> |
| 17 |
<p>Library Version 11.2.5.3</p> |
| 18 |
</div> |
| 19 |
<table width="100%" summary="Navigation header"> |
| 20 |
<tr> |
| 21 |
<th colspan="3" align="center">close_all_dbs</th> |
| 22 |
</tr> |
| 23 |
<tr> |
| 24 |
<td width="20%" align="left"><a accesskey="p" href="dbstl_global_functions.html">Prev</a> </td> |
| 25 |
<th width="60%" align="center">Chapter 1. |
| 26 |
Dbstl Global Public Functions </th> |
| 27 |
<td width="20%" align="right"> <a accesskey="n" href="stldbstl_global_functionsclose_db_env.html">Next</a></td> |
| 28 |
</tr> |
| 29 |
</table> |
| 30 |
<hr /> |
| 31 |
</div> |
| 32 |
<div class="sect1" lang="en" xml:lang="en"> |
| 33 |
<div class="titlepage"> |
| 34 |
<div> |
| 35 |
<div> |
| 36 |
<h2 class="title" style="clear: both"><a id="stldbstl_global_functionsclose_all_dbs"></a>close_all_dbs</h2> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
</div> |
| 40 |
<div class="sect2" lang="en" xml:lang="en"> |
| 41 |
<div class="titlepage"> |
| 42 |
<div> |
| 43 |
<div> |
| 44 |
<h3 class="title"><a id="stldbstl_global_functionsclose_all_dbs_details"></a>Function Details</h3> |
| 45 |
</div> |
| 46 |
</div> |
| 47 |
</div> |
| 48 |
<pre class="programlisting"> |
| 49 |
void close_all_dbs() |
| 50 |
</pre> |
| 51 |
<p>Close all open database handles regardless of reference count. </p> |
| 52 |
<p>You can't use any container after you called close_all_dbs and before setting another valid database handle to the container via <a class="link" href="stldb_containerset_db_handle.html" title="set_db_handle">db_container::set_db_handle()</a> |
| 53 |
function. </p> |
| 54 |
<div class="sect3" lang="en" xml:lang="en"> |
| 55 |
<div class="titlepage"> |
| 56 |
<div> |
| 57 |
<div> |
| 58 |
<h4 class="title"><a id="idp49897208"></a>See Also</h4> |
| 59 |
</div> |
| 60 |
</div> |
| 61 |
</div> |
| 62 |
<p> |
| 63 |
</p> |
| 64 |
<p><a class="link" href="dbstl_global_functions.html#stldbstl_global_functionsclose_db" title="close_db">close_db(Db *)</a> |
| 65 |
; </p> |
| 66 |
<p> |
| 67 |
</p> |
| 68 |
</div> |
| 69 |
</div> |
| 70 |
<div class="sect2" lang="en" xml:lang="en"> |
| 71 |
<div class="titlepage"> |
| 72 |
<div> |
| 73 |
<div> |
| 74 |
<h3 class="title"><a id="idp49853992"></a>Group: Functions to close database/environments.</h3> |
| 75 |
</div> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
<p>Normally you don't have to close any database or environment handles, they will be closed automatically.</p> |
| 79 |
<p>Though you still have the following API to close them. </p> |
| 80 |
</div> |
| 81 |
<div class="sect2" lang="en" xml:lang="en"> |
| 82 |
<div class="titlepage"> |
| 83 |
<div> |
| 84 |
<div> |
| 85 |
<h3 class="title"><a id="idp49886728"></a>Class</h3> |
| 86 |
</div> |
| 87 |
</div> |
| 88 |
</div> |
| 89 |
<p> |
| 90 |
<a class="link" href="dbstl_global_functions.html" title="Chapter 1. Dbstl Global Public Functions">dbstl_global_functions</a> |
| 91 |
</p> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
<div class="navfooter"> |
| 95 |
<hr /> |
| 96 |
<table width="100%" summary="Navigation footer"> |
| 97 |
<tr> |
| 98 |
<td width="40%" align="left"><a accesskey="p" href="dbstl_global_functions.html">Prev</a> </td> |
| 99 |
<td width="20%" align="center"> |
| 100 |
<a accesskey="u" href="dbstl_global_functions.html">Up</a> |
| 101 |
</td> |
| 102 |
<td width="40%" align="right"> <a accesskey="n" href="stldbstl_global_functionsclose_db_env.html">Next</a></td> |
| 103 |
</tr> |
| 104 |
<tr> |
| 105 |
<td width="40%" align="left" valign="top">Chapter 1. |
| 106 |
Dbstl Global Public Functions </td> |
| 107 |
<td width="20%" align="center"> |
| 108 |
<a accesskey="h" href="index.html">Home</a> |
| 109 |
</td> |
| 110 |
<td width="40%" align="right" valign="top"> close_db_env</td> |
| 111 |
</tr> |
| 112 |
</table> |
| 113 |
</div> |
| 114 |
</body> |
| 115 |
</html> |