hmap: Add function to mark an hmap_node as "null" and check for the mark.
authorBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 01:02:00 +0000 (17:02 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 01:07:15 +0000 (17:07 -0800)
commit1e68c0730d0753e9a796a0d6d4b95933f7cdfbd2
treeeae471ff91de6e2a940e04b4aa43d4d08fb32e1d
parentb0fc010acb340f51a0517c36fbcdedd4f40f800e
hmap: Add function to mark an hmap_node as "null" and check for the mark.

This is useful in cases where one might want to know whether an hmap_node
is actually part of an hmap, without using a separate variable to indicate
it.
lib/hmap.h