aboutsummaryrefslogtreecommitdiffstats
path: root/src/strset.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* use g_free() instead of free()Max Kellermann2009-01-251-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.
* strset: use GLib instead of utils.hMax Kellermann2009-01-031-3/+3
|
* removed os_compat.hMax Kellermann2008-12-291-1/+3
| | | | | Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
* replaced mpd_malloc by G_GNUC_MALLOCThomas Jansen2008-12-021-1/+1
| | | | | We want to remove gcc.h eventually. This takes care of all the G_GNUC_MALLOC macros.
* strset: fix duplicate valuesMax Kellermann2008-09-081-1/+1
| | | | | Due to a minor typo, the string set had duplicate values, because strset_add() didn't check the base slot properly.
* added string set libraryMax Kellermann2008-09-081-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.