Catalli's threaded switch
[sliver-openvswitch.git] / lib / hmap.h
index 2f4a302..d567499 100644 (file)
@@ -89,6 +89,8 @@ void hmap_node_moved(struct hmap *, struct hmap_node *, struct hmap_node *);
 static inline void hmap_replace(struct hmap *, const struct hmap_node *old,
                                 struct hmap_node *new);
 
+struct hmap_node *hmap_random_node(const struct hmap *);
+
 /* Search.
  *
  * HMAP_FOR_EACH_WITH_HASH iterates NODE over all of the nodes in HMAP that