diff options
Diffstat (limited to 'apps/cuesheet.h')
-rw-r--r-- | apps/cuesheet.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/apps/cuesheet.h b/apps/cuesheet.h index e8d77ca3a9..31841dacf6 100644 --- a/apps/cuesheet.h +++ b/apps/cuesheet.h | |||
@@ -51,11 +51,18 @@ struct cuesheet { | |||
51 | struct cue_track_info *curr_track; | 51 | struct cue_track_info *curr_track; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | /* looks if there is a cuesheet file that has a name matching "trackpath" */ | 54 | struct cuesheet_file { |
55 | bool look_for_cuesheet_file(const char *trackpath, char *found_cue_path); | 55 | char path[MAX_PATH]; |
56 | int size; | ||
57 | off_t pos; | ||
58 | enum character_encoding encoding; | ||
59 | }; | ||
60 | |||
61 | /* looks if there is a cuesheet file with a name matching path of "track_id3" */ | ||
62 | bool look_for_cuesheet_file(struct mp3entry *track_id3, struct cuesheet_file *cue_file); | ||
56 | 63 | ||
57 | /* parse cuesheet "file" and store the information in "cue" */ | 64 | /* parse cuesheet_file "cue_file" and store the information in "cue" */ |
58 | bool parse_cuesheet(char *file, struct cuesheet *cue); | 65 | bool parse_cuesheet(struct cuesheet_file *cue_file, struct cuesheet *cue); |
59 | 66 | ||
60 | /* reads a cuesheet to find the audio track associated to it */ | 67 | /* reads a cuesheet to find the audio track associated to it */ |
61 | bool get_trackname_from_cuesheet(char *filename, char *buf); | 68 | bool get_trackname_from_cuesheet(char *filename, char *buf); |