summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.h b/common.h
index 8ac08d46..13515721 100644
--- a/common.h
+++ b/common.h
@@ -21,4 +21,10 @@
#define min(x,y) ((x)<(y)?(x):(y))
#define max(x,y) ((x)>(y)?(x):(y))
+// those are defined in main.c
+extern char confdir[1024]; // $HOME/.config
+extern char dbconfdir[1024]; // $HOME/.config/deadbeef
+extern char defpl[1024]; // $HOME/.config/deadbeef/default.dbpl
+extern char sessfile[1024]; // $HOME/.config/deadbeef/session
+
#endif // __COMMON_H