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
......@@ -63,14 +63,26 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_get_open_flags&quot; %db-open-flags<span class="paren">)</span> :int</span><span class"body">
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_set_flags&quot; %db-set-flags<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :flag <span class="paren">(</span>:checksum :encrypt
:dup :dup-sort
:recnum
:revsplitoff
:inorder
:renumber :snapshot<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>defmethod+ <span class="paren">(</span>&quot;db_get_open_flags&quot; %db-open-flags<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>flagsp :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_put_raw&quot; %db-put<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_put_raw&quot; %db-put<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<span class="paren">)</span>
<span class="paren">(</span>key :pointer<span class="paren">)</span>
<span class="paren">(</span>key-size :uint32<span class="paren">)</span>
......@@ -86,8 +98,8 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_get_raw&quot; %db-get<span class="paren">)</span> :get-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_raw&quot; %db-get<span class="paren">)</span> :get-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>txn :pointer<span class="paren">)</span>
<span class="paren">(</span>key :pointer<span class="paren">)</span>
<span class="paren">(</span>key-size :uint32<span class="paren">)</span>
......@@ -105,8 +117,8 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_del&quot; %db-del<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_del&quot; %db-del<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<span class="paren">)</span>
<span class="paren">(</span>key :pointer<span class="paren">)</span>
<span class="paren">(</span>key-size :uint32<span class="paren">)</span>
......@@ -136,15 +148,23 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_env_get_open_flags&quot; %db-env-get-open-flags<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_open_flags&quot; %db-env-get-open-flags<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>flagsp :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_cursor_get_raw&quot; %db-cursor-get<span class="paren">)</span> :get-error-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&quot; %db-cursor<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<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
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_cursor_get_raw&quot; %db-cursor-get<span class="paren">)</span> :get-error-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>key :pointer<span class="paren">)</span>
<span class="paren">(</span>key-size :uint32<span class="paren">)</span>
<span class="paren">(</span>key-ulen :uint32<span class="paren">)</span>
......@@ -166,8 +186,8 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_cursor_put_raw&quot; %db-cursor-put<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_put_raw&quot; %db-cursor-put<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>key :pointer<span class="paren">)</span>
<span class="paren">(</span>key-size :uint32<span class="paren">)</span>
<span class="paren">(</span>data :pointer<span class="paren">)</span>
......@@ -181,8 +201,8 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_join&quot; %db-join<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>primary :pointer<span class="paren">)</span> ;;database
><span class="first-line"><span class="paren">(</span>defmethod+ <span class="paren">(</span>&quot;db_join&quot; %db-join<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> ;;database
<span class="paren">(</span>curs_list :pointer<span class="paren">)</span> ;;null terminated array with cursor pointers
<span class="paren">(</span>dbcpm :out :pointer<span class="paren">)</span>
<span class="paren">(</span>flags :flag <span class="paren">(</span>:join-item
......@@ -190,71 +210,82 @@
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defcfun+ <span class="paren">(</span>&quot;db_set_pagesize&quot; %db-set-pagesize<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_set_pagesize&quot; %db-set-pagesize<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>size :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_get_pagesize&quot; %db-get-pagesize<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_get_pagesize&quot; %db-get-pagesize<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>size :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_get_flags&quot; %db-get-flags<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_get_flags&quot; %db-get-flags<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 :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_get_encrypt_flags&quot; %db-get-encrypt-flags<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_get_encrypt_flags&quot; %db-get-encrypt-flags<span class="paren">)</span> :int</span><span class"body">
<span class="paren">(</span>db :pointer :class <span class="paren">(</span>db db-ha<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>flags :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_lk_max_lockers&quot; %db-env-set-lk-max-lockers<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_max_lockers&quot; %db-env-set-lk-max-lockers<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_lk_max_lockers&quot; %db-env-get-lk-max-lockers<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_lk_max_lockers&quot; %db-env-get-lk-max-lockers<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_lk_max_locks&quot; %db-env-set-lk-max-locks<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_max_locks&quot; %db-env-set-lk-max-locks<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_lk_max_locks&quot; %db-env-get-lk-max-locks<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_lk_max_locks&quot; %db-env-get-lk-max-locks<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_lk_max_objects&quot; %db-env-set-lk-max-objects<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_max_objects&quot; %db-env-set-lk-max-objects<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_lk_max_objects&quot; %db-env-get-lk-max-objects<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_lk_max_objects&quot; %db-env-get-lk-max-objects<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_get_lk_detect&quot; %db-env-get-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_get_lk_detect&quot; %db-env-get-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 :out :uint32<span class="paren">)</span><span class="paren">)</span></span></pre
>
<pre class="code"
><span class="first-line"><span class="paren">(</span>defmethod+ <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 :class <span class="paren">(</span>db-env db-env-handle<span class="paren">)</span><span class="paren">)</span>
<span class="paren">(</span>parent :pointer :class <span class="paren">(</span>txn txn-handle<span class="paren">)</span><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
></div
></body
......
......@@ -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