summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/path.h b/src/path.h
index d6b8bdae2..67234072a 100644
--- a/src/path.h
+++ b/src/path.h
@@ -23,10 +23,9 @@
#include <sys/param.h>
-extern char musicDir[MAXPATHLEN+1];
-extern char playlistDir[MAXPATHLEN+1];
+extern char * musicDir;
-void initPaths();
+void initPaths(char * playlistDirArg, char * musicDirArg);
void finishPaths();
@@ -52,5 +51,7 @@ char * parentPath(char * path);
/* strips extra "///" and leading "/" and trailing "/" */
char * sanitizePathDup(char * path);
+char * prependCwdToPathDup(char * path);
+
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */