summaryrefslogtreecommitdiffstats
path: root/src/track.h
blob: 39c5e2a75369a5e1b4b64a715da8db197ef9b699 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "list.h"
#include "util.h"

struct track {
	char *name, *fpath;
	struct list tags;
	int fid;
};

struct track *track_alloc(const char *dir, const char *file, int fid);
void track_free(struct track *t);