summaryrefslogtreecommitdiff
path: root/docs/api_reference/C/dbt.html
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/api_reference/C/dbt.html
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'docs/api_reference/C/dbt.html')
-rw-r--r--docs/api_reference/C/dbt.html28
1 files changed, 26 insertions, 2 deletions
diff --git a/docs/api_reference/C/dbt.html b/docs/api_reference/C/dbt.html
index 877a8dc6..2e388e54 100644
--- a/docs/api_reference/C/dbt.html
+++ b/docs/api_reference/C/dbt.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -43,6 +43,7 @@
<pre class="programlisting">#include &lt;db.h&gt;
typedef struct {
+ void *app_data;
void *data;
u_int32_t size;
u_int32_t ulen;
@@ -108,6 +109,18 @@
<ul type="disc">
<li>
<p>
+ <span class="bold"><strong>void *app_data;</strong></span>
+ </p>
+ <p>
+ Optional field that can be used to pass information
+ through Berkeley DB API calls into user-defined
+ callback functions. For example, this field may be
+ accessed to pass user-defined content when implementing
+ the callback used by <a class="xref" href="dbset_dup_compare.html" title="DB-&gt;set_dup_compare()">DB-&gt;set_dup_compare()</a>.
+ </p>
+ </li>
+ <li>
+ <p>
<span class="bold"><strong>void *data;</strong></span>
</p>
<p>
@@ -177,7 +190,18 @@
one or more of the following values:
</p>
<span>
- <div class="itemizedlist"><ul type="circle"><li><p><a id="dbt_DB_DBT_MALLOC"></a>
+ <div class="itemizedlist"><ul type="circle"><li><p><a id="dbt_DB_DBT_BLOB"></a>
+ <code class="literal">DB_DBT_BLOB</code>
+ </p><p>
+ Set this flag on a DBT used for the data
+ portion of a record to indicate that the
+ DBT stores
+ <a class="link" href="blob.html" title="Chapter 13.  Binary Large Objects">BLOB data</a>.
+ If this flag is set, and if the database otherwise
+ supports BLOBs, then the data contained by this
+ DBT will be stored as a BLOB, regardless of
+ whether it exceeds the BLOB threshold in size.
+ </p></li><li><p><a id="dbt_DB_DBT_MALLOC"></a>
<code class="literal">DB_DBT_MALLOC</code>
</p><p>
When this flag is set, Berkeley DB will allocate memory