X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fset.h;h=e5d46e9a8f7d0270638b1fc91cc36426c2f22807;hb=7b870f607bcb8f445d4d29a776d12d9de3bf1487;hp=8864f7b34e86b887bf53bde36c79f9a879a0ff58;hpb=dfb33a9737e62ab872d3937b7690b252d2892fe8;p=elogind.git diff --git a/src/shared/set.h b/src/shared/set.h index 8864f7b34..e5d46e9a8 100644 --- a/src/shared/set.h +++ b/src/shared/set.h @@ -46,6 +46,7 @@ Set* set_copy(Set *s); int set_ensure_allocated(Set **s, hash_func_t hash_func, compare_func_t compare_func); int set_put(Set *s, void *value); +int set_consume(Set *s, void *value); int set_replace(Set *s, void *value); void *set_get(Set *s, void *value); bool set_contains(Set *s, void *value);