A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/group__mdb.html below:

NCBI C++ ToolKit: LMDB API

OpenLDAP Lightning Memory-Mapped Database Manager. More...

struct   MDB_val   Generic structure used for passing keys and data in and out of the database. More...
 

OpenLDAP Lightning Memory-Mapped Database Manager.

◆ MDB_cmp_func

A callback function used to compare two keys in a database.

Definition at line 263 of file lmdb.h.

◆ MDB_cursor

Opaque structure for navigating through a database.

Definition at line 241 of file lmdb.h.

◆ MDB_dbi

A handle for an individual database in the DB environment.

Definition at line 241 of file lmdb.h.

◆ MDB_env

Opaque structure for a database environment.

A DB environment supports multiple databases, all residing in the same shared-memory map.

Definition at line 188 of file lmdb.h.

◆ MDB_rel_func typedef void() MDB_rel_func(MDB_val *item, void *oldptr, void *newptr, void *relctx)

A callback function used to relocate a position-dependent data item in a fixed-address database.

The newptr gives the item's desired address in the memory map, and oldptr gives its previous address. The item's actual data resides at the address in item. This callback is expected to walk through the fields of the record in item and modify any values based at the oldptr address to be relative to the newptr address.

Parameters
[in,out] item The item that is to be relocated. [in] oldptr The previous address. [in] newptr The new address to relocate to. [in] relctx An application-provided context, set by mdb_set_relctx().

The newptr gives the item's desired address in the memory map, and oldptr gives its previous address. The item's actual data resides at the address in item. This callback is expected to walk through the fields of the record in item and modify any values based at the oldptr address to be relative to the newptr address.

Parameters
[in,out] item The item that is to be relocated. [in] oldptr The previous address. [in] newptr The new address to relocate to. [in] relctx An application-provided context, set by mdb_set_relctx().

Definition at line 279 of file lmdb.h.

◆ MDB_txn

Opaque structure for a transaction handle.

All database operations require a transaction handle. Transactions may be read-only or read-write.

Definition at line 188 of file lmdb.h.

◆ MDB_val

Generic structure used for passing keys and data in and out of the database.

Values returned from the database are valid only until a subsequent update operation, or the end of the transaction. Do not modify or free them, they commonly point into the database itself.

Key sizes must be between 1 and mdb_env_get_maxkeysize() inclusive. The same applies to data sizes in databases with the MDB_DUPSORT flag. Other data items can in theory be from 0 to 0xffffffff bytes long.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4