diff options
author | Ulf Lilleengen <lulf@pvv.ntnu.no> | 2008-08-18 11:47:05 +0200 |
---|---|---|
committer | Ulf Lilleengen <lulf@pvv.ntnu.no> | 2008-08-18 11:47:05 +0200 |
commit | 7df9a3059a231c4bdab35eede75deab6fc6671c6 (patch) | |
tree | 8027a6076b33a45fae8245153e0ff20915e1357a /include | |
parent | 6cd7869051529a159802409a8302fbd0d3d38195 (diff) |
- s/warn/DEBUG.
- Add suggstions to TODO.
- Change enum starting point.
Diffstat (limited to 'include')
-rw-r--r-- | include/musicfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 }; |