summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mp3fs.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/mp3fs.h b/include/mp3fs.h
index cbb1537..f8c5c5c 100644
--- a/include/mp3fs.h
+++ b/include/mp3fs.h
@@ -2,18 +2,11 @@
#define _MP3FS_H_
struct fuse_args;
-#define DBNAME "music.db"
+#define DBNAME "/home/lulf/dev/mp3fs/music.db"
int mp3_run(int, char **);
int mp3_initscan(char *);
-/*
- * Data passed to traverse function pointers.'
- */
-struct filler_data {
- void *buf;
- fuse_fill_dir_t filler;
-};
/*
* Functions traversing the underlying filesystem and do operations on the
@@ -23,4 +16,13 @@ typedef void traverse_fn_t(char *);
void traverse_hierarchy(char *, traverse_fn_t);
traverse_fn_t mp3_scan;
+/*
+ * Data passed to mp3_list.
+ */
+struct filler_data {
+ void *buf;
+ fuse_fill_dir_t filler;
+};
+
+void mp3_list(char *, int, struct filler_data *);
#endif