]> git.proxmox.com Git - mirror_frr.git/commit
lib: add DECLARE_DLIST (double-linked list)
authorDavid Lamparter <equinox@diac24.net>
Sun, 12 May 2019 10:05:44 +0000 (12:05 +0200)
committerDavid Lamparter <equinox@diac24.net>
Tue, 21 May 2019 20:46:35 +0000 (22:46 +0200)
commit074bbdae350c5a0c982a968696ab417e1d74ad06
treed6e262bff798db7f754c79ce5e340e85695ab8f2
parent312fee02c8782a5db7274a7c1517811a1326a783
lib: add DECLARE_DLIST (double-linked list)

Turns out we need one of these.  Same API as DECLARE_LIST, but deleting
random items is much faster.

Signed-off-by: David Lamparter <equinox@diac24.net>
(cherry picked from commit fdad523b547e68a2170a7e5fec4bad98222cb9a0)
doc/developer/lists.rst
lib/typesafe.h