etc/dlist: add simple userspace doubly-linked list abstraction
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 23 Apr 2009 19:06:12 +0000 (19:06 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 23 Apr 2009 19:06:12 +0000 (19:06 +0000)
commit11dcdde9755f5338406daa8ffae52413caf96a53
tree91982bae549cb2ca0376080dc81106f2b37a80a4
parent0b33c05726db8038974c7e7872c7153501363490
etc/dlist: add simple userspace doubly-linked list abstraction

Add a very simple implementation for managing a doubly-linked list.
This implementation uses only a 'list entry' structure for both the
list and items on the list, versus separate structures like complib.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2121 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
etc/user/dlist.c [new file with mode: 0644]
inc/user/dlist.h [new file with mode: 0644]