From 8a8bd7565b5ae8f1447099d672d7097adba64864 Mon Sep 17 00:00:00 2001 From: "lulf@carrot.studby.ntnu.no" Date: Fri, 25 Apr 2008 15:14:50 +0200 Subject: - Merge. --- include/mnode.h | 5 ++++- include/mp3fs.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/mnode.h b/include/mnode.h index c805e64..3508395 100644 --- a/include/mnode.h +++ b/include/mnode.h @@ -3,7 +3,10 @@ struct ID3Tag; struct mnode { - ID3Tag *cached_tag; char *path; + ID3Tag *tag; + + /* Entry in search structure. */ + LIST_ENTRY(mnode) next; }; #endif diff --git a/include/mp3fs.h b/include/mp3fs.h index 50bdbee..4313cd1 100644 --- a/include/mp3fs.h +++ b/include/mp3fs.h @@ -2,6 +2,7 @@ #define _MP3FS_H_ struct fuse_args; int mp3_run(int, char **); +void mp3_initscan(void); /* @@ -16,4 +17,5 @@ typedef void traverse_fn_t(char *, void *); void traverse_hierarchy(char *, traverse_fn_t, void *); traverse_fn_t mp3_artist; +traverse_fn_t mp3_scan; #endif -- cgit v1.2.3