smap: Add smap_equal().
authorRussell Bryant <rbryant@redhat.com>
Fri, 31 Jul 2015 17:14:40 +0000 (13:14 -0400)
committerBen Pfaff <blp@nicira.com>
Fri, 31 Jul 2015 22:26:31 +0000 (15:26 -0700)
commit7962b7f0168ef7d041ff820d66553b30b15b106f
treef8aa858c26cf8c8cda6b61e32b66398615c7e67e
parent29bae5412ea3c6a1e20d79afd25c11b968dffa05
smap: Add smap_equal().

Add a method to determine of two smaps are equal (have the exact same
set of key-value pairs).

Suggested-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/smap.c
lib/smap.h