sset: Add sset_at_position() function.
[openvswitch] / lib / sset.h
index f63f4ab9e4794c40a1e5b3ba026082de79af8192..327074c9f6c17a68948e813727bebbaae309baef 100644 (file)
@@ -64,6 +64,8 @@ char *sset_pop(struct sset *);
 struct sset_node *sset_find(const struct sset *, const char *);
 bool sset_contains(const struct sset *, const char *);
 bool sset_equals(const struct sset *, const struct sset *);
+struct sset_node *sset_at_position(const struct sset *,
+                                   uint32_t *bucketp, uint32_t *offsetp);
 
 /* Iteration macros. */
 #define SSET_FOR_EACH(NAME, SSET)               \