diff options
| author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-15 21:54:18 +0200 |
|---|---|---|
| committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-15 21:54:18 +0200 |
| commit | d554386b01ba7edbb4fc8547d6f0bc6dcaec15c3 (patch) | |
| tree | 2546b1850d80dcf9191552fa7aad0e0201feba3b /include | |
| parent | c054405a1e256e9cf41ed2121e7dabeca518b592 (diff) | |
| parent | aaccd1929a253e6e687f50a810877bb9eb4ea8df (diff) | |
Merge branch 'config'
Diffstat (limited to 'include')
| -rw-r--r-- | include/musicfs.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/musicfs.h b/include/musicfs.h index 3da10da..8443198 100644 --- a/include/musicfs.h +++ b/include/musicfs.h @@ -22,10 +22,8 @@ #define _MP3FS_H_ struct fuse_args; -#define DBNAME "music.db" - int mfs_run(int, char **); -int mfs_initscan(char *); +int mfs_initscan(); /* @@ -33,7 +31,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 +63,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; @@ -78,6 +78,8 @@ void mfs_lookup_album(const char *, struct filler_data *); char *mfs_gettoken(const char *, int); int mfs_numtoken(const char *); int mfs_file_data_for_path(const char *, void *); +int mfs_reload_config(); +char *mfs_get_home_path(const char *); enum mfs_filetype mfs_get_filetype(const char *); #endif |
