]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic: add RB-Tree implementation 2115/head
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 7 Dec 2015 17:34:05 +0000 (18:34 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 7 Dec 2015 17:34:05 +0000 (18:34 +0100)
commita0e4cae82065edae47885614d73c534171aa8f7b
treee8d988cf71cf7cc9c3e2ab7ac72ab37c585f3ae8
parent1941d19a5407ff9fecb6a6b02dfc8b3ca6de9bd8
basic: add RB-Tree implementation

This adds an self-standing RB-Tree implementation to src/basic/. This
will be needed for NSEC RR lookups, since we need "close lookups", which
hashmaps (not even ordered-hashmaps) can give us in reasonable time.
.gitignore
Makefile.am
src/basic/c-rbtree.c [new file with mode: 0644]
src/basic/c-rbtree.h [new file with mode: 0644]
src/test/test-rbtree.c [new file with mode: 0644]