aboutsummaryrefslogtreecommitdiffstats
path: root/src/strset.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-25use g_free() instead of free()Max Kellermann1-2/+2
On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete.
2009-01-03strset: use GLib instead of utils.hMax Kellermann1-3/+3
2008-12-29removed os_compat.hMax Kellermann1-1/+3
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
2008-12-02replaced mpd_malloc by G_GNUC_MALLOCThomas Jansen1-1/+1
We want to remove gcc.h eventually. This takes care of all the G_GNUC_MALLOC macros.
2008-09-08strset: fix duplicate valuesMax Kellermann1-1/+1
Due to a minor typo, the string set had duplicate values, because strset_add() didn't check the base slot properly.
2008-09-08added string set libraryMax Kellermann1-0/+144
"struct strset" is a hashed string set: you can add strings to this library, and it stores them as a set of unique strings. You can get the size of the set, and you can enumerate through all values. This will be used to replace the linear tagTracker library.