lib: New data structure - smap.
authorEthan Jackson <ethan@nicira.com>
Tue, 22 May 2012 10:47:36 +0000 (03:47 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 14 Jun 2012 22:09:31 +0000 (15:09 -0700)
commit79f1cbe9f86ddfb1b5d92b80d85e09cd44768d6c
treeed939ff9be1118013c49233340ce4dda940eebb9
parent37344ffa58cdc6c057ef06c6822528c8fe08bb93
lib: New data structure - smap.

A smap is a string to string hash map.  It has a cleaner interface
than shash's which were traditionally used for the same purpose.
This patch implements the data structure, and changes netdev and
its providers to use it.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
13 files changed:
lib/automake.mk
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev-vport.c
lib/netdev.c
lib/netdev.h
lib/shash.c
lib/shash.h
lib/smap.c [new file with mode: 0644]
lib/smap.h [new file with mode: 0644]
utilities/ovs-dpctl.c
utilities/ovs-vsctl.c
vswitchd/bridge.c