Add new db-4.3.21 files.
CVS patchset: 7579 CVS date: 2004/11/11 16:25:25
This commit is contained in:
parent
acf19af1ab
commit
fbbbddcd7e
|
@ -0,0 +1,144 @@
|
|||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the University of
|
||||
* California, Berkeley and its contributors.
|
||||
* 4. Neither the name of the University nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: strtol.c,v 1.3 2004/10/28 19:27:19 bostic Exp $
|
||||
*/
|
||||
|
||||
#include "db_config.h"
|
||||
|
||||
#ifndef NO_SYSTEM_INCLUDES
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Convert a string to a long integer.
|
||||
*
|
||||
* Assumes that the upper and lower case
|
||||
* alphabets and digits are each contiguous.
|
||||
*/
|
||||
long
|
||||
strtol(nptr, endptr, base)
|
||||
const char * nptr;
|
||||
char ** endptr;
|
||||
int base;
|
||||
{
|
||||
const char *s;
|
||||
unsigned long acc;
|
||||
char c;
|
||||
unsigned long cutoff;
|
||||
int neg, any, cutlim;
|
||||
|
||||
/*
|
||||
* Skip white space and pick up leading +/- sign if any.
|
||||
* If base is 0, allow 0x for hex and 0 for octal, else
|
||||
* assume decimal; if base is already 16, allow 0x.
|
||||
*/
|
||||
s = nptr;
|
||||
do {
|
||||
c = *s++;
|
||||
} while (isspace((unsigned char)c));
|
||||
if (c == '-') {
|
||||
neg = 1;
|
||||
c = *s++;
|
||||
} else {
|
||||
neg = 0;
|
||||
if (c == '+')
|
||||
c = *s++;
|
||||
}
|
||||
if ((base == 0 || base == 16) &&
|
||||
c == '0' && (*s == 'x' || *s == 'X')) {
|
||||
c = s[1];
|
||||
s += 2;
|
||||
base = 16;
|
||||
}
|
||||
if (base == 0)
|
||||
base = c == '0' ? 8 : 10;
|
||||
acc = any = 0;
|
||||
if (base < 2 || base > 36)
|
||||
goto noconv;
|
||||
|
||||
/*
|
||||
* Compute the cutoff value between legal numbers and illegal
|
||||
* numbers. That is the largest legal value, divided by the
|
||||
* base. An input number that is greater than this value, if
|
||||
* followed by a legal input character, is too big. One that
|
||||
* is equal to this value may be valid or not; the limit
|
||||
* between valid and invalid numbers is then based on the last
|
||||
* digit. For instance, if the range for longs is
|
||||
* [-2147483648..2147483647] and the input base is 10,
|
||||
* cutoff will be set to 214748364 and cutlim to either
|
||||
* 7 (neg==0) or 8 (neg==1), meaning that if we have accumulated
|
||||
* a value > 214748364, or equal but the next digit is > 7 (or 8),
|
||||
* the number is too big, and we will return a range error.
|
||||
*
|
||||
* Set 'any' if any `digits' consumed; make it negative to indicate
|
||||
* overflow.
|
||||
*/
|
||||
cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX
|
||||
: LONG_MAX;
|
||||
cutlim = cutoff % base;
|
||||
cutoff /= base;
|
||||
for ( ; ; c = *s++) {
|
||||
if (c >= '0' && c <= '9')
|
||||
c -= '0';
|
||||
else if (c >= 'A' && c <= 'Z')
|
||||
c -= 'A' - 10;
|
||||
else if (c >= 'a' && c <= 'z')
|
||||
c -= 'a' - 10;
|
||||
else
|
||||
break;
|
||||
if (c >= base)
|
||||
break;
|
||||
if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
||||
any = -1;
|
||||
else {
|
||||
any = 1;
|
||||
acc *= base;
|
||||
acc += c;
|
||||
}
|
||||
}
|
||||
if (any < 0) {
|
||||
acc = neg ? LONG_MIN : LONG_MAX;
|
||||
errno = ERANGE;
|
||||
} else if (!any) {
|
||||
noconv:
|
||||
errno = EINVAL;
|
||||
} else if (neg)
|
||||
acc = -acc;
|
||||
if (endptr != NULL)
|
||||
*endptr = (char *)(any ? s - 1 : nptr);
|
||||
return (acc);
|
||||
}
|
|
@ -0,0 +1,123 @@
|
|||
/*
|
||||
* Copyright (c) 1990, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the University of
|
||||
* California, Berkeley and its contributors.
|
||||
* 4. Neither the name of the University nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: strtoul.c,v 1.3 2004/10/28 19:27:19 bostic Exp $
|
||||
*/
|
||||
|
||||
#include "db_config.h"
|
||||
|
||||
#ifndef NO_SYSTEM_INCLUDES
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Convert a string to an unsigned long integer.
|
||||
*
|
||||
* Assumes that the upper and lower case
|
||||
* alphabets and digits are each contiguous.
|
||||
*/
|
||||
unsigned long
|
||||
strtoul(nptr, endptr, base)
|
||||
const char * nptr;
|
||||
char ** endptr;
|
||||
int base;
|
||||
{
|
||||
const char *s;
|
||||
unsigned long acc;
|
||||
char c;
|
||||
unsigned long cutoff;
|
||||
int neg, any, cutlim;
|
||||
|
||||
/*
|
||||
* See strtol for comments as to the logic used.
|
||||
*/
|
||||
s = nptr;
|
||||
do {
|
||||
c = *s++;
|
||||
} while (isspace((unsigned char)c));
|
||||
if (c == '-') {
|
||||
neg = 1;
|
||||
c = *s++;
|
||||
} else {
|
||||
neg = 0;
|
||||
if (c == '+')
|
||||
c = *s++;
|
||||
}
|
||||
if ((base == 0 || base == 16) &&
|
||||
c == '0' && (*s == 'x' || *s == 'X')) {
|
||||
c = s[1];
|
||||
s += 2;
|
||||
base = 16;
|
||||
}
|
||||
if (base == 0)
|
||||
base = c == '0' ? 8 : 10;
|
||||
acc = any = 0;
|
||||
if (base < 2 || base > 36)
|
||||
goto noconv;
|
||||
|
||||
cutoff = ULONG_MAX / base;
|
||||
cutlim = ULONG_MAX % base;
|
||||
for ( ; ; c = *s++) {
|
||||
if (c >= '0' && c <= '9')
|
||||
c -= '0';
|
||||
else if (c >= 'A' && c <= 'Z')
|
||||
c -= 'A' - 10;
|
||||
else if (c >= 'a' && c <= 'z')
|
||||
c -= 'a' - 10;
|
||||
else
|
||||
break;
|
||||
if (c >= base)
|
||||
break;
|
||||
if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
||||
any = -1;
|
||||
else {
|
||||
any = 1;
|
||||
acc *= base;
|
||||
acc += c;
|
||||
}
|
||||
}
|
||||
if (any < 0) {
|
||||
acc = ULONG_MAX;
|
||||
errno = ERANGE;
|
||||
} else if (!any) {
|
||||
noconv:
|
||||
errno = EINVAL;
|
||||
} else if (neg)
|
||||
acc = -acc;
|
||||
if (endptr != NULL)
|
||||
*endptr = (char *)(any ? s - 1 : nptr);
|
||||
return (acc);
|
||||
}
|
|
@ -0,0 +1,192 @@
|
|||
<!--DO NOT EDIT: automatically built by build script.-->
|
||||
<!--Copyright 1997-2004 by Sleepycat Software, Inc.-->
|
||||
<!--All rights reserved.-->
|
||||
<!--See the file LICENSE for redistribution information.-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Berkeley DB: Berkeley DB: C Handle Methods (version 4.3.21)</title>
|
||||
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
|
||||
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
|
||||
</head>
|
||||
<body bgcolor=white>
|
||||
<h3 align=center>Berkeley DB: C Handle Methods (version 4.3.21)</h3>
|
||||
<table border=1 align=center>
|
||||
<tr><th>C Handle Methods</th><th>Description</th></tr>
|
||||
<!--Db::--><tr><td><a href="../api_c/db_class.html">db_create</a></td><td>Create a database handle</td></tr>
|
||||
<!--Db::associate--><tr><td><a href="../api_c/db_associate.html">DB->associate</a></td><td>Associate a secondary index</td></tr>
|
||||
<!--Db::close--><tr><td><a href="../api_c/db_close.html">DB->close</a></td><td>Close a database</td></tr>
|
||||
<!--Db::cursor--><tr><td><a href="../api_c/db_close.html">DB->close</a></td><td>Create a cursor</td></tr>
|
||||
<!--Db::cursor--><tr><td><a href="../api_c/db_cursor.html">DB->cursor</a></td><td>Create a cursor handle</td></tr>
|
||||
<!--Db::del--><tr><td><a href="../api_c/db_del.html">DB->del</a></td><td>Delete items from a database</td></tr>
|
||||
<!--Db::err--><tr><td><a href="../api_c/db_err.html">DB->err</a>, <a href="../api_c/db_err.html">DB->errx</a></td><td>Error message</td></tr>
|
||||
<!--Db::fd--><tr><td><a href="../api_c/db_fd.html">DB->fd</a></td><td>Return a file descriptor from a database</td></tr>
|
||||
<!--Db::get--><tr><td><a href="../api_c/db_get.html">DB->get</a>, <a href="../api_c/db_get.html">DB->pget</a></td><td>Get items from a database</td></tr>
|
||||
<!--Db::get_byteswapped--><tr><td><a href="../api_c/db_get_byteswapped.html">DB->get_byteswapped</a></td><td>Return if the underlying database is in host order</td></tr>
|
||||
<!--Db::get_env--><tr><td><a href="../api_c/db_getenv.html">DB->get_env</a></td><td>Return database environment handle</td></tr>
|
||||
<!--Db::get_mpf--><tr><td><a href="../api_c/db_get_mpf.html">DB->mpf</a></td><td>Return underlying <a href="../api_c/mempfile_class.html">DB_MPOOLFILE</a> handle</td></tr>
|
||||
<!--Db::get_type--><tr><td><a href="../api_c/db_get_type.html">DB->get_type</a></td><td>Return the database type</td></tr>
|
||||
<!--Db::join--><tr><td><a href="../api_c/db_join.html">DB->join</a></td><td>Perform a database join on cursors</td></tr>
|
||||
<!--Db::key_range--><tr><td><a href="../api_c/db_key_range.html">DB->key_range</a></td><td>Return estimate of key location</td></tr>
|
||||
<!--Db::mpf--><tr><td><a href="../api_c/db_get_mpf.html">DB->mpf</a></td><td>Return the database's memory pool handle</td></tr>
|
||||
<!--Db::open--><tr><td><a href="../api_c/db_open.html">DB->open</a></td><td>Open a database</td></tr>
|
||||
<!--Db::put--><tr><td><a href="../api_c/db_put.html">DB->put</a></td><td>Store items into a database</td></tr>
|
||||
<!--Db::remove--><tr><td><a href="../api_c/db_remove.html">DB->remove</a></td><td>Remove a database</td></tr>
|
||||
<!--Db::rename--><tr><td><a href="../api_c/db_rename.html">DB->rename</a></td><td>Rename a database</td></tr>
|
||||
<!--Db::set_alloc--><tr><td><a href="../api_c/db_set_alloc.html">DB->set_alloc</a></td><td>Set local space allocation functions</td></tr>
|
||||
<!--Db::set_append_recno--><tr><td><a href="../api_c/db_set_append_recno.html">DB->set_append_recno</a></td><td>Set record append callback</td></tr>
|
||||
<!--Db::set_bt_compare--><tr><td><a href="../api_c/db_set_bt_compare.html">DB->set_bt_compare</a></td><td>Set a Btree comparison function</td></tr>
|
||||
<!--Db::set_bt_minkey--><tr><td><a href="../api_c/db_set_bt_minkey.html">DB->set_bt_minkey</a></td><td>Set the minimum number of keys per Btree page</td></tr>
|
||||
<!--Db::set_bt_prefix--><tr><td><a href="../api_c/db_set_bt_prefix.html">DB->set_bt_prefix</a></td><td>Set a Btree prefix comparison function</td></tr>
|
||||
<!--Db::set_cachesize--><tr><td><a href="../api_c/db_set_cachesize.html">DB->set_cachesize</a></td><td>Set the database cache size</td></tr>
|
||||
<!--Db::set_dup_compare--><tr><td><a href="../api_c/db_set_dup_compare.html">DB->set_dup_compare</a></td><td>Set a duplicate comparison function</td></tr>
|
||||
<!--Db::set_encrypt--><tr><td><a href="../api_c/db_set_encrypt.html">DB->set_encrypt</a></td><td>Set the database cryptographic key</td></tr>
|
||||
<!--Db::set_errcall--><tr><td><a href="../api_c/db_set_errcall.html">DB->set_errcall</a>, <a href="../api_c/db_set_msgcall.html">DB->set_msgcall</a></td><td>Set error and informational message callback</td></tr>
|
||||
<!--Db::set_errfile--><tr><td><a href="../api_c/db_set_errfile.html">DB->set_errfile</a>, <a href="../api_c/db_set_msgfile.html">DB->set_msgfile</a></td><td>Set error and informational message FILE</td></tr>
|
||||
<!--Db::set_error_stream-->
|
||||
<!--Db::set_errpfx--><tr><td><a href="../api_c/db_set_errpfx.html">DB->set_errpfx</a></td><td>Set error message prefix</td></tr>
|
||||
<!--Db::set_feedback--><tr><td><a href="../api_c/db_set_feedback.html">DB->set_feedback</a></td><td>Set feedback callback</td></tr>
|
||||
<!--Db::set_flags--><tr><td><a href="../api_c/db_set_flags.html">DB->set_flags</a></td><td>General database configuration</td></tr>
|
||||
<!--Db::set_h_ffactor--><tr><td><a href="../api_c/db_set_h_ffactor.html">DB->set_h_ffactor</a></td><td>Set the Hash table density</td></tr>
|
||||
<!--Db::set_h_hash--><tr><td><a href="../api_c/db_set_h_hash.html">DB->set_h_hash</a></td><td>Set a hashing function</td></tr>
|
||||
<!--Db::set_h_nelem--><tr><td><a href="../api_c/db_set_h_nelem.html">DB->set_h_nelem</a></td><td>Set the Hash table size</td></tr>
|
||||
<!--Db::set_lorder--><tr><td><a href="../api_c/db_set_lorder.html">DB->set_lorder</a></td><td>Set the database byte order</td></tr>
|
||||
<!--Db::set_pagesize--><tr><td><a href="../api_c/db_set_pagesize.html">DB->set_pagesize</a></td><td>Set the underlying database page size</td></tr>
|
||||
<!--Db::set_paniccall--><tr><td><a href="../api_c/db_set_paniccall.html">DB->set_paniccall</a></td><td>Set panic callback</td></tr>
|
||||
<!--Db::set_q_extentsize--><tr><td><a href="../api_c/db_set_q_extentsize.html">DB->set_q_extentsize</a></td><td>Set Queue database extent size</td></tr>
|
||||
<!--Db::set_re_delim--><tr><td><a href="../api_c/db_set_re_delim.html">DB->set_re_delim</a></td><td>Set the variable-length record delimiter</td></tr>
|
||||
<!--Db::set_re_len--><tr><td><a href="../api_c/db_set_re_len.html">DB->set_re_len</a></td><td>Set the fixed-length record length</td></tr>
|
||||
<!--Db::set_re_pad--><tr><td><a href="../api_c/db_set_re_pad.html">DB->set_re_pad</a></td><td>Set the fixed-length record pad byte</td></tr>
|
||||
<!--Db::set_re_source--><tr><td><a href="../api_c/db_set_re_source.html">DB->set_re_source</a></td><td>Set the backing Recno text file</td></tr>
|
||||
<!--Db::stat--><tr><td><a href="../api_c/db_stat.html">DB->stat</a>, <a href="../api_c/db_stat.html">DB->stat_print</a></td><td>Database statistics</td></tr>
|
||||
<!--Db::sync--><tr><td><a href="../api_c/db_sync.html">DB->sync</a></td><td>Flush a database to stable storage</td></tr>
|
||||
<!--Db::truncate--><tr><td><a href="../api_c/db_truncate.html">DB->truncate</a></td><td>Empty a database</td></tr>
|
||||
<!--Db::upgrade--><tr><td><a href="../api_c/db_upgrade.html">DB->upgrade</a></td><td>Upgrade a database</td></tr>
|
||||
<!--Db::verify--><tr><td><a href="../api_c/db_verify.html">DB->verify</a></td><td>Verify/salvage a database</td></tr>
|
||||
<!--DbCursor::close--><tr><td><a href="../api_c/dbc_close.html">DBcursor->c_close</a></td><td>Close a cursor</td></tr>
|
||||
<!--DbCursor::count--><tr><td><a href="../api_c/dbc_count.html">DBcursor->c_count</a></td><td>Return count of duplicates</td></tr>
|
||||
<!--DbCursor::del--><tr><td><a href="../api_c/dbc_del.html">DBcursor->c_del</a></td><td>Delete by cursor</td></tr>
|
||||
<!--DbCursor::dup--><tr><td><a href="../api_c/dbc_dup.html">DBcursor->c_dup</a></td><td>Duplicate a cursor</td></tr>
|
||||
<!--DbCursor::get--><tr><td><a href="../api_c/dbc_get.html">DBcursor->c_get</a>, <a href="../api_c/dbc_get.html">DBcursor->c_pget</a></td><td>Retrieve by cursor</td></tr>
|
||||
<!--DbCursor::put--><tr><td><a href="../api_c/dbc_put.html">DBcursor->c_put</a></td><td>Store by cursor</td></tr>
|
||||
<!--DbDeadlockException-->
|
||||
<!--DbEnv::--><tr><td><a href="../api_c/env_class.html">db_env_create</a></td><td>Create an environment handle</td></tr>
|
||||
<!--DbEnv::close--><tr><td><a href="../api_c/env_close.html">DB_ENV->close</a></td><td>Close an environment</td></tr>
|
||||
<!--DbEnv::dbremove--><tr><td><a href="../api_c/env_dbremove.html">DB_ENV->dbremove</a></td><td>Remove a database</td></tr>
|
||||
<!--DbEnv::dbrename--><tr><td><a href="../api_c/env_dbrename.html">DB_ENV->dbrename</a></td><td>Rename a database</td></tr>
|
||||
<!--DbEnv::err--><tr><td><a href="../api_c/env_err.html">DB_ENV->err</a>, <a href="../api_c/env_err.html">DB_ENV->errx</a></td><td>Error message</td></tr>
|
||||
<!--DbEnv::get_home--><tr><td><a href="../api_c/env_open.html">DB_ENV->get_home</a></td><td>Return environment's home directory</td></tr>
|
||||
<!--DbEnv::get_open_flags--><tr><td><a href="../api_c/env_open.html">DB_ENV->get_open_flags</a></td><td>Return the flags with which the environment was opened</td></tr>
|
||||
<!--DbEnv::lock_detect--><tr><td><a href="../api_c/lock_detect.html">DB_ENV->lock_detect</a></td><td>Perform deadlock detection</td></tr>
|
||||
<!--DbEnv::lock_get--><tr><td><a href="../api_c/lock_get.html">DB_ENV->lock_get</a></td><td>Acquire a lock</td></tr>
|
||||
<!--DbEnv::lock_id--><tr><td><a href="../api_c/lock_id.html">DB_ENV->lock_id</a></td><td>Acquire a locker ID</td></tr>
|
||||
<!--DbEnv::lock_id_free--><tr><td><a href="../api_c/lock_id_free.html">DB_ENV->lock_id_free</a></td><td>Release a locker ID</td></tr>
|
||||
<!--DbEnv::lock_put--><tr><td><a href="../api_c/lock_put.html">DB_ENV->lock_put</a></td><td>Release a lock</td></tr>
|
||||
<!--DbEnv::lock_stat--><tr><td><a href="../api_c/lock_stat.html">DB_ENV->lock_stat</a></td><td>Return lock subsystem statistics</td></tr>
|
||||
<!--DbEnv::lock_vec--><tr><td><a href="../api_c/lock_vec.html">DB_ENV->lock_vec</a></td><td>Acquire/release locks</td></tr>
|
||||
<!--DbEnv::log_archive--><tr><td><a href="../api_c/log_archive.html">DB_ENV->log_archive</a></td><td>List log and database files</td></tr>
|
||||
<!--DbEnv::log_file--><tr><td><a href="../api_c/log_file.html">DB_ENV->log_file</a></td><td>Map Log Sequence Numbers to log files</td></tr>
|
||||
<!--DbEnv::log_flush--><tr><td><a href="../api_c/log_flush.html">DB_ENV->log_flush</a></td><td>Flush log records</td></tr>
|
||||
<!--DbEnv::log_put--><tr><td><a href="../api_c/log_put.html">DB_ENV->log_put</a></td><td>Write a log record</td></tr>
|
||||
<!--DbEnv::log_stat--><tr><td><a href="../api_c/log_stat.html">DB_ENV->log_stat</a></td><td>Return log subsystem statistics</td></tr>
|
||||
<!--DbEnv::memp_fcreate--><tr><td><a href="../api_c/memp_fcreate.html">DB_ENV->memp_fcreate</a></td><td>Create a memory pool file handle</td></tr>
|
||||
<!--DbEnv::memp_register--><tr><td><a href="../api_c/memp_register.html">DB_ENV->memp_register</a></td><td>Register input/output functions for a file in a memory pool</td></tr>
|
||||
<!--DbEnv::memp_set_max_openfd--><tr><td><a href="../api_c/memp_openfd.html">DB_ENV->memp_set_max_openfd</a></td><td>Set the maximum number of open file descriptors</td></tr>
|
||||
<!--DbEnv::memp_set_max_write--><tr><td><a href="../api_c/memp_maxwrite.html">DB_ENV->memp_set_max_write</a></td><td>Set the maximum number of sequential disk writes</td></tr>
|
||||
<!--DbEnv::memp_stat--><tr><td><a href="../api_c/memp_stat.html">DB_ENV->memp_stat</a></td><td>Return memory pool statistics</td></tr>
|
||||
<!--DbEnv::memp_sync--><tr><td><a href="../api_c/memp_sync.html">DB_ENV->memp_sync</a></td><td>Flush pages from a memory pool</td></tr>
|
||||
<!--DbEnv::memp_trickle--><tr><td><a href="../api_c/memp_trickle.html">DB_ENV->memp_trickle</a></td><td>Trickle flush pages from a memory pool</td></tr>
|
||||
<!--DbEnv::open--><tr><td><a href="../api_c/env_open.html">DB_ENV->open</a></td><td>Open an environment</td></tr>
|
||||
<!--DbEnv::remove--><tr><td><a href="../api_c/env_remove.html">DB_ENV->remove</a></td><td>Remove an environment</td></tr>
|
||||
<!--DbEnv::rep_elect--><tr><td><a href="../api_c/rep_elect.html">DB_ENV->rep_elect</a></td><td>Hold a replication election</td></tr>
|
||||
<!--DbEnv::rep_process_message--><tr><td><a href="../api_c/rep_message.html">DB_ENV->rep_process_message</a></td><td>Process a replication message</td></tr>
|
||||
<!--DbEnv::rep_start--><tr><td><a href="../api_c/rep_start.html">DB_ENV->rep_start</a></td><td>Configure an environment for replication</td></tr>
|
||||
<!--DbEnv::rep_stat--><tr><td><a href="../api_c/rep_stat.html">DB_ENV->rep_stat</a></td><td>Replication statistics</td></tr>
|
||||
<!--DbEnv::set_alloc--><tr><td><a href="../api_c/env_set_alloc.html">DB_ENV->set_alloc</a></td><td>Set local space allocation functions</td></tr>
|
||||
<!--DbEnv::set_app_dispatch--><tr><td><a href="../api_c/env_set_app_dispatch.html">DB_ENV->set_app_dispatch</a></td><td>Configure application recovery</td></tr>
|
||||
<!--DbEnv::set_cachesize--><tr><td><a href="../api_c/env_set_cachesize.html">DB_ENV->set_cachesize</a></td><td>Set the environment cache size</td></tr>
|
||||
<!--DbEnv::set_cachesize--><tr><td><a href="../api_c/env_set_cachesize.html">DB_ENV->set_cachesize</a></td><td>Set the environment cache size</td></tr>
|
||||
<!--DbEnv::set_data_dir--><tr><td><a href="../api_c/env_set_data_dir.html">DB_ENV->set_data_dir</a></td><td>Set the environment data directory</td></tr>
|
||||
<!--DbEnv::set_encrypt--><tr><td><a href="../api_c/env_set_encrypt.html">DB_ENV->set_encrypt</a></td><td>Set the environment cryptographic key</td></tr>
|
||||
<!--DbEnv::set_errcall--><tr><td><a href="../api_c/env_set_errcall.html">DB_ENV->set_errcall</a>, <a href="../api_c/env_set_msgcall.html">DB_ENV->set_msgcall</a></td><td>Set error and informational message callbacks</td></tr>
|
||||
<!--DbEnv::set_errfile--><tr><td><a href="../api_c/env_set_errfile.html">DB_ENV->set_errfile</a>, <a href="../api_c/env_set_msgfile.html">DB_ENV->set_msgfile</a></td><td>Set error and informational message FILE</td></tr>
|
||||
<!--DbEnv::set_error_stream-->
|
||||
<!--DbEnv::set_errpfx--><tr><td><a href="../api_c/env_set_errpfx.html">DB_ENV->set_errpfx</a></td><td>Set error message prefix</td></tr>
|
||||
<!--DbEnv::set_feedback--><tr><td><a href="../api_c/env_set_feedback.html">DB_ENV->set_feedback</a></td><td>Set feedback callback</td></tr>
|
||||
<!--DbEnv::set_flags--><tr><td><a href="../api_c/env_set_flags.html">DB_ENV->set_flags</a></td><td>Environment configuration</td></tr>
|
||||
<!--DbEnv::set_lg_bsize--><tr><td><a href="../api_c/env_set_lg_bsize.html">DB_ENV->set_lg_bsize</a></td><td>Set log buffer size</td></tr>
|
||||
<!--DbEnv::set_lg_dir--><tr><td><a href="../api_c/env_set_lg_dir.html">DB_ENV->set_lg_dir</a></td><td>Set the environment logging directory</td></tr>
|
||||
<!--DbEnv::set_lg_max--><tr><td><a href="../api_c/env_set_lg_max.html">DB_ENV->set_lg_max</a></td><td>Set log file size</td></tr>
|
||||
<!--DbEnv::set_lg_regionmax--><tr><td><a href="../api_c/env_set_lg_regionmax.html">DB_ENV->set_lg_regionmax</a></td><td>Set logging region size</td></tr>
|
||||
<!--DbEnv::set_lk_conflicts--><tr><td><a href="../api_c/env_set_lk_conflicts.html">DB_ENV->set_lk_conflicts</a></td><td>Set lock conflicts matrix</td></tr>
|
||||
<!--DbEnv::set_lk_max_detect--><tr><td><a href="../api_c/env_set_lk_detect.html">DB_ENV->set_lk_detect</a></td><td>Set automatic deadlock detection</td></tr>
|
||||
<!--DbEnv::set_lk_max_lockers--><tr><td><a href="../api_c/env_set_lk_max_lockers.html">DB_ENV->set_lk_max_lockers</a></td><td>Set maximum number of lockers</td></tr>
|
||||
<!--DbEnv::set_lk_max_locks--><tr><td><a href="../api_c/env_set_lk_max_locks.html">DB_ENV->set_lk_max_locks</a></td><td>Set maximum number of locks</td></tr>
|
||||
<!--DbEnv::set_lk_max_objects--><tr><td><a href="../api_c/env_set_lk_max_objects.html">DB_ENV->set_lk_max_objects</a></td><td>Set maximum number of lock objects</td></tr>
|
||||
<!--DbEnv::set_mp_mmapsize--><tr><td><a href="../api_c/env_set_mp_mmapsize.html">DB_ENV->set_mp_mmapsize</a></td><td>Set maximum mapped-in database file size</td></tr>
|
||||
<!--DbEnv::set_paniccall--><tr><td><a href="../api_c/env_set_paniccall.html">DB_ENV->set_paniccall</a></td><td>Set panic callback</td></tr>
|
||||
<!--DbEnv::set_rep_limit--><tr><td><a href="../api_c/rep_limit.html">DB_ENV->set_rep_limit</a></td><td>Limit data sent in response to a single message</td></tr>
|
||||
<!--DbEnv::set_rep_transport--><tr><td><a href="../api_c/rep_transport.html">DB_ENV->set_rep_transport</a></td><td>Configure replication transport</td></tr>
|
||||
<!--DbEnv::set_rpc_server--><tr><td><a href="../api_c/env_set_rpc_server.html">DB_ENV->set_rpc_server</a></td><td>Establish an RPC server connection</td></tr>
|
||||
<!--DbEnv::set_shm_key--><tr><td><a href="../api_c/env_set_shm_key.html">DB_ENV->set_shm_key</a></td><td>Set system memory shared segment ID</td></tr>
|
||||
<!--DbEnv::set_tas_spins--><tr><td><a href="../api_c/env_set_tas_spins.html">DB_ENV->set_tas_spins</a></td><td>Set the number of test-and-set spins</td></tr>
|
||||
<!--DbEnv::set_timeout--><tr><td><a href="../api_c/env_set_timeout.html">DB_ENV->set_timeout</a></td><td>Set lock and transaction timeout</td></tr>
|
||||
<!--DbEnv::set_timeout--><tr><td><a href="../api_c/env_set_timeout.html">DB_ENV->set_timeout</a></td><td>Set lock and transaction timeout</td></tr>
|
||||
<!--DbEnv::set_timeout--><tr><td><a href="../api_c/env_set_timeout.html">DB_ENV->set_timeout</a></td><td>Set lock and transaction timeout</td></tr>
|
||||
<!--DbEnv::set_tmp_dir--><tr><td><a href="../api_c/env_set_tmp_dir.html">DB_ENV->set_tmp_dir</a></td><td>Set the environment temporary file directory</td></tr>
|
||||
<!--DbEnv::set_tx_max--><tr><td><a href="../api_c/env_set_tx_max.html">DB_ENV->set_tx_max</a></td><td>Set maximum number of transactions</td></tr>
|
||||
<!--DbEnv::set_tx_timestamp--><tr><td><a href="../api_c/env_set_tx_timestamp.html">DB_ENV->set_tx_timestamp</a></td><td>Set recovery timestamp</td></tr>
|
||||
<!--DbEnv::set_verbose--><tr><td><a href="../api_c/env_set_verbose.html">DB_ENV->set_verbose</a></td><td>Set verbose messages</td></tr>
|
||||
<!--DbEnv::stat_print--><tr><td><a href="../api_c/env_stat.html">DB_ENV->stat_print</a></td><td>Environment statistics</td></tr>
|
||||
<!--DbEnv::txn_begin--><tr><td><a href="../api_c/txn_begin.html">DB_ENV->txn_begin</a></td><td>Begin a transaction</td></tr>
|
||||
<!--DbEnv::txn_checkpoint--><tr><td><a href="../api_c/txn_checkpoint.html">DB_ENV->txn_checkpoint</a></td><td>Checkpoint the transaction subsystem</td></tr>
|
||||
<!--DbEnv::txn_recover--><tr><td><a href="../api_c/txn_recover.html">DB_ENV->txn_recover</a></td><td>Distributed transaction recovery</td></tr>
|
||||
<!--DbEnv::txn_stat--><tr><td><a href="../api_c/txn_stat.html">DB_ENV->txn_stat</a></td><td>Return transaction subsystem statistics</td></tr>
|
||||
<!--DbLockNotGrantedException-->
|
||||
<!--DbLock-->
|
||||
<!--DbLogc::-->
|
||||
<!--DbLogc::--><tr><td><a href="../api_c/log_cursor.html">DB_ENV->log_cursor</a></td><td>Create a log cursor handle</td></tr>
|
||||
<!--DbLogc::close--><tr><td><a href="../api_c/logc_close.html">DB_LOGC->close</a></td><td>Close a log cursor</td></tr>
|
||||
<!--DbLogc::get--><tr><td><a href="../api_c/logc_get.html">DB_LOGC->get</a></td><td>Retrieve a log record</td></tr>
|
||||
<!--DbLsn--><tr><td><a href="../api_c/lsn_class.html">DB_LSN</a></td><td>Log Sequence Numbers</td></tr>
|
||||
<!--DbMemoryException-->
|
||||
<!--DbMpoolFile::-->
|
||||
<!--DbMpoolFile::close--><tr><td><a href="../api_c/memp_fclose.html">DB_MPOOLFILE->close</a></td><td>Close a file in a memory pool</td></tr>
|
||||
<!--DbMpoolFile::get--><tr><td><a href="../api_c/memp_fget.html">DB_MPOOLFILE->get</a></td><td>Get page from a file in a memory pool</td></tr>
|
||||
<!--DbMpoolFile::open--><tr><td><a href="../api_c/memp_fopen.html">DB_MPOOLFILE->open</a></td><td>Open a file in a memory pool</td></tr>
|
||||
<!--DbMpoolFile::put--><tr><td><a href="../api_c/memp_fput.html">DB_MPOOLFILE->put</a></td><td>Return a page to a memory pool</td></tr>
|
||||
<!--DbMpoolFile::set--><tr><td><a href="../api_c/memp_fset.html">DB_MPOOLFILE->set</a></td><td>Set memory pool page attributes</td></tr>
|
||||
<!--DbMpoolFile::set_clear_len--><tr><td><a href="../api_c/memp_set_clear_len.html">DB_MPOOLFILE->set_clear_len</a></td><td>Set file page bytes to be cleared</td></tr>
|
||||
<!--DbMpoolFile::set_fileid--><tr><td><a href="../api_c/memp_set_fileid.html">DB_MPOOLFILE->set_fileid</a></td><td>Set file unique identifier</td></tr>
|
||||
<!--DbMpoolFile::set_flags--><tr><td><a href="../api_c/memp_set_flags.html">DB_MPOOLFILE->set_flags</a></td><td>General memory pool file configuration</td></tr>
|
||||
<!--DbMpoolFile::set_ftype--><tr><td><a href="../api_c/memp_set_ftype.html">DB_MPOOLFILE->set_ftype</a></td><td>Set file type</td></tr>
|
||||
<!--DbMpoolFile::set_lsn_offset--><tr><td><a href="../api_c/memp_set_lsn_offset.html">DB_MPOOLFILE->set_lsn_offset</a></td><td>Set file log-sequence-number offset</td></tr>
|
||||
<!--DbMpoolFile::set_maxsize--><tr><td><a href="../api_c/memp_set_maxsize.html">DB_MPOOLFILE->set_maxsize</a></td><td>Set maximum file size</td></tr>
|
||||
<!--DbMpoolFile::set_pgcookie--><tr><td><a href="../api_c/memp_set_pgcookie.html">DB_MPOOLFILE->set_pgcookie</a></td><td>Set file cookie for pgin/pgout</td></tr>
|
||||
<!--DbMpoolFile::set_priority--><tr><td><a href="../api_c/memp_set_priority.html">DB_MPOOLFILE->set_priority</a></td><td>Set memory pool file priority</td></tr>
|
||||
<!--DbMpoolFile::sync--><tr><td><a href="../api_c/memp_fsync.html">DB_MPOOLFILE->sync</a></td><td>Flush pages from a file in a memory pool</td></tr>
|
||||
<!--DbSequence::--><tr><td><a href="../api_c/seq_class.html">db_sequence_create</a></td><td>Create a sequence handle</td></tr>
|
||||
<!--DbSequence::close--><tr><td><a href="../api_c/seq_close.html">DB_SEQUENCE->close</a></td><td>Close a sequence</td></tr>
|
||||
<!--DbSequence::get--><tr><td><a href="../api_c/seq_get.html">DB_SEQUENCE->get</a></td><td>Get the next sequence element(s)</td></tr>
|
||||
<!--DbSequence::get_dbp--><tr><td><a href="../api_c/seq_open.html">DB_SEQUENCE->get_dbp</a></td><td>Return a handle for the underlying sequence database</td></tr>
|
||||
<!--DbSequence::get_key--><tr><td><a href="../api_c/seq_open.html">DB_SEQUENCE->get_key</a></td><td>Return the key for a sequence</td></tr>
|
||||
<!--DbSequence::init_value--><tr><td><a href="../api_c/seq_init_value.html">DB_SEQUENCE->init_value</a></td><td>Set the initial value of a sequence</td></tr>
|
||||
<!--DbSequence::open--><tr><td><a href="../api_c/seq_open.html">DB_SEQUENCE->open</a></td><td>Open a sequence</td></tr>
|
||||
<!--DbSequence::remove--><tr><td><a href="../api_c/seq_remove.html">DB_SEQUENCE->remove</a></td><td>Remove a sequence</td></tr>
|
||||
<!--DbSequence::set_cachesize--><tr><td><a href="../api_c/seq_set_cachesize.html">DB_SEQUENCE->set_cachesize</a></td><td>Set the cache size of a sequence</td></tr>
|
||||
<!--DbSequence::set_flags--><tr><td><a href="../api_c/seq_set_flags.html">DB_SEQUENCE->set_flags</a></td><td>Set the flags for a sequence</td></tr>
|
||||
<!--DbSequence::set_range--><tr><td><a href="../api_c/seq_set_range.html">DB_SEQUENCE->set_range</a></td><td>Set the range for a sequence</td></tr>
|
||||
<!--DbSequence::stat--><tr><td><a href="../api_c/seq_stat.html">DB_SEQUENCE->stat</a></td><td>Return sequence statistics</td></tr>
|
||||
<!--DbTxn::-->
|
||||
<!--DbTxn::abort--><tr><td><a href="../api_c/txn_abort.html">DB_TXN->abort</a></td><td>Abort a transaction</td></tr>
|
||||
<!--DbTxn::commit--><tr><td><a href="../api_c/txn_commit.html">DB_TXN->commit</a></td><td>Commit a transaction</td></tr>
|
||||
<!--DbTxn::discard--><tr><td><a href="../api_c/txn_discard.html">DB_TXN->discard</a></td><td>Discard a prepared but not resolved transaction handle</td></tr>
|
||||
<!--DbTxn::id--><tr><td><a href="../api_c/txn_id.html">DB_TXN->id</a></td><td>Return a transaction's ID</td></tr>
|
||||
<!--DbTxn::prepare--><tr><td><a href="../api_c/txn_prepare.html">DB_TXN->prepare</a></td><td>Prepare a transaction for commit</td></tr>
|
||||
<!--DbTxn::set_timeout--><tr><td><a href="../api_c/txn_set_timeout.html">DB_TXN->set_timeout</a></td><td>Set transaction timeout</td></tr>
|
||||
<!--db_strerror--><tr><td><a href="../api_c/env_strerror.html">db_strerror</a></td><td>Error strings</td></tr>
|
||||
<!--db_version--><tr><td><a href="../api_c/env_version.html">db_version</a></td><td>Return version information</td></tr>
|
||||
<!--log_compare--><tr><td><a href="../api_c/log_compare.html">log_compare</a></td><td>Compare two Log Sequence Numbers</td></tr>
|
||||
</table>
|
||||
<p><font size=1><a href="../sleepycat/legal.html">Copyright (c) 1996-2004</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,192 @@
|
|||
<!--DO NOT EDIT: automatically built by build script.-->
|
||||
<!--Copyright 1997-2004 by Sleepycat Software, Inc.-->
|
||||
<!--All rights reserved.-->
|
||||
<!--See the file LICENSE for redistribution information.-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Berkeley DB: Berkeley DB: C++ Handle Methods (version 4.3.21)</title>
|
||||
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
|
||||
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
|
||||
</head>
|
||||
<body bgcolor=white>
|
||||
<h3 align=center>Berkeley DB: C++ Handle Methods (version 4.3.21)</h3>
|
||||
<table border=1 align=center>
|
||||
<tr><th>C++ Handle Methods</th><th>Description</th></tr>
|
||||
<!--Db::--><tr><td><a href="../api_cxx/db_class.html">Db</a></td><td>Create a database handle</td></tr>
|
||||
<!--Db::associate--><tr><td><a href="../api_cxx/db_associate.html">Db::associate</a></td><td>Associate a secondary index</td></tr>
|
||||
<!--Db::close--><tr><td><a href="../api_cxx/db_close.html">Db::close</a></td><td>Close a database</td></tr>
|
||||
<!--Db::cursor--><tr><td><a href="../api_cxx/db_close.html">Db::close</a></td><td>Create a cursor</td></tr>
|
||||
<!--Db::cursor--><tr><td><a href="../api_cxx/db_cursor.html">Db::cursor</a></td><td>Create a cursor handle</td></tr>
|
||||
<!--Db::del--><tr><td><a href="../api_cxx/db_del.html">Db::del</a></td><td>Delete items from a database</td></tr>
|
||||
<!--Db::err--><tr><td><a href="../api_cxx/db_err.html">Db::err</a>, <a href="../api_cxx/db_err.html">Db::errx</a></td><td>Error message</td></tr>
|
||||
<!--Db::fd--><tr><td><a href="../api_cxx/db_fd.html">Db::fd</a></td><td>Return a file descriptor from a database</td></tr>
|
||||
<!--Db::get--><tr><td><a href="../api_cxx/db_get.html">Db::get</a>, <a href="../api_cxx/db_get.html">Db::pget</a></td><td>Get items from a database</td></tr>
|
||||
<!--Db::get_byteswapped--><tr><td><a href="../api_cxx/db_get_byteswapped.html">Db::get_byteswapped</a></td><td>Return if the underlying database is in host order</td></tr>
|
||||
<!--Db::get_env--><tr><td><a href="../api_cxx/db_getenv.html">Db::getenv</a></td><td>Return database environment handle</td></tr>
|
||||
<!--Db::get_mpf--><tr><td><a href="../api_cxx/db_get_mpf.html">Db::get_mpf</a></td><td>Return underlying <a href="../api_cxx/mempfile_class.html">DbMpoolFile</a> handle</td></tr>
|
||||
<!--Db::get_type--><tr><td><a href="../api_cxx/db_get_type.html">Db::get_type</a></td><td>Return the database type</td></tr>
|
||||
<!--Db::join--><tr><td><a href="../api_cxx/db_join.html">Db::join</a></td><td>Perform a database join on cursors</td></tr>
|
||||
<!--Db::key_range--><tr><td><a href="../api_cxx/db_key_range.html">Db::key_range</a></td><td>Return estimate of key location</td></tr>
|
||||
<!--Db::mpf--><tr><td><a href="../api_cxx/db_get_mpf.html">Db::get_mpf</a></td><td>Return the database's memory pool handle</td></tr>
|
||||
<!--Db::open--><tr><td><a href="../api_cxx/db_open.html">Db::open</a></td><td>Open a database</td></tr>
|
||||
<!--Db::put--><tr><td><a href="../api_cxx/db_put.html">Db::put</a></td><td>Store items into a database</td></tr>
|
||||
<!--Db::remove--><tr><td><a href="../api_cxx/db_remove.html">Db::remove</a></td><td>Remove a database</td></tr>
|
||||
<!--Db::rename--><tr><td><a href="../api_cxx/db_rename.html">Db::rename</a></td><td>Rename a database</td></tr>
|
||||
<!--Db::set_alloc--><tr><td><a href="../api_cxx/db_set_alloc.html">Db::set_alloc</a></td><td>Set local space allocation functions</td></tr>
|
||||
<!--Db::set_append_recno--><tr><td><a href="../api_cxx/db_set_append_recno.html">Db::set_append_recno</a></td><td>Set record append callback</td></tr>
|
||||
<!--Db::set_bt_compare--><tr><td><a href="../api_cxx/db_set_bt_compare.html">Db::set_bt_compare</a></td><td>Set a Btree comparison function</td></tr>
|
||||
<!--Db::set_bt_minkey--><tr><td><a href="../api_cxx/db_set_bt_minkey.html">Db::set_bt_minkey</a></td><td>Set the minimum number of keys per Btree page</td></tr>
|
||||
<!--Db::set_bt_prefix--><tr><td><a href="../api_cxx/db_set_bt_prefix.html">Db::set_bt_prefix</a></td><td>Set a Btree prefix comparison function</td></tr>
|
||||
<!--Db::set_cachesize--><tr><td><a href="../api_cxx/db_set_cachesize.html">Db::set_cachesize</a></td><td>Set the database cache size</td></tr>
|
||||
<!--Db::set_dup_compare--><tr><td><a href="../api_cxx/db_set_dup_compare.html">Db::set_dup_compare</a></td><td>Set a duplicate comparison function</td></tr>
|
||||
<!--Db::set_encrypt--><tr><td><a href="../api_cxx/db_set_encrypt.html">Db::set_encrypt</a></td><td>Set the database cryptographic key</td></tr>
|
||||
<!--Db::set_errcall--><tr><td><a href="../api_cxx/db_set_errcall.html">Db::set_errcall</a>, <a href="../api_cxx/db_set_msgcall.html">Db::set_msgcall</a></td><td>Set error and informational message callback</td></tr>
|
||||
<!--Db::set_errfile--><tr><td><a href="../api_cxx/db_set_errfile.html">Db::set_errfile</a>, <a href="../api_cxx/db_set_msgfile.html">Db::set_msgfile</a></td><td>Set error and informational message FILE</td></tr>
|
||||
<!--Db::set_error_stream--><tr><td><a href="../api_cxx/db_set_error_stream.html">Db::set_error_stream</a>, <a href="../api_cxx/db_set_msg_stream.html">Db::set_message_stream</a></td><td>Set error and informational message output stream</td></tr>
|
||||
<!--Db::set_errpfx--><tr><td><a href="../api_cxx/db_set_errpfx.html">Db::set_errpfx</a></td><td>Set error message prefix</td></tr>
|
||||
<!--Db::set_feedback--><tr><td><a href="../api_cxx/db_set_feedback.html">Db::set_feedback</a></td><td>Set feedback callback</td></tr>
|
||||
<!--Db::set_flags--><tr><td><a href="../api_cxx/db_set_flags.html">Db::set_flags</a></td><td>General database configuration</td></tr>
|
||||
<!--Db::set_h_ffactor--><tr><td><a href="../api_cxx/db_set_h_ffactor.html">Db::set_h_ffactor</a></td><td>Set the Hash table density</td></tr>
|
||||
<!--Db::set_h_hash--><tr><td><a href="../api_cxx/db_set_h_hash.html">Db::set_h_hash</a></td><td>Set a hashing function</td></tr>
|
||||
<!--Db::set_h_nelem--><tr><td><a href="../api_cxx/db_set_h_nelem.html">Db::set_h_nelem</a></td><td>Set the Hash table size</td></tr>
|
||||
<!--Db::set_lorder--><tr><td><a href="../api_cxx/db_set_lorder.html">Db::set_lorder</a></td><td>Set the database byte order</td></tr>
|
||||
<!--Db::set_pagesize--><tr><td><a href="../api_cxx/db_set_pagesize.html">Db::set_pagesize</a></td><td>Set the underlying database page size</td></tr>
|
||||
<!--Db::set_paniccall--><tr><td><a href="../api_cxx/db_set_paniccall.html">Db::set_paniccall</a></td><td>Set panic callback</td></tr>
|
||||
<!--Db::set_q_extentsize--><tr><td><a href="../api_cxx/db_set_q_extentsize.html">Db::set_q_extentsize</a></td><td>Set Queue database extent size</td></tr>
|
||||
<!--Db::set_re_delim--><tr><td><a href="../api_cxx/db_set_re_delim.html">Db::set_re_delim</a></td><td>Set the variable-length record delimiter</td></tr>
|
||||
<!--Db::set_re_len--><tr><td><a href="../api_cxx/db_set_re_len.html">Db::set_re_len</a></td><td>Set the fixed-length record length</td></tr>
|
||||
<!--Db::set_re_pad--><tr><td><a href="../api_cxx/db_set_re_pad.html">Db::set_re_pad</a></td><td>Set the fixed-length record pad byte</td></tr>
|
||||
<!--Db::set_re_source--><tr><td><a href="../api_cxx/db_set_re_source.html">Db::set_re_source</a></td><td>Set the backing Recno text file</td></tr>
|
||||
<!--Db::stat--><tr><td><a href="../api_cxx/db_stat.html">Db::stat</a>, <a href="../api_cxx/db_stat.html">Db::stat_print</a></td><td>Database statistics</td></tr>
|
||||
<!--Db::sync--><tr><td><a href="../api_cxx/db_sync.html">Db::sync</a></td><td>Flush a database to stable storage</td></tr>
|
||||
<!--Db::truncate--><tr><td><a href="../api_cxx/db_truncate.html">Db::truncate</a></td><td>Empty a database</td></tr>
|
||||
<!--Db::upgrade--><tr><td><a href="../api_cxx/db_upgrade.html">Db::upgrade</a></td><td>Upgrade a database</td></tr>
|
||||
<!--Db::verify--><tr><td><a href="../api_cxx/db_verify.html">Db::verify</a></td><td>Verify/salvage a database</td></tr>
|
||||
<!--DbCursor::close--><tr><td><a href="../api_cxx/dbc_close.html">Dbc::close</a></td><td>Close a cursor</td></tr>
|
||||
<!--DbCursor::count--><tr><td><a href="../api_cxx/dbc_count.html">Dbc::count</a></td><td>Return count of duplicates</td></tr>
|
||||
<!--DbCursor::del--><tr><td><a href="../api_cxx/dbc_del.html">Dbc::del</a></td><td>Delete by cursor</td></tr>
|
||||
<!--DbCursor::dup--><tr><td><a href="../api_cxx/dbc_dup.html">Dbc::dup</a></td><td>Duplicate a cursor</td></tr>
|
||||
<!--DbCursor::get--><tr><td><a href="../api_cxx/dbc_get.html">Dbc::get</a>, <a href="../api_cxx/dbc_get.html">Dbc::pget</a></td><td>Retrieve by cursor</td></tr>
|
||||
<!--DbCursor::put--><tr><td><a href="../api_cxx/dbc_put.html">Dbc::put</a></td><td>Store by cursor</td></tr>
|
||||
<!--DbDeadlockException--><tr><td><a href="../api_cxx/deadlock_class.html">DbDeadlockException</a></td><td>Deadlock exception</td></tr>
|
||||
<!--DbEnv::--><tr><td><a href="../api_cxx/env_class.html">DbEnv</a></td><td>Create an environment handle</td></tr>
|
||||
<!--DbEnv::close--><tr><td><a href="../api_cxx/env_close.html">DbEnv::close</a></td><td>Close an environment</td></tr>
|
||||
<!--DbEnv::dbremove--><tr><td><a href="../api_cxx/env_dbremove.html">DbEnv::dbremove</a></td><td>Remove a database</td></tr>
|
||||
<!--DbEnv::dbrename--><tr><td><a href="../api_cxx/env_dbrename.html">DbEnv::dbrename</a></td><td>Rename a database</td></tr>
|
||||
<!--DbEnv::err--><tr><td><a href="../api_cxx/env_err.html">DbEnv::err</a>, <a href="../api_cxx/env_err.html">DbEnv::errx</a></td><td>Error message</td></tr>
|
||||
<!--DbEnv::get_home--><tr><td><a href="../api_cxx/env_open.html">DbEnv::get_home</a></td><td>Return environment's home directory</td></tr>
|
||||
<!--DbEnv::get_open_flags--><tr><td><a href="../api_cxx/env_open.html">DbEnv::get_open_flags</a></td><td>Return the flags with which the environment was opened</td></tr>
|
||||
<!--DbEnv::lock_detect--><tr><td><a href="../api_cxx/lock_detect.html">DbEnv::lock_detect</a></td><td>Perform deadlock detection</td></tr>
|
||||
<!--DbEnv::lock_get--><tr><td><a href="../api_cxx/lock_get.html">DbEnv::lock_get</a></td><td>Acquire a lock</td></tr>
|
||||
<!--DbEnv::lock_id--><tr><td><a href="../api_cxx/lock_id.html">DbEnv::lock_id</a></td><td>Acquire a locker ID</td></tr>
|
||||
<!--DbEnv::lock_id_free--><tr><td><a href="../api_cxx/lock_id_free.html">DbEnv::lock_id_free</a></td><td>Release a locker ID</td></tr>
|
||||
<!--DbEnv::lock_put--><tr><td><a href="../api_cxx/lock_put.html">DbEnv::lock_put</a></td><td>Release a lock</td></tr>
|
||||
<!--DbEnv::lock_stat--><tr><td><a href="../api_cxx/lock_stat.html">DbEnv::lock_stat</a></td><td>Return lock subsystem statistics</td></tr>
|
||||
<!--DbEnv::lock_vec--><tr><td><a href="../api_cxx/lock_vec.html">DbEnv::lock_vec</a></td><td>Acquire/release locks</td></tr>
|
||||
<!--DbEnv::log_archive--><tr><td><a href="../api_cxx/log_archive.html">DbEnv::log_archive</a></td><td>List log and database files</td></tr>
|
||||
<!--DbEnv::log_file--><tr><td><a href="../api_cxx/log_file.html">DbEnv::log_file</a></td><td>Map Log Sequence Numbers to log files</td></tr>
|
||||
<!--DbEnv::log_flush--><tr><td><a href="../api_cxx/log_flush.html">DbEnv::log_flush</a></td><td>Flush log records</td></tr>
|
||||
<!--DbEnv::log_put--><tr><td><a href="../api_cxx/log_put.html">DbEnv::log_put</a></td><td>Write a log record</td></tr>
|
||||
<!--DbEnv::log_stat--><tr><td><a href="../api_cxx/log_stat.html">DbEnv::log_stat</a></td><td>Return log subsystem statistics</td></tr>
|
||||
<!--DbEnv::memp_fcreate--><tr><td><a href="../api_cxx/memp_fcreate.html">DbEnv::memp_fcreate</a></td><td>Create a memory pool file handle</td></tr>
|
||||
<!--DbEnv::memp_register--><tr><td><a href="../api_cxx/memp_register.html">DbEnv::memp_register</a></td><td>Register input/output functions for a file in a memory pool</td></tr>
|
||||
<!--DbEnv::memp_set_max_openfd--><tr><td><a href="../api_cxx/memp_openfd.html">DbEnv::set_max_openfd</a></td><td>Set the maximum number of open file descriptors</td></tr>
|
||||
<!--DbEnv::memp_set_max_write--><tr><td><a href="../api_cxx/memp_maxwrite.html">DbEnv::set_max_write</a></td><td>Set the maximum number of sequential disk writes</td></tr>
|
||||
<!--DbEnv::memp_stat--><tr><td><a href="../api_cxx/memp_stat.html">DbEnv::memp_stat</a></td><td>Return memory pool statistics</td></tr>
|
||||
<!--DbEnv::memp_sync--><tr><td><a href="../api_cxx/memp_sync.html">DbEnv::memp_sync</a></td><td>Flush pages from a memory pool</td></tr>
|
||||
<!--DbEnv::memp_trickle--><tr><td><a href="../api_cxx/memp_trickle.html">DbEnv::memp_trickle</a></td><td>Trickle flush pages from a memory pool</td></tr>
|
||||
<!--DbEnv::open--><tr><td><a href="../api_cxx/env_open.html">DbEnv::open</a></td><td>Open an environment</td></tr>
|
||||
<!--DbEnv::remove--><tr><td><a href="../api_cxx/env_remove.html">DbEnv::remove</a></td><td>Remove an environment</td></tr>
|
||||
<!--DbEnv::rep_elect--><tr><td><a href="../api_cxx/rep_elect.html">DbEnv::rep_elect</a></td><td>Hold a replication election</td></tr>
|
||||
<!--DbEnv::rep_process_message--><tr><td><a href="../api_cxx/rep_message.html">DbEnv::rep_process_message</a></td><td>Process a replication message</td></tr>
|
||||
<!--DbEnv::rep_start--><tr><td><a href="../api_cxx/rep_start.html">DbEnv::rep_start</a></td><td>Configure an environment for replication</td></tr>
|
||||
<!--DbEnv::rep_stat--><tr><td><a href="../api_cxx/rep_stat.html">DbEnv::rep_stat</a></td><td>Replication statistics</td></tr>
|
||||
<!--DbEnv::set_alloc--><tr><td><a href="../api_cxx/env_set_alloc.html">DbEnv::set_alloc</a></td><td>Set local space allocation functions</td></tr>
|
||||
<!--DbEnv::set_app_dispatch--><tr><td><a href="../api_cxx/env_set_app_dispatch.html">DbEnv::set_app_dispatch</a></td><td>Configure application recovery</td></tr>
|
||||
<!--DbEnv::set_cachesize--><tr><td><a href="../api_cxx/env_set_cachesize.html">DbEnv::set_cachesize</a></td><td>Set the environment cache size</td></tr>
|
||||
<!--DbEnv::set_cachesize--><tr><td><a href="../api_cxx/env_set_cachesize.html">DbEnv::set_cachesize</a></td><td>Set the environment cache size</td></tr>
|
||||
<!--DbEnv::set_data_dir--><tr><td><a href="../api_cxx/env_set_data_dir.html">DbEnv::set_data_dir</a></td><td>Set the environment data directory</td></tr>
|
||||
<!--DbEnv::set_encrypt--><tr><td><a href="../api_cxx/env_set_encrypt.html">DbEnv::set_encrypt</a></td><td>Set the environment cryptographic key</td></tr>
|
||||
<!--DbEnv::set_errcall--><tr><td><a href="../api_cxx/env_set_errcall.html">DbEnv::set_errcall</a>, <a href="../api_cxx/env_set_msgcall.html">DbEnv::set_msgcall</a></td><td>Set error and informational message callbacks</td></tr>
|
||||
<!--DbEnv::set_errfile--><tr><td><a href="../api_cxx/env_set_errfile.html">DbEnv::set_errfile</a>, <a href="../api_cxx/env_set_msgfile.html">DbEnv::set_msgfile</a></td><td>Set error and informational message FILE</td></tr>
|
||||
<!--DbEnv::set_error_stream--><tr><td><a href="../api_cxx/env_set_error_stream.html">DbEnv::set_error_stream</a>, <a href="../api_cxx/env_set_msg_stream.html">DbEnv::set_message_stream</a></td><td>Set error and informational message output stream</td></tr>
|
||||
<!--DbEnv::set_errpfx--><tr><td><a href="../api_cxx/env_set_errpfx.html">DbEnv::set_errpfx</a></td><td>Set error message prefix</td></tr>
|
||||
<!--DbEnv::set_feedback--><tr><td><a href="../api_cxx/env_set_feedback.html">DbEnv::set_feedback</a></td><td>Set feedback callback</td></tr>
|
||||
<!--DbEnv::set_flags--><tr><td><a href="../api_cxx/env_set_flags.html">DbEnv::set_flags</a></td><td>Environment configuration</td></tr>
|
||||
<!--DbEnv::set_lg_bsize--><tr><td><a href="../api_cxx/env_set_lg_bsize.html">DbEnv::set_lg_bsize</a></td><td>Set log buffer size</td></tr>
|
||||
<!--DbEnv::set_lg_dir--><tr><td><a href="../api_cxx/env_set_lg_dir.html">DbEnv::set_lg_dir</a></td><td>Set the environment logging directory</td></tr>
|
||||
<!--DbEnv::set_lg_max--><tr><td><a href="../api_cxx/env_set_lg_max.html">DbEnv::set_lg_max</a></td><td>Set log file size</td></tr>
|
||||
<!--DbEnv::set_lg_regionmax--><tr><td><a href="../api_cxx/env_set_lg_regionmax.html">DbEnv::set_lg_regionmax</a></td><td>Set logging region size</td></tr>
|
||||
<!--DbEnv::set_lk_conflicts--><tr><td><a href="../api_cxx/env_set_lk_conflicts.html">DbEnv::set_lk_conflicts</a></td><td>Set lock conflicts matrix</td></tr>
|
||||
<!--DbEnv::set_lk_max_detect--><tr><td><a href="../api_cxx/env_set_lk_detect.html">DbEnv::set_lk_detect</a></td><td>Set automatic deadlock detection</td></tr>
|
||||
<!--DbEnv::set_lk_max_lockers--><tr><td><a href="../api_cxx/env_set_lk_max_lockers.html">DbEnv::set_lk_max_lockers</a></td><td>Set maximum number of lockers</td></tr>
|
||||
<!--DbEnv::set_lk_max_locks--><tr><td><a href="../api_cxx/env_set_lk_max_locks.html">DbEnv::set_lk_max_locks</a></td><td>Set maximum number of locks</td></tr>
|
||||
<!--DbEnv::set_lk_max_objects--><tr><td><a href="../api_cxx/env_set_lk_max_objects.html">DbEnv::set_lk_max_objects</a></td><td>Set maximum number of lock objects</td></tr>
|
||||
<!--DbEnv::set_mp_mmapsize--><tr><td><a href="../api_cxx/env_set_mp_mmapsize.html">DbEnv::set_mp_mmapsize</a></td><td>Set maximum mapped-in database file size</td></tr>
|
||||
<!--DbEnv::set_paniccall--><tr><td><a href="../api_cxx/env_set_paniccall.html">DbEnv::set_paniccall</a></td><td>Set panic callback</td></tr>
|
||||
<!--DbEnv::set_rep_limit--><tr><td><a href="../api_cxx/rep_limit.html">DbEnv::set_rep_limit</a></td><td>Limit data sent in response to a single message</td></tr>
|
||||
<!--DbEnv::set_rep_transport--><tr><td><a href="../api_cxx/rep_transport.html">DbEnv::set_rep_transport</a></td><td>Configure replication transport</td></tr>
|
||||
<!--DbEnv::set_rpc_server--><tr><td><a href="../api_cxx/env_set_rpc_server.html">DbEnv::set_rpc_server</a></td><td>Establish an RPC server connection</td></tr>
|
||||
<!--DbEnv::set_shm_key--><tr><td><a href="../api_cxx/env_set_shm_key.html">DbEnv::set_shm_key</a></td><td>Set system memory shared segment ID</td></tr>
|
||||
<!--DbEnv::set_tas_spins--><tr><td><a href="../api_cxx/env_set_tas_spins.html">DbEnv::set_tas_spins</a></td><td>Set the number of test-and-set spins</td></tr>
|
||||
<!--DbEnv::set_timeout--><tr><td><a href="../api_cxx/env_set_timeout.html">DbEnv::set_timeout</a></td><td>Set lock and transaction timeout</td></tr>
|
||||
<!--DbEnv::set_timeout--><tr><td><a href="../api_cxx/env_set_timeout.html">DbEnv::set_timeout</a></td><td>Set lock and transaction timeout</td></tr>
|
||||
<!--DbEnv::set_timeout--><tr><td><a href="../api_cxx/env_set_timeout.html">DbEnv::set_timeout</a></td><td>Set lock and transaction timeout</td></tr>
|
||||
<!--DbEnv::set_tmp_dir--><tr><td><a href="../api_cxx/env_set_tmp_dir.html">DbEnv::set_tmp_dir</a></td><td>Set the environment temporary file directory</td></tr>
|
||||
<!--DbEnv::set_tx_max--><tr><td><a href="../api_cxx/env_set_tx_max.html">DbEnv::set_tx_max</a></td><td>Set maximum number of transactions</td></tr>
|
||||
<!--DbEnv::set_tx_timestamp--><tr><td><a href="../api_cxx/env_set_tx_timestamp.html">DbEnv::set_tx_timestamp</a></td><td>Set recovery timestamp</td></tr>
|
||||
<!--DbEnv::set_verbose--><tr><td><a href="../api_cxx/env_set_verbose.html">DbEnv::set_verbose</a></td><td>Set verbose messages</td></tr>
|
||||
<!--DbEnv::stat_print--><tr><td><a href="../api_cxx/env_stat.html">DbEnv::stat_print</a></td><td>Environment statistics</td></tr>
|
||||
<!--DbEnv::txn_begin--><tr><td><a href="../api_cxx/txn_begin.html">DbEnv::txn_begin</a></td><td>Begin a transaction</td></tr>
|
||||
<!--DbEnv::txn_checkpoint--><tr><td><a href="../api_cxx/txn_checkpoint.html">DbEnv::txn_checkpoint</a></td><td>Checkpoint the transaction subsystem</td></tr>
|
||||
<!--DbEnv::txn_recover--><tr><td><a href="../api_cxx/txn_recover.html">DbEnv::txn_recover</a></td><td>Distributed transaction recovery</td></tr>
|
||||
<!--DbEnv::txn_stat--><tr><td><a href="../api_cxx/txn_stat.html">DbEnv::txn_stat</a></td><td>Return transaction subsystem statistics</td></tr>
|
||||
<!--DbLockNotGrantedException--><tr><td><a href="../api_cxx/lockng_class.html">DbLockNotGrantedException</a></td><td>Lock-not-granted exception</td></tr>
|
||||
<!--DbLock--><tr><td><a href="../api_cxx/lock_class.html">DbLock</a></td><td>Lock object</td></tr>
|
||||
<!--DbLogc::--><tr><td><a href="../api_cxx/logc_class.html">DbLogc</a></td><td>Log Cursor Object</td></tr>
|
||||
<!--DbLogc::--><tr><td><a href="../api_cxx/log_cursor.html">DbEnv::log_cursor</a></td><td>Create a log cursor handle</td></tr>
|
||||
<!--DbLogc::close--><tr><td><a href="../api_cxx/logc_close.html">DbLogc::close</a></td><td>Close a log cursor</td></tr>
|
||||
<!--DbLogc::get--><tr><td><a href="../api_cxx/logc_get.html">DbLogc::get</a></td><td>Retrieve a log record</td></tr>
|
||||
<!--DbLsn--><tr><td><a href="../api_cxx/lsn_class.html">DbLsn</a></td><td>Log Sequence Numbers</td></tr>
|
||||
<!--DbMemoryException--><tr><td><a href="../api_cxx/memp_class.html">DbMemoryException</a></td><td>Insufficient memory exception</td></tr>
|
||||
<!--DbMpoolFile::--><tr><td><a href="../api_cxx/mempfile_class.html">DbMpoolFile</a></td><td>Memory pool file object</td></tr>
|
||||
<!--DbMpoolFile::close--><tr><td><a href="../api_cxx/memp_fclose.html">DbMpoolFile::close</a></td><td>Close a file in a memory pool</td></tr>
|
||||
<!--DbMpoolFile::get--><tr><td><a href="../api_cxx/memp_fget.html">DbMpoolFile::get</a></td><td>Get page from a file in a memory pool</td></tr>
|
||||
<!--DbMpoolFile::open--><tr><td><a href="../api_cxx/memp_fopen.html">DbMpoolFile::open</a></td><td>Open a file in a memory pool</td></tr>
|
||||
<!--DbMpoolFile::put--><tr><td><a href="../api_cxx/memp_fput.html">DbMpoolFile::put</a></td><td>Return a page to a memory pool</td></tr>
|
||||
<!--DbMpoolFile::set--><tr><td><a href="../api_cxx/memp_fset.html">DbMpoolFile::set</a></td><td>Set memory pool page attributes</td></tr>
|
||||
<!--DbMpoolFile::set_clear_len--><tr><td><a href="../api_cxx/memp_set_clear_len.html">DbMpoolFile::set_clear_len</a></td><td>Set file page bytes to be cleared</td></tr>
|
||||
<!--DbMpoolFile::set_fileid--><tr><td><a href="../api_cxx/memp_set_fileid.html">DbMpoolFile::set_fileid</a></td><td>Set file unique identifier</td></tr>
|
||||
<!--DbMpoolFile::set_flags--><tr><td><a href="../api_cxx/memp_set_flags.html">DbMpoolFile::set_flags</a></td><td>General memory pool file configuration</td></tr>
|
||||
<!--DbMpoolFile::set_ftype--><tr><td><a href="../api_cxx/memp_set_ftype.html">DbMpoolFile::set_ftype</a></td><td>Set file type</td></tr>
|
||||
<!--DbMpoolFile::set_lsn_offset--><tr><td><a href="../api_cxx/memp_set_lsn_offset.html">DbMpoolFile::set_lsn_offset</a></td><td>Set file log-sequence-number offset</td></tr>
|
||||
<!--DbMpoolFile::set_maxsize--><tr><td><a href="../api_cxx/memp_set_maxsize.html">DbMpoolFile::set_maxsize</a></td><td>Set maximum file size</td></tr>
|
||||
<!--DbMpoolFile::set_pgcookie--><tr><td><a href="../api_cxx/memp_set_pgcookie.html">DbMpoolFile::set_pgcookie</a></td><td>Set file cookie for pgin/pgout</td></tr>
|
||||
<!--DbMpoolFile::set_priority--><tr><td><a href="../api_cxx/memp_set_priority.html">DbMpoolFile::set_priority</a></td><td>Set memory pool file priority</td></tr>
|
||||
<!--DbMpoolFile::sync--><tr><td><a href="../api_cxx/memp_fsync.html">DbMpoolFile::sync</a></td><td>Flush pages from a file in a memory pool</td></tr>
|
||||
<!--DbSequence::--><tr><td><a href="../api_cxx/seq_class.html">DbSequence</a></td><td>Create a sequence handle</td></tr>
|
||||
<!--DbSequence::close--><tr><td><a href="../api_cxx/seq_close.html">DbSequence::close</a></td><td>Close a sequence</td></tr>
|
||||
<!--DbSequence::get--><tr><td><a href="../api_cxx/seq_get.html">DbSequence::get</a></td><td>Get the next sequence element(s)</td></tr>
|
||||
<!--DbSequence::get_dbp--><tr><td><a href="../api_cxx/seq_open.html">DbSequence::get_dbp</a></td><td>Return a handle for the underlying sequence database</td></tr>
|
||||
<!--DbSequence::get_key--><tr><td><a href="../api_cxx/seq_open.html">DbSequence::get_key</a></td><td>Return the key for a sequence</td></tr>
|
||||
<!--DbSequence::init_value--><tr><td><a href="../api_cxx/seq_init_value.html">DbSequence::init_value</a></td><td>Set the initial value of a sequence</td></tr>
|
||||
<!--DbSequence::open--><tr><td><a href="../api_cxx/seq_open.html">DbSequence::open</a></td><td>Open a sequence</td></tr>
|
||||
<!--DbSequence::remove--><tr><td><a href="../api_cxx/seq_remove.html">DbSequence::remove</a></td><td>Remove a sequence</td></tr>
|
||||
<!--DbSequence::set_cachesize--><tr><td><a href="../api_cxx/seq_set_cachesize.html">DbSequence::set_cachesize</a></td><td>Set the cache size of a sequence</td></tr>
|
||||
<!--DbSequence::set_flags--><tr><td><a href="../api_cxx/seq_set_flags.html">DbSequence::set_flags</a></td><td>Set the flags for a sequence</td></tr>
|
||||
<!--DbSequence::set_range--><tr><td><a href="../api_cxx/seq_set_range.html">DbSequence::set_range</a></td><td>Set the range for a sequence</td></tr>
|
||||
<!--DbSequence::stat--><tr><td><a href="../api_cxx/seq_stat.html">DbSequence::stat</a></td><td>Return sequence statistics</td></tr>
|
||||
<!--DbTxn::--><tr><td><a href="../api_cxx/txn_class.html">DbTxn</a></td><td>Transaction object</td></tr>
|
||||
<!--DbTxn::abort--><tr><td><a href="../api_cxx/txn_abort.html">DbTxn::abort</a></td><td>Abort a transaction</td></tr>
|
||||
<!--DbTxn::commit--><tr><td><a href="../api_cxx/txn_commit.html">DbTxn::commit</a></td><td>Commit a transaction</td></tr>
|
||||
<!--DbTxn::discard--><tr><td><a href="../api_cxx/txn_discard.html">DbTxn::discard</a></td><td>Discard a prepared but not resolved transaction handle</td></tr>
|
||||
<!--DbTxn::id--><tr><td><a href="../api_cxx/txn_id.html">DbTxn::id</a></td><td>Return a transaction's ID</td></tr>
|
||||
<!--DbTxn::prepare--><tr><td><a href="../api_cxx/txn_prepare.html">DbTxn::prepare</a></td><td>Prepare a transaction for commit</td></tr>
|
||||
<!--DbTxn::set_timeout--><tr><td><a href="../api_cxx/txn_set_timeout.html">DbTxn::set_timeout</a></td><td>Set transaction timeout</td></tr>
|
||||
<!--db_strerror--><tr><td><a href="../api_cxx/env_strerror.html">DbEnv::strerror</a></td><td>Error strings</td></tr>
|
||||
<!--db_version--><tr><td><a href="../api_cxx/env_version.html">DbEnv::version</a></td><td>Return version information</td></tr>
|
||||
<!--log_compare--><tr><td><a href="../api_cxx/log_compare.html">DbEnv::log_compare</a></td><td>Compare two Log Sequence Numbers</td></tr>
|
||||
</table>
|
||||
<p><font size=1><a href="../sleepycat/legal.html">Copyright (c) 1996-2004</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,54 @@
|
|||
<!--$Id: api_tcl.so,v 11.21 2003/10/18 19:16:23 bostic Exp $-->
|
||||
<!--Copyright 1997-2004 by Sleepycat Software, Inc.-->
|
||||
<!--All rights reserved.-->
|
||||
<!--See the file LICENSE for redistribution information.-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Berkeley DB: Tcl API</title>
|
||||
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
|
||||
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
|
||||
</head>
|
||||
<body bgcolor=white>
|
||||
<h3 align=center>Tcl API</h3>
|
||||
<!--$Id: m4.tcl,v 11.27 2004/09/07 15:37:41 bostic Exp $-->
|
||||
<table border=1 align=center>
|
||||
<tr><th>Tcl Command</th><th>Description</th></tr>
|
||||
<tr><td><a href="../api_tcl/env_open.html"><b>berkdb env</b></a></td><td>Create an environment handle</td></tr>
|
||||
<tr><td><a href="../api_tcl/env_remove.html"><b>berkdb envremove</b></a></td><td>Remove an environment</td></tr>
|
||||
<tr><td><a href="../api_tcl/env_close.html"><i>env</i> <b>close</b></a></td><td>Close an environment</td></tr>
|
||||
<tr><td><a href="../api_tcl/env_dbremove.html"><i>env</i> <b>dbremove</b></a></td><td>Remove a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/env_dbrename.html"><i>env</i> <b>dbrename</b></a></td><td>Rename a database</td></tr>
|
||||
<tr><td><br></td><td><br></td></tr>
|
||||
<tr><td><a href="../api_tcl/txn.html"><i>env</i> <b>txn</b></a></td><td>Begin a transaction</td></tr>
|
||||
<tr><td><a href="../api_tcl/txn_checkpoint.html"><i>env</i> <b>txn_checkpoint</b></a></td><td>Checkpoint the environment</td></tr>
|
||||
<tr><td><a href="../api_tcl/txn_abort.html"><i>txn</i> <b>abort</b></a></td><td>Abort a transaction</td></tr>
|
||||
<tr><td><a href="../api_tcl/txn_commit.html"><i>txn</i> <b>commit</b></a></td><td>Commit a transaction</td></tr>
|
||||
<tr><td><br></td><td><br></td></tr>
|
||||
<tr><td><a href="../api_tcl/db_open.html"><b>berkdb open</b></a></td><td>Create a database handle</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_remove.html"><b>berkdb dbremove</b></a></td><td>Remove a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_rename.html"><b>berkdb dbrename</b></a></td><td>Rename a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_close.html"><i>db</i> <b>close</b></a></td><td>Close a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_count.html"><i>db</i> <b>count</b></a></td><td>Return a count of a key's data items</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_cursor.html"><i>db</i> <b>cursor</b></a></td><td>Open a cursor into a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_del.html"><i>db</i> <b>del</b></a></td><td>Delete items from a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_get.html"><i>db</i> <b>get</b></a></td><td>Get items from a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_get_join.html"><i>db</i> <b>get_join</b></a></td><td>Get items from a database join</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_get_type.html"><i>db</i> <b>get_type</b></a></td><td>Return the database type</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_is_byteswapped.html"><i>db</i> <b>is_byteswapped</b></a></td><td>Return if the underlying database is in host order</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_join.html"><i>db</i> <b>join</b></a></td><td>Perform a database join on cursors</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_put.html"><i>db</i> <b>put</b></a></td><td>Store items into a database</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_stat.html"><i>db</i> <b>stat</b></a></td><td>Return database statistics</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_sync.html"><i>db</i> <b>sync</b></a></td><td>Flush a database to stable storage</td></tr>
|
||||
<tr><td><a href="../api_tcl/db_truncate.html"><i>db</i> <b>truncate</b></a></td><td>Truncate a database</td></tr>
|
||||
<tr><td><br></td><td><br></td></tr>
|
||||
<tr><td><a href="../api_tcl/dbc_close.html"><i>dbc</i> <b>close</b></a></td><td>Close a cursor</td></tr>
|
||||
<tr><td><a href="../api_tcl/dbc_del.html"><i>dbc</i> <b>del</b></a></td><td>Delete by cursor</td></tr>
|
||||
<tr><td><a href="../api_tcl/dbc_dup.html"><i>dbc</i> <b>dup</b></a></td><td>Duplicate a cursor</td></tr>
|
||||
<tr><td><a href="../api_tcl/dbc_get.html"><i>dbc</i> <b>get</b></a></td><td>Retrieve by cursor</td></tr>
|
||||
<tr><td><a href="../api_tcl/dbc_put.html"><i>dbc</i> <b>put</b></a></td><td>Store by cursor</td></tr>
|
||||
<tr><td><br></td><td><br></td></tr>
|
||||
<tr><td><a href="../api_tcl/version.html"><b>berkdb version</b></a></td><td>Return version information</td></tr>
|
||||
</table>
|
||||
<p><font size=1><a href="../sleepycat/legal.html">Copyright (c) 1996-2004</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!--$Id: macosx.so,v 11.12 2004/10/18 20:10:41 bostic Exp $-->
|
||||
<!--Copyright 1997-2004 by Sleepycat Software, Inc.-->
|
||||
<!--All rights reserved.-->
|
||||
<!--See the file LICENSE for redistribution information.-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Berkeley DB Reference Guide: Mac OS X</title>
|
||||
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
|
||||
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
|
||||
</head>
|
||||
<body bgcolor=white>
|
||||
<a name="2"><!--meow--></a>
|
||||
<table width="100%"><tr valign=top>
|
||||
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX/POSIX systems</dl></h3></td>
|
||||
<td align=right><a href="../build_unix/linux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../build_unix/osf1.html"><img src="../../images/next.gif" alt="Next"></a>
|
||||
</td></tr></table>
|
||||
<p>
|
||||
<h3 align=center>Mac OS X</h3>
|
||||
<ol>
|
||||
<p><li><b>When trying to link multiple Berkeley DB language interfaces (for
|
||||
example, Tcl, C++, Java, Python) into a single process, I get "multiple
|
||||
definitions" errors from dyld.</b>
|
||||
<p>To fix this problem, set the environment variable MACOSX_DEPLOYMENT_TARGET
|
||||
to 10.3 (or your current version of OS X), and reconfigure and rebuild
|
||||
Berkeley DB from scratch. See the OS X ld(1) and dyld(1) man pages for information
|
||||
about how OS X handles symbol namespaces, as well as undefined and
|
||||
multiply-defined symbols.</p>
|
||||
</ol>
|
||||
<table width="100%"><tr><td><br></td><td align=right><a href="../build_unix/linux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../build_unix/osf1.html"><img src="../../images/next.gif" alt="Next"></a>
|
||||
</td></tr></table>
|
||||
<p><font size=1><a href="../../sleepycat/legal.html">Copyright (c) 1996-2004</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,43 @@
|
|||
/*-
|
||||
* See the file LICENSE for redistribution information.
|
||||
*
|
||||
* Copyright (c) 2002-2004
|
||||
* Sleepycat Software. All rights reserved.
|
||||
*
|
||||
* $Id: MarshalledEnt.java,v 1.4 2004/11/01 21:45:40 mark Exp $
|
||||
*/
|
||||
|
||||
package com.sleepycat.examples.collections.ship.marshal;
|
||||
|
||||
import com.sleepycat.bind.tuple.TupleInput;
|
||||
import com.sleepycat.bind.tuple.TupleOutput;
|
||||
|
||||
/**
|
||||
* MarshalledEnt is implemented by entity (combined key/data) objects and
|
||||
* called by {@link SampleViews.MarshalledEntityBinding}. In this sample,
|
||||
* MarshalledEnt is implemented by {@link Part}, {@link Supplier}, and
|
||||
* {@link Shipment}. This interface is package-protected rather than public
|
||||
* to hide the marshalling interface from other users of the data objects.
|
||||
* Note that a MarshalledEnt must also have a no arguments constructor so
|
||||
* that it can be instantiated by the binding.
|
||||
*
|
||||
* @author Mark Hayes
|
||||
*/
|
||||
interface MarshalledEnt {
|
||||
|
||||
/**
|
||||
* Extracts the entity's primary key and writes it to the key output.
|
||||
*/
|
||||
void marshalPrimaryKey(TupleOutput keyOutput);
|
||||
|
||||
/**
|
||||
* Completes construction of the entity by setting its primary key from the
|
||||
* stored primary key.
|
||||
*/
|
||||
void unmarshalPrimaryKey(TupleInput keyInput);
|
||||
|
||||
/**
|
||||
* Extracts the entity's index key and writes it to the key output.
|
||||
*/
|
||||
boolean marshalSecondaryKey(String keyName, TupleOutput keyOutput);
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
phpincludedir=$(prefix)/include/php
|
||||
|
||||
PHP_DB4_HEADER_FILES = php_db4.h
|
||||
|
||||
install-db4-headers:
|
||||
@echo "Installing php_db4 headers: $(INSTALL_ROOT)$(phpincludedir)/ext/db4/"
|
||||
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/db4
|
||||
@for f in $(PHP_DB4_HEADER_FILES); do \
|
||||
if test -f "$(top_srcdir)/$$f"; then \
|
||||
$(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/db4; \
|
||||
elif test -f "$(top_builddir)/$$f"; then \
|
||||
$(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/db4; \
|
||||
elif test -f "$(top_srcdir)/ext/db4/$$f"; then \
|
||||
$(INSTALL_DATA) $(top_srcdir)/ext/db4/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/db4; \
|
||||
elif test -f "$(top_builddir)/ext/db4/$$f"; then \
|
||||
$(INSTALL_DATA) $(top_builddir)/ext/db4/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/db4; \
|
||||
else \
|
||||
echo "hmmm"; \
|
||||
fi \
|
||||
done;
|
||||
|
||||
install: $(all_targets) $(install_targets) install-db4-headers
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
// Create a new Db4 Instance
|
||||
$db = new Db4();
|
||||
|
||||
// Open it outside a Db4Env environment with datafile/var/lib/db4
|
||||
// and database name "test"
|
||||
$db->open(null, "/var/lib/db4", "test");
|
||||
|
||||
// Get the current value of "counter"
|
||||
$counter = $db->get("counter");
|
||||
print "Counter Value is $counter";
|
||||
|
||||
// Increment $counter and put() it.
|
||||
$db->put("counter", $counter+1);
|
||||
// Sync to be certain, since we're leaving the handle open
|
||||
$db->sync();
|
||||
?>
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
// Open a new Db4Env
|
||||
$dbenv = new Db4Env();
|
||||
$dbenv->set_data_dir("/var/lib/dbhome");
|
||||
$dbenv->open("/var/lib/dbhome/test");
|
||||
|
||||
// Open a database in $dbenv. Note that even though
|
||||
// we pass null in as the transaction, db4 forces this
|
||||
// operation to be transactionally protected, so PHP
|
||||
// will force auto-commit internally.
|
||||
$db = new Db4($dbenv);
|
||||
$db->open(null, 'a', 'foo');
|
||||
|
||||
$counter = $db->get("counter");
|
||||
// Create a new transaction
|
||||
$txn = $dbenv->txn_begin();
|
||||
if($txn == false) {
|
||||
print "txn_begin failed";
|
||||
exit;
|
||||
}
|
||||
print "Current value of counter is $counter\n";
|
||||
|
||||
// Increment and reset counter, protect it with $txn
|
||||
$db->put("counter", $counter+1, $txn);
|
||||
|
||||
// Commit the transaction, otherwise the above put() will rollback.
|
||||
$txn->commit();
|
||||
// Sync for good measure
|
||||
$db->sync();
|
||||
// This isn't a real close, use _close() for that.
|
||||
$db->close();
|
||||
?>
|
|
@ -0,0 +1,69 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <strings.h>
|
||||
|
||||
void
|
||||
chk(f, str)
|
||||
char *f, *str;
|
||||
{
|
||||
char *s;
|
||||
int ch, l, ok, pc;
|
||||
|
||||
if (freopen(f, "r", stdin) == NULL) {
|
||||
fprintf(stderr, "%s: %s\n", f, strerror(errno));
|
||||
exit (1);
|
||||
}
|
||||
|
||||
for (l = 1, ok = 1, s = str; (ch = getchar()) != EOF;) {
|
||||
if (ch == '\n')
|
||||
++l;
|
||||
if (!ok || ch != *s) {
|
||||
s = str;
|
||||
ok = !isalpha(ch) && !isdigit(ch) && ch != '_';
|
||||
continue;
|
||||
}
|
||||
if (*++s != '\0')
|
||||
continue;
|
||||
|
||||
/* Match. */
|
||||
printf("%s: %d: %s", f, l, str);
|
||||
for (pc = 1; (ch = getchar()) != EOF;) {
|
||||
switch (ch) {
|
||||
case '(':
|
||||
++pc;
|
||||
break;
|
||||
case ')':
|
||||
--pc;
|
||||
break;
|
||||
case '\n':
|
||||
++l;
|
||||
break;
|
||||
}
|
||||
if (ch == '\n')
|
||||
putchar(' ');
|
||||
else
|
||||
putchar(ch);
|
||||
if (pc <= 0) {
|
||||
putchar('\n');
|
||||
break;
|
||||
}
|
||||
}
|
||||
s = str;
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int r;
|
||||
|
||||
for (r = 0; *++argv != NULL;) {
|
||||
chk(*argv, "F_ISSET(");
|
||||
chk(*argv, "F_CLR(");
|
||||
chk(*argv, "F_SET(");
|
||||
}
|
||||
return (0);
|
||||
}
|
Loading…
Reference in New Issue