diff options
author | lulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no> | 2008-04-24 12:49:22 +0200 |
---|---|---|
committer | lulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no> | 2008-04-24 12:49:22 +0200 |
commit | 0e11f57efb4ccb0460db3f045b21fc9729b6b656 (patch) | |
tree | 946dd1518d31046a707d7e6c3428028ec832dfc8 /include | |
parent | 3f5896ff3ccdea939d3586dd40d9b603d6c807f2 (diff) |
- Move out directory traversal routines into mp3_subr
Diffstat (limited to 'include')
-rw-r--r-- | include/mp3fs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/mp3fs.h b/include/mp3fs.h index 4b6cc5d..50bdbee 100644 --- a/include/mp3fs.h +++ b/include/mp3fs.h @@ -2,4 +2,18 @@ #define _MP3FS_H_ struct fuse_args; int mp3_run(int, char **); + + +/* + * Data passed to traverse function pointers.' + */ +struct filler_data { + void *buf; + fuse_fill_dir_t filler; +}; +/* Traverse files used in mp3_subr.c */ +typedef void traverse_fn_t(char *, void *); +void traverse_hierarchy(char *, traverse_fn_t, void *); + +traverse_fn_t mp3_artist; #endif |