X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fhmap.h;h=a987fa48886bc68ce9401ac4be491e70314acf12;hb=739e1050dcc320af88e7ab227a15d26eb63e5726;hp=f6d2827406845ab83ac39c770bc4b877a1935ac9;hpb=772ec52b896380f23b587bea4a5bf18edd22449d;p=openvswitch diff --git a/lib/hmap.h b/lib/hmap.h index f6d28274..a987fa48 100644 --- a/lib/hmap.h +++ b/lib/hmap.h @@ -157,6 +157,9 @@ static inline struct hmap_node *hmap_first(const struct hmap *); static inline struct hmap_node *hmap_next(const struct hmap *, const struct hmap_node *); +struct hmap_node *hmap_at_position(const struct hmap *, + uint32_t *bucket, uint32_t *offset); + /* Returns the number of nodes currently in 'hmap'. */ static inline size_t hmap_count(const struct hmap *hmap)