| 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>The DB_SITE Handle</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 API Reference" /> |
| 10 | <link rel="up" href="rep.html" title="Chapter 10. Replication Methods" /> |
| 11 | <link rel="prev" href="rep.html" title="Chapter 10. Replication Methods" /> |
| 12 | <link rel="next" href="dbchannel_close.html" title="DB_CHANNEL->close()" /> |
| 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">The DB_SITE Handle</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="rep.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 10. |
| 26 | Replication Methods |
| 27 | </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="dbchannel_close.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="sect1" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title" style="clear: both"><a id="db_site"></a>The DB_SITE Handle</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <p> |
| 42 | The DB_SITE handle is used by Replication Manager |
| 43 | applications to manage and configure replication sites. You |
| 44 | create a DB_SITE handle using the |
| 45 | <a class="xref" href="repmgr_site.html" title="DB_ENV->repmgr_site()">DB_ENV->repmgr_site()</a>, |
| 46 | <a class="xref" href="repmgr_site_by_eid.html" title="DB_ENV->repmgr_site_by_eid()">DB_ENV->repmgr_site_by_eid()</a>, |
| 47 | or |
| 48 | <a class="xref" href="repmgr_local_site.html" title="DB_ENV->repmgr_local_site()">DB_ENV->repmgr_local_site()</a>, |
| 49 | methods. All DB_SITE handles must be closed before |
| 50 | closing DB_ENV handles. Use the |
| 51 | <a class="xref" href="dbsite_close.html" title="DB_SITE->close()">DB_SITE->close()</a> |
| 52 | method to close a DB_SITE handle. |
| 53 | </p> |
| 54 | </div> |
| 55 | <div class="navfooter"> |
| 56 | <hr /> |
| 57 | <table width="100%" summary="Navigation footer"> |
| 58 | <tr> |
| 59 | <td width="40%" align="left"><a accesskey="p" href="rep.html">Prev</a> </td> |
| 60 | <td width="20%" align="center"> |
| 61 | <a accesskey="u" href="rep.html">Up</a> |
| 62 | </td> |
| 63 | <td width="40%" align="right"> <a accesskey="n" href="dbchannel_close.html">Next</a></td> |
| 64 | </tr> |
| 65 | <tr> |
| 66 | <td width="40%" align="left" valign="top">Chapter 10. |
| 67 | Replication Methods |
| 68 | </td> |
| 69 | <td width="20%" align="center"> |
| 70 | <a accesskey="h" href="index.html">Home</a> |
| 71 | </td> |
| 72 | <td width="40%" align="right" valign="top"> DB_CHANNEL->close()</td> |
| 73 | </tr> |
| 74 | </table> |
| 75 | </div> |
| 76 | </body> |
| 77 | </html> |