Commit a3d34380 authored by -urso-'s avatar -urso-

updated bdb docs (txn, db-env, db, cursor now represented by classes)

darcs-hash:8d63cd9e6aacff336c532c970ad0d7f4caf5f1ca
parent 0adc32b9
This diff is collapsed.
......@@ -44,13 +44,17 @@
:components
<span class="paren">(</span><span class="paren">(</span>:module :src
:components <span class="paren">(</span><span class="paren">(</span>:file &quot;package&quot;<span class="paren">)</span>
<span class="paren">(</span>:file &quot;classes&quot;
:depends-on <span class="paren">(</span>&quot;package&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;config&quot;
:depends-on <span class="paren">(</span>&quot;package&quot;
&quot;aux-bindings&quot;<span class="paren">)</span><span class="paren">)</span>
&quot;aux-bindings&quot;
&quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;consts&quot;
:depends-on <span class="paren">(</span>&quot;package&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;aux-bindings&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;<span class="paren">)</span><span class="paren">)</span>
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;bdb&quot;
:depends-on <span class="paren">(</span>&quot;package&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;util&quot;
......@@ -58,26 +62,26 @@
<span class="paren">(</span>:file &quot;db&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;aux-bindings&quot; &quot;bdb&quot; &quot;util&quot;
&quot;config&quot;<span class="paren">)</span><span class="paren">)</span>
&quot;config&quot; &quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;cursor&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;aux-bindings&quot;
&quot;consts&quot;
&quot;db&quot; &quot;util&quot;<span class="paren">)</span><span class="paren">)</span>
&quot;db&quot; &quot;util&quot; &quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;db-env&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;aux-bindings&quot;<span class="paren">)</span><span class="paren">)</span>
&quot;aux-bindings&quot; &quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;txn&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;aux-bindings&quot;<span class="paren">)</span><span class="paren">)</span>
&quot;aux-bindings&quot; &quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;locks&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;aux-bindings&quot;<span class="paren">)</span><span class="paren">)</span>
&quot;aux-bindings&quot; &quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;log&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;aux-bindings&quot;<span class="paren">)</span><span class="paren">)</span>
&quot;aux-bindings&quot; &quot;classes&quot;<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>:file &quot;secondary&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;aux-bindings&quot;<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span><span class="paren">)</span><span class="paren">)</span>
&quot;aux-bindings&quot; &quot;classes&quot;<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span><span class="paren">)</span><span class="paren">)</span>
:depends-on <span class="paren">(</span>:cffi-util<span class="paren">)</span><span class="paren">)</span></span></pre
>
......
......@@ -25,57 +25,57 @@
>toc</a
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-ENV-MAX-LOCKERS.html" name="function_005FBDB_003A_003ADB-ENV-MAX-LOCKERS"
>Function DB-ENV-MAX-LOCKERS</a
><a href="api/method_005FBDB_003A_003A_0028DB-ENV-MAX-LOCKERS_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028DB-ENV-MAX-LOCKERS_0020DB-ENV_0029"
>Method (DB-ENV-MAX-LOCKERS DB-ENV)</a
> </p
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003A_0028SETF_0020DB-ENV-MAX-LOCKERS_0029.html" name="function_005FBDB_003A_003A_0028SETF_0020DB-ENV-MAX-LOCKERS_0029"
>Function (SETF DB-ENV-MAX-LOCKERS)</a
><a href="api/method_005FBDB_003A_003A_0028_0028SETF_0020DB-ENV-MAX-LOCKERS_0029_0020T_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028_0028SETF_0020DB-ENV-MAX-LOCKERS_0029_0020T_0020DB-ENV_0029"
>Method ((SETF DB-ENV-MAX-LOCKERS) T DB-ENV)</a
> </p
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-ENV-MAX-LOCKS.html" name="function_005FBDB_003A_003ADB-ENV-MAX-LOCKS"
>Function DB-ENV-MAX-LOCKS</a
><a href="api/method_005FBDB_003A_003A_0028DB-ENV-MAX-LOCKS_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028DB-ENV-MAX-LOCKS_0020DB-ENV_0029"
>Method (DB-ENV-MAX-LOCKS DB-ENV)</a
> </p
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003A_0028SETF_0020DB-ENV-MAX-LOCKS_0029.html" name="function_005FBDB_003A_003A_0028SETF_0020DB-ENV-MAX-LOCKS_0029"
>Function (SETF DB-ENV-MAX-LOCKS)</a
><a href="api/method_005FBDB_003A_003A_0028_0028SETF_0020DB-ENV-MAX-LOCKS_0029_0020T_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028_0028SETF_0020DB-ENV-MAX-LOCKS_0029_0020T_0020DB-ENV_0029"
>Method ((SETF DB-ENV-MAX-LOCKS) T DB-ENV)</a
> </p
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-ENV-MAX-LK-OBJECTS.html" name="function_005FBDB_003A_003ADB-ENV-MAX-LK-OBJECTS"
>Function DB-ENV-MAX-LK-OBJECTS</a
><a href="api/method_005FBDB_003A_003A_0028DB-ENV-MAX-LK-OBJECTS_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028DB-ENV-MAX-LK-OBJECTS_0020DB-ENV_0029"
>Method (DB-ENV-MAX-LK-OBJECTS DB-ENV)</a
> </p
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003A_0028SETF_0020DB-ENV-MAX-LK-OBJECTS_0029.html" name="function_005FBDB_003A_003A_0028SETF_0020DB-ENV-MAX-LK-OBJECTS_0029"
>Function (SETF DB-ENV-MAX-LK-OBJECTS)</a
><a href="api/method_005FBDB_003A_003A_0028_0028SETF_0020DB-ENV-MAX-LK-OBJECTS_0029_0020T_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028_0028SETF_0020DB-ENV-MAX-LK-OBJECTS_0029_0020T_0020DB-ENV_0029"
>Method ((SETF DB-ENV-MAX-LK-OBJECTS) T DB-ENV)</a
> </p
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_set_lk_detect&quot; db-env-set-lk-detect<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_set_lk_detect&quot; db-env-set-lk-detect<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>detect :flag <span class="paren">(</span>:default :expire
:max-locks :max-write
:min-locks :min-write
......@@ -83,17 +83,17 @@
:youngest<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-ENV-GET-LK-DETECT.html" name="function_005FBDB_003A_003ADB-ENV-GET-LK-DETECT"
>Function DB-ENV-GET-LK-DETECT</a
><a href="api/method_005FBDB_003A_003A_0028DB-ENV-GET-LK-DETECT_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028DB-ENV-GET-LK-DETECT_0020DB-ENV_0029"
>Method (DB-ENV-GET-LK-DETECT DB-ENV)</a
> </p
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_lock_detect&quot; db-env-lock-detect<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>env :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_lock_detect&quot; db-env-lock-detect<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>env :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span>
<span class="paren">(</span>atype :flag <span class="paren">(</span>:default :expire
:max-locks :max-write
......
......@@ -25,23 +25,23 @@
>toc</a
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_cursor&quot; db-cursor<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>txn :pointer :key<span class="paren">)</span>
<span class="paren">(</span>cursorp :out :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :flag <span class="paren">(</span>:write<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/method_005FBDB_003A_003A_0028DB-CURSOR_0020DB_0029.html" name="method_005FBDB_003A_003A_0028DB-CURSOR_0020DB_0029"
>Method (DB-CURSOR DB)</a
> </p
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_cursor_close&quot; db-cursor-close<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_cursor_close&quot; db-cursor-close<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer :class <span class="paren">(</span>cursor cursor-handle<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-CURSOR-GET.html" name="function_005FBDB_003A_003ADB-CURSOR-GET"
>Function DB-CURSOR-GET</a
><a href="api/method_005FBDB_003A_003A_0028DB-CURSOR-GET_0020CURSOR_0029.html" name="method_005FBDB_003A_003A_0028DB-CURSOR-GET_0020CURSOR_0029"
>Method (DB-CURSOR-GET CURSOR)</a
> </p
></div
>
......@@ -54,10 +54,10 @@
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-CURSOR-PUT.html" name="function_005FBDB_003A_003ADB-CURSOR-PUT"
>Function DB-CURSOR-PUT</a
><a href="api/method_005FBDB_003A_003A_0028DB-CURSOR-PUT_0020CURSOR_0020T_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-CURSOR-PUT_0020CURSOR_0020T_0020T_0029"
>Method (DB-CURSOR-PUT CURSOR T T)</a
> </p
></div
>
......@@ -71,21 +71,21 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_cursor_del&quot; db-cursor-del<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_cursor_del&quot; db-cursor-del<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer :class <span class="paren">(</span>cursor cursor-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_cursor_count&quot; db-cursor-count<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_cursor_count&quot; db-cursor-count<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer :class <span class="paren">(</span>cursor cursor-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>count :out :uint32<span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_cursor_dup&quot; db-cursor-dup<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_cursor_dup&quot; db-cursor-dup<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer :class <span class="paren">(</span>cursor cursor-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>dup_cursor :out :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :flag <span class="paren">(</span>:position<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre
>
......
......@@ -34,34 +34,34 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_close&quot; db-env-close<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db-env :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_close&quot; db-env-close<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db-env :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_get_home&quot; db-env-get-home<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>env :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_get_home&quot; db-env-get-home<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>env :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>homep :out :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-ENV-OPEN-FLAGS.html" name="function_005FBDB_003A_003ADB-ENV-OPEN-FLAGS"
>Function DB-ENV-OPEN-FLAGS</a
><a href="api/method_005FBDB_003A_003A_0028DB-ENV-OPEN-FLAGS_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028DB-ENV-OPEN-FLAGS_0020DB-ENV_0029"
>Method (DB-ENV-OPEN-FLAGS DB-ENV)</a
> </p
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_set_tmp_dir&quot; db-env-set-tmp-dir<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_set_tmp_dir&quot; db-env-set-tmp-dir<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>dir :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_get_tmp_dir&quot; db-env-get-tmp-dir<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_get_tmp_dir&quot; db-env-get-tmp-dir<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>dir :out :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
......
......@@ -37,33 +37,33 @@
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-OPEN-FLAGS.html" name="function_005FBDB_003A_003ADB-OPEN-FLAGS"
>Function DB-OPEN-FLAGS</a
><a href="api/method_005FBDB_003A_003A_0028DB-OPEN-FLAGS_0020DB_0029.html" name="method_005FBDB_003A_003A_0028DB-OPEN-FLAGS_0020DB_0029"
>Method (DB-OPEN-FLAGS DB)</a
> </p
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_close&quot; db-close<span class="paren">)</span> :error-int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_close&quot; db-close<span class="paren">)</span> :error-int</span><span class"body">
<span class="paren">(</span>db :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>flags :flag <span class="paren">(</span>:no-sync<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_get_dbname&quot; db-dbname<span class="paren">)</span> :error-int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_get_dbname&quot; db-dbname<span class="paren">)</span> :error-int</span><span class"body">
<span class="paren">(</span>db :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>filenamemap :out :string<span class="paren">)</span>
<span class="paren">(</span>dbnamep :out :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-PUT.html" name="function_005FBDB_003A_003ADB-PUT"
>Function DB-PUT</a
><a href="api/method_005FBDB_003A_003A_0028DB-PUT_0020DB_0020T_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-PUT_0020DB_0020T_0020T_0029"
>Method (DB-PUT DB T T)</a
> </p
></div
>
......@@ -76,10 +76,10 @@
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-GET.html" name="function_005FBDB_003A_003ADB-GET"
>Function DB-GET</a
><a href="api/method_005FBDB_003A_003A_0028DB-GET_0020DB_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-GET_0020DB_0020T_0029"
>Method (DB-GET DB T)</a
> </p
></div
>
......@@ -93,26 +93,26 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_remove&quot; db-remove<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_remove&quot; db-remove<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>dbfile :string<span class="paren">)</span>
<span class="paren">(</span>dbname :string<span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_rename&quot; db-rename<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_rename&quot; db-rename<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>dbfile :string<span class="paren">)</span>
<span class="paren">(</span>dbname :string<span class="paren">)</span>
<span class="paren">(</span>newname :string<span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-DEL.html" name="function_005FBDB_003A_003ADB-DEL"
>Function DB-DEL</a
><a href="api/method_005FBDB_003A_003A_0028DB-DEL_0020DB_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-DEL_0020DB_0020T_0029"
>Method (DB-DEL DB T)</a
> </p
></div
>
......@@ -126,16 +126,16 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_truncate&quot; db-truncate<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_truncate&quot; db-truncate<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>txn :pointer :key<span class="paren">)</span>
<span class="paren">(</span>countp :out :uint32<span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_sync&quot; db-sync<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_sync&quot; db-sync<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
>
......
......@@ -26,38 +26,38 @@
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_set_lg_max&quot; db-env-set-lg-max<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_set_lg_max&quot; db-env-set-lg-max<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>max :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_get_lg_max&quot; db-env-get-lg-max<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_get_lg_max&quot; db-env-get-lg-max<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>max :out :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_set_lg_regionmax&quot; db-env-set-lg-regionmax<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_set_lg_regionmax&quot; db-env-set-lg-regionmax<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>max :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_get_lg_regionmax&quot; db-env-get-lg-regionmax<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_get_lg_regionmax&quot; db-env-get-lg-regionmax<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>max :out :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_set_lg_bsize&quot; db-env-set-lg-bsize<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_set_lg_bsize&quot; db-env-set-lg-bsize<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>bsize :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_get_lg_bsize&quot; db-env-get-lg-bsize<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_env_get_lg_bsize&quot; db-env-get-lg-bsize<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>bsize :out :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
>
......
<html
><head
><title
>Berkley DB CFFI-Bindings</title
><link href="style.css" rel="stylesheet"
/><link title="Print" href="print.css" rel="alternate stylesheet"
/></head
><body
><div class="qbook"
><h1 class="title"
>Berkley DB CFFI-Bindings</h1
><div class="contents"
><h2
><a name="Not_0020yet_0020supported_002Fimplemented_0020Bindings"
>Not yet supported/implemented Bindings</a
>&nbsp;</h2
><div class="nav-links"
><a class="nav-link" href="Development_0020files_002FTrash_0020_0028Or_0020what_0027s_0020not_0020implemented_0020yet_0029.html"
>prev</a
> | <span class="dead-nav-link"
>up</span
> | <a href="Not_0020yet_0020supported_002Fimplemented_0020Constants_002FFlags.html"
>next</a
> | <a href="index.html"
>toc</a
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_get_transactional&quot; db_get_transactional<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_pget&quot; db_pget<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>txn :pointer<span class="paren">)</span>
<span class="paren">(</span>key :pointer<span class="paren">)</span>
<span class="paren">(</span>pkey :pointer<span class="paren">)</span>
<span class="paren">(</span>data :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_cursor_pget&quot; db_cursor_pget<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>cursor :pointer<span class="paren">)</span>
<span class="paren">(</span>key :pointer<span class="paren">)</span>
<span class="paren">(</span>pkey :pointer<span class="paren">)</span>
<span class="paren">(</span>data :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_set_errcall&quot; db_set_errcall<span class="paren">)</span> :void</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>db_errcall_fcn :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun &quot;db_set_errpfx&quot; :void</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>errpfx :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun* <span class="paren">(</span>&quot;db_get_errpfx&quot; db-get-errpfx<span class="paren">)</span> :void</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>errpfx :out :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_env_set_errcall&quot; db_env_set_errcall<span class="paren">)</span> :void</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>db_errcall_fcn :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun &quot;db_env_set_errpfx&quot; :void</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>errpfx :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_get_errpfx&quot; db-env-get-errpfx<span class="paren">)</span> :void</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>errpfx :out :string<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_env_txn_recover&quot; db_env_txn_recover<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
<span class="paren">(</span>preplist :pointer<span class="paren">)</span>
<span class="paren">(</span>count :long<span class="paren">)</span>
<span class="paren">(</span>ret :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_env_log_archive&quot; db_env_log_archive<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
<span class="paren">(</span>listp :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun <span class="paren">(</span>&quot;db_env_log_flush&quot; db_env_log_flush<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>dbenv :pointer<span class="paren">)</span>
<span class="paren">(</span>lsn :pointer<span class="paren">)</span><span class="paren">)</span></span></pre
>
</div
></div
></body
></html
>
\ No newline at end of file
......@@ -153,6 +153,14 @@
></div
>
<div class="computational-element-link computational-element-link-macro"
><p
><a href="api/macro_005FBDB_003A_003ADEFMETHOD_002B.html" name="macro_005FBDB_003A_003ADEFMETHOD_002B"
>Macro DEFMETHOD+</a
> </p
></div
>
</div
></div
></body
......
......@@ -27,10 +27,10 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_associate&quot; %db-associate<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>primary :pointer<span class="paren">)</span>
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_associate&quot; %db-associate<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>primary :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>txn :pointer<span class="paren">)</span>
<span class="paren">(</span>secondary :pointer<span class="paren">)</span>
<span class="paren">(</span>secondary :pointer :class <span class="paren">(</span>db db-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>callback :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :flag <span class="paren">(</span>:create<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre
>
......@@ -68,19 +68,19 @@
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-ASSOCIATE.html" name="function_005FBDB_003A_003ADB-ASSOCIATE"
>Function DB-ASSOCIATE</a
><a href="api/method_005FBDB_003A_003A_0028DB-ASSOCIATE_0020DB_0020DB_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-ASSOCIATE_0020DB_0020DB_0020T_0029"
>Method (DB-ASSOCIATE DB DB T)</a
> </p
></div
>
<div class="computational-element-link computational-element-link-function"
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/function_005FBDB_003A_003ADB-JOIN.html" name="function_005FBDB_003A_003ADB-JOIN"
>Function DB-JOIN</a
><a href="api/method_005FBDB_003A_003A_0028DB-JOIN_0020DB_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-JOIN_0020DB_0020T_0029"
>Method (DB-JOIN DB T)</a
> </p
></div
>
......
......@@ -25,71 +25,69 @@
>toc</a
></div
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_txn_begin&quot; db-env-txn-begin<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>env :pointer<span class="paren">)</span>
<span class="paren">(</span>parent :pointer :key<span class="paren">)</span>
<span class="paren">(</span>tid :out :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :flag <span class="paren">(</span>:no-sync
:not-durable
:no-wait
:sync<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre
<div class="computational-element-link computational-element-link-method"
><p
><a href="api/method_005FBDB_003A_003A_0028DB-ENV-TXN-BEGIN_0020DB-ENV_0029.html" name="method_005FBDB_003A_003A_0028DB-ENV-TXN-BEGIN_0020DB-ENV_0029"
>Method (DB-ENV-TXN-BEGIN DB-ENV)</a
> </p