basic: add set_equal() helper

This commit is contained in:
Lennart Poettering
2021-02-18 16:38:27 +01:00
parent 95aa3937da
commit e4304fb8d4
3 changed files with 107 additions and 0 deletions
+2
View File
@@ -152,3 +152,5 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free);
#define _cleanup_set_free_free_ _cleanup_(set_free_freep)
int set_strjoin(Set *s, const char *separator, bool wrap_with_separator, char **ret);
bool set_equal(Set *a, Set *b);