aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/directory.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/directory.h b/src/directory.h
index a607d254d..cb587234f 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -35,7 +35,7 @@ typedef struct _DirectoryStat {
} DirectoryStat;
typedef struct _Directory {
- char * utf8name;
+ char * name;
DirectoryList * subDirectories;
SongList * songs;
struct _Directory * parent;
@@ -75,6 +75,9 @@ int traverseAllIn(FILE * fp, char * name,
int (*forEachDir)(FILE *, Directory *, void *),
void * data);
+/* don't free this */
+char * getDirectoryPath(Directory * dir);
+
/* free the string that is returned */
char * catDirAndFileName(Directory * dir, char * filename);