X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=set.h;h=d8ef7aa540676559fde16eafc8b3d5b8d7c70f75;hp=a2e405941c618cc2b08df95cdbf63a08458f0dec;hb=cea8e32e3fc57569094e2ddf4167f2a9864fc3a4;hpb=91cdde8a7a08c6797995cc67f4b55ac43780cdd8 diff --git a/set.h b/set.h index a2e405941..d8ef7aa54 100644 --- a/set.h +++ b/set.h @@ -18,6 +18,7 @@ Set* set_copy(Set *s); void set_free(Set* s); int set_put(Set *s, void *value); +int set_replace(Set *s, void *value); void *set_get(Set *s, void *value); void *set_remove(Set *s, void *value); @@ -29,6 +30,7 @@ bool set_isempty(Set *s); void *set_iterate(Set *s, void **state); void *set_iterate_backwards(Set *s, void **state); +void set_clear(Set *s); void *set_steal_first(Set *s); void* set_first(Set *s); void* set_last(Set *s);