util: add minimal OrderedSet type
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Apr 2015 15:22:15 +0000 (17:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 8 Apr 2015 15:22:15 +0000 (17:22 +0200)
commit4a280a7e78e633bd57cd1d5e6333d8fa29906e42
tree269d746c9412f7e64749634be50cc7e90052d036
parent298a35ab54dba269fe94ac33f790792cf9f6a485
util: add minimal OrderedSet type

OrderedSet implements a Set-like structure, but maintains insertion
ordered. It is hence to Set what OrderedHashmap is for Hashmap.

Internally, this is only a wrapper around OrderedHashmap for now, but
this could one day be improved and be added to hashmap.c natively.
Makefile.am
src/shared/ordered-set.h [new file with mode: 0644]