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>Preface</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="index.html" title="Berkeley DB C API Reference" /> 11 <link rel="prev" href="index.html" title="Berkeley DB C API Reference" /> 12 <link rel="next" href="introduction.html" title="Chapter��1.��Introduction to Berkeley DB APIs" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">Preface</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td> 22 <th width="60%" align="center">��</th> 23 <td width="20%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td> 24 </tr> 25 </table> 26 <hr /> 27 </div> 28 <div class="preface" lang="en" xml:lang="en"> 29 <div class="titlepage"> 30 <div> 31 <div> 32 <h2 class="title"><a id="preface"></a>Preface</h2> 33 </div> 34 </div> 35 </div> 36 <p> 37 Welcome to Berkeley DB (DB). This document describes the 38 <span>C</span> 39 40 API for DB, version 4.8. It is intended to describe the DB API, including all 41 classes, methods, and functions. As such, this document is 42 intended for 43 <span>C</span> developers who are actively writing or maintaining 44 applications that make use of DB databases. 45 </p> 46 <h2><a id="conventions"></a>Conventions Used in this Book</h2> 47 <p> 48 The following typographical conventions are used within in this manual: 49 </p> 50 <p> 51 Structure names are represented in <code class="classname">monospaced font</code>, as are 52 <code class="methodname">method names</code>. For example: 53 "<code class="methodname">DB->open()</code> is a method 54 on a <code class="classname">DB</code> handle." 55 </p> 56 <p> 57 Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: 58 "Go to your <span class="emphasis"><em>DB_INSTALL</em></span> directory." 59 </p> 60 <p> 61 Program examples are displayed in a <code class="classname">monospaced font</code> on a shaded background. 62 For example: 63 </p> 64 <pre class="programlisting">/* File: gettingstarted_common.h */ 65typedef struct stock_dbs { 66 DB *inventory_dbp; /* Database containing inventory information */ 67 DB *vendor_dbp; /* Database containing vendor information */ 68 69 char *db_home_dir; /* Directory containing the database files */ 70 char *inventory_db_name; /* Name of the inventory database */ 71 char *vendor_db_name; /* Name of the vendor database */ 72} STOCK_DBS; </pre> 73 <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> 74 <h3 class="title">Note</h3> 75 <p> 76 Finally, notes of interest are represented using a note block such 77 as this. 78 </p> 79 </div> 80 <h2><a id="moreinfo"></a>For More Information</h2> 81 <p> 82 Beyond this manual, you may also find the following sources of information useful when building a 83 DB application: 84 </p> 85 <div class="itemizedlist"> 86 <ul type="disc"> 87 <li> 88 <p> 89 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/C/index.html" target="_top"> 90 Getting Started with Berkeley DB for C 91 </a> 92 93 </p> 94 </li> 95 <li> 96 <p> 97 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/C/index.html" target="_top"> 98 Getting Started with Transaction Processing for C 99 </a> 100 101 </p> 102 </li> 103 <li> 104 <p> 105 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_db_rep/C/index.html" target="_top"> 106 Berkeley DB Getting Started with Replicated Applications for C 107 </a> 108 109 </p> 110 </li> 111 <li> 112 <p> 113 114 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/CXX/frame_main.html" target="_top"> 115 Berkeley DB C++ API 116 </a> 117 </p> 118 </li> 119 <li> 120 <p> 121 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/STL/frame_main.html" target="_top"> 122 Berkeley DB STL API 123 </a> 124 </p> 125 </li> 126 <li> 127 <p> 128 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/TCL/frame_main.html" target="_top"> 129 Berkeley DB TCL API 130 </a> 131 </p> 132 </li> 133 <li> 134 <p> 135 <a class="ulink" href="http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/index.html" target="_top"> 136 Berkeley DB Programmer's Reference Guide 137 </a> 138 </p> 139 </li> 140 </ul> 141 </div> 142 </div> 143 <div class="navfooter"> 144 <hr /> 145 <table width="100%" summary="Navigation footer"> 146 <tr> 147 <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td> 148 <td width="20%" align="center">��</td> 149 <td width="40%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td> 150 </tr> 151 <tr> 152 <td width="40%" align="left" valign="top">Berkeley DB C API Reference��</td> 153 <td width="20%" align="center"> 154 <a accesskey="h" href="index.html">Home</a> 155 </td> 156 <td width="40%" align="right" valign="top">��Chapter��1.��Introduction to Berkeley DB APIs</td> 157 </tr> 158 </table> 159 </div> 160 </body> 161</html> 162