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 @@ ...@@ -44,13 +44,17 @@
:components :components
<span class="paren">(</span><span class="paren">(</span>:module :src <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> :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; <span class="paren">(</span>:file &quot;config&quot;
:depends-on <span class="paren">(</span>&quot;package&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; <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> :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; <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; <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> :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; <span class="paren">(</span>:file &quot;util&quot;
...@@ -58,26 +62,26 @@ ...@@ -58,26 +62,26 @@
<span class="paren">(</span>:file &quot;db&quot; <span class="paren">(</span>:file &quot;db&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot; :depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&quot;
&quot;aux-bindings&quot; &quot;bdb&quot; &quot;util&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; <span class="paren">(</span>:file &quot;cursor&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;aux-bindings&quot; :depends-on <span class="paren">(</span>&quot;package&quot; &quot;aux-bindings&quot;
&quot;consts&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; <span class="paren">(</span>:file &quot;db-env&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&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; <span class="paren">(</span>:file &quot;txn&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&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; <span class="paren">(</span>:file &quot;locks&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&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; <span class="paren">(</span>:file &quot;log&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&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; <span class="paren">(</span>:file &quot;secondary&quot;
:depends-on <span class="paren">(</span>&quot;package&quot; &quot;consts&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 :depends-on <span class="paren">(</span>:cffi-util<span class="paren">)</span><span class="paren">)</span></span></pre
> >
......
...@@ -25,57 +25,57 @@ ...@@ -25,57 +25,57 @@
>toc</a >toc</a
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><p
><a href="api/function_005FBDB_003A_003ADB-ENV-MAX-LOCKERS.html" name="function_005FBDB_003A_003ADB-ENV-MAX-LOCKERS" ><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"
>Function DB-ENV-MAX-LOCKERS</a >Method (DB-ENV-MAX-LOCKERS DB-ENV)</a
> </p > </p
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><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" ><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"
>Function (SETF DB-ENV-MAX-LOCKERS)</a >Method ((SETF DB-ENV-MAX-LOCKERS) T DB-ENV)</a
> </p > </p
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><p
><a href="api/function_005FBDB_003A_003ADB-ENV-MAX-LOCKS.html" name="function_005FBDB_003A_003ADB-ENV-MAX-LOCKS" ><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"
>Function DB-ENV-MAX-LOCKS</a >Method (DB-ENV-MAX-LOCKS DB-ENV)</a
> </p > </p
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><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" ><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"
>Function (SETF DB-ENV-MAX-LOCKS)</a >Method ((SETF DB-ENV-MAX-LOCKS) T DB-ENV)</a
> </p > </p
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><p
><a href="api/function_005FBDB_003A_003ADB-ENV-MAX-LK-OBJECTS.html" name="function_005FBDB_003A_003ADB-ENV-MAX-LK-OBJECTS" ><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"
>Function DB-ENV-MAX-LK-OBJECTS</a >Method (DB-ENV-MAX-LK-OBJECTS DB-ENV)</a
> </p > </p
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><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" ><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"
>Function (SETF DB-ENV-MAX-LK-OBJECTS)</a >Method ((SETF DB-ENV-MAX-LK-OBJECTS) T DB-ENV)</a
> </p > </p
></div ></div
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>detect :flag <span class="paren">(</span>:default :expire
:max-locks :max-write :max-locks :max-write
:min-locks :min-write :min-locks :min-write
...@@ -83,17 +83,17 @@ ...@@ -83,17 +83,17 @@
:youngest<span class="paren">)</span><span class="paren">)</span><span class="paren">)</span></span></pre :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 ><p
><a href="api/function_005FBDB_003A_003ADB-ENV-GET-LK-DETECT.html" name="function_005FBDB_003A_003ADB-ENV-GET-LK-DETECT" ><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"
>Function DB-ENV-GET-LK-DETECT</a >Method (DB-ENV-GET-LK-DETECT DB-ENV)</a
> </p > </p
></div ></div
> >
<pre class="code" <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="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<span class="paren">)</span> <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>flags :uint32 :const 0<span class="paren">)</span>
<span class="paren">(</span>atype :flag <span class="paren">(</span>:default :expire <span class="paren">(</span>atype :flag <span class="paren">(</span>:default :expire
:max-locks :max-write :max-locks :max-write
......
...@@ -25,23 +25,23 @@ ...@@ -25,23 +25,23 @@
>toc</a >toc</a
></div ></div
> >
<pre class="code" <div class="computational-element-link computational-element-link-method"
><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"> ><p
<span class="paren">(</span>db :pointer<span class="paren">)</span> ><a href="api/method_005FBDB_003A_003A_0028DB-CURSOR_0020DB_0029.html" name="method_005FBDB_003A_003A_0028DB-CURSOR_0020DB_0029"
<span class="paren">(</span>txn :pointer :key<span class="paren">)</span> >Method (DB-CURSOR DB)</a
<span class="paren">(</span>cursorp :out :pointer<span class="paren">)</span> > </p
<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
> >
<pre class="code" <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="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<span class="paren">)</span><span class="paren">)</span></span></pre <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 ><p
><a href="api/function_005FBDB_003A_003ADB-CURSOR-GET.html" name="function_005FBDB_003A_003ADB-CURSOR-GET" ><a href="api/method_005FBDB_003A_003A_0028DB-CURSOR-GET_0020CURSOR_0029.html" name="method_005FBDB_003A_003A_0028DB-CURSOR-GET_0020CURSOR_0029"
>Function DB-CURSOR-GET</a >Method (DB-CURSOR-GET CURSOR)</a
> </p > </p
></div ></div
> >
...@@ -54,10 +54,10 @@ ...@@ -54,10 +54,10 @@
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><p
><a href="api/function_005FBDB_003A_003ADB-CURSOR-PUT.html" name="function_005FBDB_003A_003ADB-CURSOR-PUT" ><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"
>Function DB-CURSOR-PUT</a >Method (DB-CURSOR-PUT CURSOR T T)</a
> </p > </p
></div ></div
> >
...@@ -71,21 +71,21 @@ ...@@ -71,21 +71,21 @@
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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>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 <span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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>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 <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 @@ ...@@ -34,34 +34,34 @@
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <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 ><p
><a href="api/function_005FBDB_003A_003ADB-ENV-OPEN-FLAGS.html" name="function_005FBDB_003A_003ADB-ENV-OPEN-FLAGS" ><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"
>Function DB-ENV-OPEN-FLAGS</a >Method (DB-ENV-OPEN-FLAGS DB-ENV)</a
> </p > </p
></div ></div
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>dir :string<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>dir :out :string<span class="paren">)</span><span class="paren">)</span></span></pre
> >
......
...@@ -37,33 +37,33 @@ ...@@ -37,33 +37,33 @@
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><p
><a href="api/function_005FBDB_003A_003ADB-OPEN-FLAGS.html" name="function_005FBDB_003A_003ADB-OPEN-FLAGS" ><a href="api/method_005FBDB_003A_003A_0028DB-OPEN-FLAGS_0020DB_0029.html" name="method_005FBDB_003A_003A_0028DB-OPEN-FLAGS_0020DB_0029"
>Function DB-OPEN-FLAGS</a >Method (DB-OPEN-FLAGS DB)</a
> </p > </p
></div ></div
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <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" <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="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<span class="paren">)</span> <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>filenamemap :out :string<span class="paren">)</span>
<span class="paren">(</span>dbnamep :out :string<span class="paren">)</span><span class="paren">)</span></span></pre <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 ><p
><a href="api/function_005FBDB_003A_003ADB-PUT.html" name="function_005FBDB_003A_003ADB-PUT" ><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"
>Function DB-PUT</a >Method (DB-PUT DB T T)</a
> </p > </p
></div ></div
> >
...@@ -76,10 +76,10 @@ ...@@ -76,10 +76,10 @@
></div ></div
> >
<div class="computational-element-link computational-element-link-function" <div class="computational-element-link computational-element-link-method"
><p ><p
><a href="api/function_005FBDB_003A_003ADB-GET.html" name="function_005FBDB_003A_003ADB-GET" ><a href="api/method_005FBDB_003A_003A_0028DB-GET_0020DB_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-GET_0020DB_0020T_0029"
>Function DB-GET</a >Method (DB-GET DB T)</a
> </p > </p
></div ></div
> >
...@@ -93,26 +93,26 @@ ...@@ -93,26 +93,26 @@
> >
<pre class="code" <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="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<span class="paren">)</span> <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>dbfile :string<span class="paren">)</span>
<span class="paren">(</span>dbname :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 <span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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>dbfile :string<span class="paren">)</span>
<span class="paren">(</span>dbname :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>newname :string<span class="paren">)</span>
<span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre <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 ><p
><a href="api/function_005FBDB_003A_003ADB-DEL.html" name="function_005FBDB_003A_003ADB-DEL" ><a href="api/method_005FBDB_003A_003A_0028DB-DEL_0020DB_0020T_0029.html" name="method_005FBDB_003A_003A_0028DB-DEL_0020DB_0020T_0029"
>Function DB-DEL</a >Method (DB-DEL DB T)</a
> </p > </p
></div ></div
> >
...@@ -126,16 +126,16 @@ ...@@ -126,16 +126,16 @@
> >
<pre class="code" <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="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<span class="paren">)</span> <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>txn :pointer :key<span class="paren">)</span>
<span class="paren">(</span>countp :out :uint32<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 <span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>flags :uint32 :const 0<span class="paren">)</span><span class="paren">)</span></span></pre
> >
......
...@@ -26,38 +26,38 @@ ...@@ -26,38 +26,38 @@
></div ></div
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>max :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>max :out :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>max :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>max :out :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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<span class="paren">)</span> <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 <span class="paren">(</span>bsize :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
> >
<pre class="code" <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="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> <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 <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