chiark / gitweb /
basic: add LIST_INSERT_BEFORE
authorAlex Crawford <alex.crawford@coreos.com>
Tue, 4 Aug 2015 06:11:53 +0000 (23:11 -0700)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:18:46 +0000 (10:18 +0100)
commite0e1a15baff1aa6f5844b156530f4081cc5cd827
tree68853d73f0799139ddb8c23e5ad145b5fb1b8b25
parentfd1baa4c34eaa8d2345ae70840090ae950992145
basic: add LIST_INSERT_BEFORE

Similar in function to LIST_INSERT_AFTER, this will insert a new element
into the list before the specified position. If the specified position
is NULL, the element is added as the tail of the list.
src/basic/list.h