Crate lmdb_master3_sys

source ·

Structs

@brief A structure for dynamically loaded crypto modules.
@brief Information about the environment
@brief Statistics for a database in the environment
@brief Generic structure used for passing keys and data in and out of the database.

Constants

< Position at first key/data item
< Position at first data item of current key. Only for #MDB_DUPSORT
< Position at key/data pair. Only for #MDB_DUPSORT
< position at key, nearest data. Only for #MDB_DUPSORT
< Return key/data at current cursor position
< Return up to a page of duplicate data items from current cursor position. Move cursor to prepare for #MDB_NEXT_MULTIPLE. Only for #MDB_DUPFIXED
< Position at last key/data item
< Position at last data item of current key. Only for #MDB_DUPSORT
< Position at next data item
< Position at next data item of current key. Only for #MDB_DUPSORT
< Return up to a page of duplicate data items from next cursor position. Move cursor to prepare for #MDB_NEXT_MULTIPLE. Only for #MDB_DUPFIXED
< Position at first data item of next key
< Position at previous data item
< Position at previous data item of current key. Only for #MDB_DUPSORT
< Position at previous page and return up to a page of duplicate data items. Only for #MDB_DUPFIXED
< Position at last data item of previous key
< Position at specified key
< Position at specified key, return key + data
< Position at first key greater than or equal to specified key.

Functions

@brief Compare two data items according to a particular database.
@brief Close a cursor handle.
@brief Return count of duplicates for current key.
@brief Return the cursor’s database handle.
@brief Delete current key/data pair
@brief Retrieve by cursor.
@brief Check if the cursor is pointing to a named database record.
@brief Create a cursor handle.
@brief Store by cursor.
@brief Renew a cursor handle.
@brief Return the cursor’s transaction handle.
@brief Close a database handle. Normally unnecessary. Use with care:
@brief Retrieve the DB flags for a database handle.
@brief Open a database in the environment.
@brief Compare two data items according to a particular database.
@brief Delete items from a database.
@brief Empty or delete+close a database.
@brief Close the environment and release the memory map.
@brief Copy an LMDB environment to the specified path.
@brief Copy an LMDB environment to the specified path, with options.
@brief Copy an LMDB environment to the specified file descriptor.
@brief Copy an LMDB environment to the specified file descriptor, with options.
@brief Create an LMDB environment handle.
@brief Return the filedescriptor for the given environment.
@brief Get environment flags.
@brief Get the maximum size of keys and #MDB_DUPSORT data we can write.
@brief Get the maximum number of threads/reader slots for the environment.
@brief Return the path that was used in #mdb_env_open().
@brief Get the application information associated with the #MDB_env.
@brief Return information about the LMDB environment.
@brief Open an environment handle.
Set or reset the assert() callback of the environment. Disabled if liblmdb is built with NDEBUG. @note This hack should become obsolete as lmdb’s error handling matures. @param[in] env An environment handle returned by #mdb_env_create(). @param[in] func An #MDB_assert_func function, or 0. @return A non-zero error value on failure and 0 on success.
@brief Set checksums on an environment.
@brief Set encryption on an environment.
@brief Set environment flags.
@brief Set the size of the memory map to use for this environment.
@brief Set the maximum number of named databases for the environment.
@brief Set the maximum number of threads/reader slots for the environment.
@brief Set the size of DB pages in bytes.
@brief Set application information associated with the #MDB_env.
@brief Return statistics about the LMDB environment.
@brief Flush the data buffers to disk.
@brief Get items from a database.
@brief Store items into a database.
@brief Check for stale entries in the reader lock table.
@brief Dump the entries in the reader lock table.
@brief Set a custom key comparison function for a database.
@brief Set a custom data comparison function for a #MDB_DUPSORT database.
@brief Set a context pointer for a #MDB_FIXEDMAP database’s relocation function.
@brief Set a relocation function for a #MDB_FIXEDMAP database.
@brief Retrieve statistics for a database.
@brief Return a string describing a given error code.
@brief Abandon all the operations of the transaction instead of saving them.
@brief Create a transaction for use with the environment.
@brief Commit all the operations of a transaction into the database.
@brief Returns the transaction’s #MDB_env
@brief Return the transaction’s ID.
@brief Renew a read-only transaction.
@brief Reset a read-only transaction.
@brief Return the LMDB library version information.

Type Definitions

@brief A callback function for most LMDB assert() failures, called before printing the message and aborting.
@brief A callback function used to compare two keys in a database
@brief The function that returns the #MDB_crypto_funcs structure.
@brief Cursor Get operations.
@brief A handle for an individual database in the DB environment.
@brief A callback function used to encrypt/decrypt pages in the env.
@brief A callback function used to print a message from the library.
@brief A callback function used to relocate a position-dependent data item in a fixed-address database.
@brief A function for converting a string into an encryption key.
@brief A callback function used to checksum pages in the env.
Unsigned type used for mapsize, entry counts and page/transaction IDs.