mdb - Online Linux Manual PageSection : 3
Updated : Sat Feb 4 2023
Source : LMDB

NAMEmdb − LMDB API
 − OpenLDAP Lightning Memory-Mapped Database Manager​.

SYNOPSIS

ModulesVersion Macros
Environment Flags
Database Flags
Write Flags

Data Structuresstruct MDB_val
Generic structure used for passing keys and data in and out of the database​.

Typedefstypedef unsigned int MDB_dbi
A handle for an individual database in the DB environment​.
typedef int() MDB_cmp_func(const MDB_val *a, const MDB_val *b)
A callback function used to compare two keys in a database​.
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​.

Detailed DescriptionOpenLDAP Lightning Memory-Mapped Database Manager​.

Data Structure Documentation

struct MDB_valGeneric 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​. Data Fields size_t mv_size
void * mv_data

Typedef Documentation

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 item The item that is to be relocated​.
oldptr The previous address​.
newptr The new address to relocate to​.
relctx An application-provided context, set by mdb_set_relctx()​.
Todo This feature is currently unimplemented​.

AuthorGenerated automatically by Doxygen for LMDB from the source code​.
0
Johanes Gumabo
Data Size   :   11,747 byte
man-mdb.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 198,821
Visitor ID   :     :  
Visitor IP   :   3.15.214.244   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.