]> git.openfabrics.org - ~shefty/rdma-win.git/commit
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)
commitee39e71891db8ba9adf90970f003f75687f21380
tree9cf7a23c8e20fa583f20a7f756f9fc73fb5ecac3
parent79ce410eb9495f62daec23c80b7d65c347af535f
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@2121 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/etc/user/dlist.c [new file with mode: 0644]
trunk/inc/user/dlist.h [new file with mode: 0644]