diff options
| author | Ulf Lilleengen <lulf@carrot.studby.ntnu.no> | 2008-08-17 14:37:05 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <lulf@carrot.studby.ntnu.no> | 2008-08-17 14:37:05 +0200 |
| commit | b8e5a73d12367281bd9d5ecb6d1a6886582fa0d0 (patch) | |
| tree | 4f844af17b4340dbb485b41eb25dceeca4bb88a7 /include/debug.h | |
| parent | ea89c89fff226f0f9eef485afa38ef4833aaa824 (diff) | |
- Simplify mfs_file_data_from_path a lot and rename it to mfs_realpath, which
have the objective of looking up the real file path, given the musicfs path.
Some thoughts:
Instead of creating a function for each operation we want to do, this change
adds a mfs_lookup_path which allocates a buffer with the real path of the file
we're looking for. This way, we can do the operations we want on the path
externally instead, which is a lot simpler when using it. This also gets rid of
the file_data data structure, and just use a pointer pointer where one is to
allocate the real path.
Diffstat (limited to 'include/debug.h')
0 files changed, 0 insertions, 0 deletions
