NetworkManager/shared/c-rbtree
Thomas Haller 3f6a2588cd
shared/c-rbtree: reimport
git subtree pull --prefix shared/c-rbtree git@github.com:c-util/c-rbtree.git master --squash
2021-01-15 11:16:25 +01:00
..
.github/workflows shared/c-rbtree: reimport 2020-06-03 22:08:05 +02:00
src c-rbtree: align CRBTree with CRBNode 2020-10-21 10:38:34 +02:00
subprojects shared/c-rbtree: reimport 2021-01-15 11:16:25 +01:00
.editorconfig Merge commit '4f4e96655625a0ad8c5fc451c5a3a8dda3bf5456' as 'shared/c-rbtree' 2018-09-18 15:08:46 +02:00
.gitmodules shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
AUTHORS shared/c-rbtree: reimport 2020-10-21 10:40:29 +02:00
meson.build shared/c-rbtree: reimport 2020-06-03 22:08:05 +02:00
NEWS.md shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
README.md shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00

c-rbtree

Intrusive Red-Black Tree Collection

The c-rbtree project implements an intrusive collection based on red-black trees in ISO-C11. Its API guarantees the user full control over its data-structures, and rather limits itself to just the tree-specific rebalancing and coloring operations. For API documentation, see the c-rbtree.h header file, as well as the docbook comments for each function.

Project

Requirements

The requirements for this project are:

  • libc (e.g., glibc >= 2.16)

At build-time, the following software is required:

  • meson >= 0.41
  • pkg-config >= 0.29

Build

The meson build-system is used for this project. Contact upstream documentation for detailed help. In most situations the following commands are sufficient to build and install from source:

mkdir build
cd build
meson setup ..
ninja
meson test
ninja install

No custom configuration options are available.

Repository:

License:

  • Apache-2.0 OR LGPL-2.1-or-later
  • See AUTHORS file for details.