aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* all: Update copyright header.Avuton Olrich2009-03-131-0/+19
| | | | | | | | 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.
* dirvec: migrate from pthread to glib threadsThomas Jansen2008-12-281-0/+4
|
* added prefix to header macrosMax Kellermann2008-10-311-2/+2
| | | | | | | "LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
* dirvec: add dirvec_for_each iteratorEric Wong2008-10-211-0/+3
| | | | This will make it easier to introduce locking
* dirvec: added dirvec_clear()Max Kellermann2008-10-091-0/+6
|
* dirvec: constant pointers in dirvec_find()Max Kellermann2008-10-091-1/+1
| | | | | dirvec_find() does not modify the object, thus it should get a const pointer.
* directory: moved dirvec struct declaration to dirvec.hMax Kellermann2008-10-091-1/+6
| | | | | No idea why it was created in directory.h, but it should be in dirvec.h.
* directory: converted typedef Directory to struct directoryMax Kellermann2008-10-081-4/+4
| | | | | The struct can be forward-declared by other headers, which relaxes the header dependencies.
* dirvec: moved code to dirvec.cMax Kellermann2008-10-081-62/+5
| | | | | | | | Having all functions as static (non-inline) functions generates GCC warnings, and duplicates binary code across several object files. Most of dirvec's methods are too complex for becoming inline functions. Move them all to dirvec.c and publish the prototypes in dirvec.h.
* directory: replace DirectoryList with dirvecEric Wong2008-09-291-0/+73
Small memory reduction compared to songvec since most users have much fewer dirs than songs, but still nice to have.