mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
sset: New function sset_from_delimited_string().
This simplifies code in a couple of places. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-By: Ryan Moats <rmoats@us.ibm.com>
This commit is contained in:
@@ -43,6 +43,9 @@ void sset_clone(struct sset *, const struct sset *);
|
||||
void sset_swap(struct sset *, struct sset *);
|
||||
void sset_moved(struct sset *);
|
||||
|
||||
void sset_from_delimited_string(struct sset *, const char *s,
|
||||
const char *delimiters);
|
||||
|
||||
/* Count. */
|
||||
bool sset_is_empty(const struct sset *);
|
||||
size_t sset_count(const struct sset *);
|
||||
|
||||
Reference in New Issue
Block a user