flac: Saner EOF handling
[cmus.git] / pl.h
blob745bd30d8b09e405202b8203dd5c7c56a1b3d568
1 /*
2 * Copyright 2006 Timo Hirvonen
3 */
5 #ifndef PL_H
6 #define PL_H
8 #include "editable.h"
9 #include "track_info.h"
10 #include "track.h"
12 extern struct editable pl_editable;
13 extern struct simple_track *pl_cur_track;
15 void pl_init(void);
16 struct track_info *pl_set_next(void);
17 struct track_info *pl_set_prev(void);
18 struct track_info *pl_set_selected(void);
19 void pl_add_track(struct track_info *track_info);
20 void pl_sel_current(void);
21 void pl_reshuffle(void);
22 int pl_for_each(int (*cb)(void *data, struct track_info *ti), void *data);
24 #endif