New functions hmap_moved(), shash_moved().
[sliver-openvswitch.git] / lib / shash.c
index 53abbe4..a5bfecf 100644 (file)
@@ -46,6 +46,12 @@ shash_swap(struct shash *a, struct shash *b)
     hmap_swap(&a->map, &b->map);
 }
 
+void
+shash_moved(struct shash *sh)
+{
+    hmap_moved(&sh->map);
+}
+
 void
 shash_clear(struct shash *sh)
 {