diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-11 02:36:25 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-11 02:36:25 +0000 |
commit | 4ec3df033954d01663087011efecfca37749f965 (patch) | |
tree | ecf4d199b1c4ea3cbbb78c0904a3ba9a4e00efc9 /src/directory.h | |
parent | 03f02badf02adba317f6358bc0e1ebf669b48204 (diff) |
implement saved memory by not storing full path
git-svn-id: https://svn.musicpd.org/mpd/trunk@2601 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/directory.h')
-rw-r--r-- | src/directory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/directory.h b/src/directory.h index b0b2c843c..a607d254d 100644 --- a/src/directory.h +++ b/src/directory.h @@ -74,4 +74,8 @@ int traverseAllIn(FILE * fp, char * name, int (*forEachSong)(FILE *, Song *, void *), int (*forEachDir)(FILE *, Directory *, void *), void * data); + +/* free the string that is returned */ +char * catDirAndFileName(Directory * dir, char * filename); + #endif |