diff options
author | lulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no> | 2008-04-29 16:07:52 +0200 |
---|---|---|
committer | lulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no> | 2008-04-29 16:07:52 +0200 |
commit | 6432307b18665e8d562ba50884019eb5d199d8db (patch) | |
tree | 495c65cb07d7063a25a7b3356e56c3e7a846858b /include | |
parent | 5bdbe39c6e2af7b85482e0003ad52a4bc5a74212 (diff) |
- Compilation fixes. It does not work yet, but basic structure in place.
Diffstat (limited to 'include')
-rw-r--r-- | include/mnode.h | 1 | ||||
-rw-r--r-- | include/mp3fs.h | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/mnode.h b/include/mnode.h index 891ad3d..ff27eb7 100644 --- a/include/mnode.h +++ b/include/mnode.h @@ -1,5 +1,6 @@ #ifndef _MP3NODE_H_ #define _MP3NODE_H_ +#include <queue.h> struct TagLib_File; struct mnode { diff --git a/include/mp3fs.h b/include/mp3fs.h index 5d17726..a8593e2 100644 --- a/include/mp3fs.h +++ b/include/mp3fs.h @@ -5,7 +5,7 @@ struct collection; struct mnode; int mp3_run(int, char **); -struct collection *mp3_initscan(void); +void mp3_initscan(char *); /* * Data passed to traverse function pointers.' */ @@ -26,4 +26,13 @@ traverse_fn_t mp3_scan; * Functions performing queries on the collection. */ struct collection *mp3_select(char *, char *, char *); + +/* + * Use a selection to input a certain tag field into a filler. + */ +/* XXX: no need to use bitmask since we only need one field at a time? */ +#define FILTER_ARTIST 0 +#define FILTER_GENRE 1 +#define FILTER_TITLE 2 +void mp3_filter(struct collection *, int, struct filler_data *); #endif |