aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.