Crate lmdb_sys

Source

Structs§

Constants§

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 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 buillt 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 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 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 Aliases§

  • @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 Cursor Get operations.
  • @brief A handle for an individual database in the DB environment.
  • @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.