diff options
author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-15 20:48:05 +0200 |
---|---|---|
committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-15 20:48:05 +0200 |
commit | 73786a63d67d7f63620c55b20a9937fed2f9718c (patch) | |
tree | 0a2e6d05a136714cad3b4dbc8561d9dab7fe2845 /include | |
parent | 85ec65543f15a9b722e122dd7ef30e147585950f (diff) |
- Added lookup functions for scanning paths
Diffstat (limited to 'include')
-rw-r--r-- | include/musicfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/musicfs.h b/include/musicfs.h index b3f2ebe..21fd0b4 100644 --- a/include/musicfs.h +++ b/include/musicfs.h @@ -33,7 +33,7 @@ int mfs_initscan(char *); * files, for instance scanning the collection. */ typedef void traverse_fn_t(char *); -void traverse_hierarchy(char *, traverse_fn_t); +void traverse_hierarchy(const char *, traverse_fn_t); traverse_fn_t mfs_scan; /* @@ -65,6 +65,8 @@ lookup_fn_t mfs_lookup_list; lookup_fn_t mfs_lookup_open; /* Lookup function stat'ing a file. */ lookup_fn_t mfs_lookup_stat; +/* Lookup function loading a path into DB */ +lookup_fn_t mfs_lookup_load_path; struct lookuphandle; |