From 7df9a3059a231c4bdab35eede75deab6fc6671c6 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Mon, 18 Aug 2008 11:47:05 +0200 Subject: - s/warn/DEBUG. - Add suggstions to TODO. - Change enum starting point. --- include/musicfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/musicfs.h b/include/musicfs.h index ead8bb2..4e6aa37 100644 --- a/include/musicfs.h +++ b/include/musicfs.h @@ -30,7 +30,7 @@ int mfs_initscan(); * Functions traversing the underlying filesystem and do operations on the * files, for instance scanning the collection. */ -typedef void traverse_fn_t(char *); +typedef void traverse_fn_t(const char *); void traverse_hierarchy(const char *, traverse_fn_t); traverse_fn_t mfs_scan; @@ -42,7 +42,7 @@ struct filler_data { fuse_fill_dir_t filler; }; -enum lookup_datatype { LIST_DATATYPE_STRING, LIST_DATATYPE_INT }; +enum lookup_datatype { LIST_DATATYPE_STRING = 1, LIST_DATATYPE_INT }; enum mfs_filetype { MFS_NOTFOUND, MFS_FILE, MFS_DIRECTORY }; -- cgit v1.2.3