summaryrefslogtreecommitdiffstats
path: root/src/track.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/track.h')
-rw-r--r--src/track.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/track.h b/src/track.h
new file mode 100644
index 0000000..7a2a142
--- /dev/null
+++ b/src/track.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "list.h"
+#include "util.h"
+
+
+struct track {
+ wchar_t *name;
+ struct link tags;
+ char *fname, *fpath;
+
+ struct link link;
+};
+
+struct track *track_init(const char *dir, const char *file);
+void track_free(struct track *t);