X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.h;h=cccb143f5bdfa1e4aaa2cdcaa1d1e73e6780f119;hp=2ad28b63871abbc03d7ab8b1227b05ee2585cc1c;hb=39476ef8df9804210777902aaa73c1b72f5ed13e;hpb=9b406cbe5d20ba969713ca3d7a8033e697476d75 diff --git a/afs.h b/afs.h index 2ad28b63..cccb143f 100644 --- a/afs.h +++ b/afs.h @@ -104,24 +104,6 @@ enum play_mode { PLAY_MODE_PLAYLIST, }; -/** - * Data about one audio file. - * - * Needed to produce ls and stat output. - */ -struct ls_data { - /** Usual audio format handler information. */ - struct afh_info afhi; - /** Audio file selector information. */ - struct afs_info afsi; - /** The full path of the audio file. */ - char *path; - /** The score value (if -a was given). */ - long score; - /** The hash value of audio file data. */ - unsigned char *hash; -}; - /** * Codes used for communication between the server and the afs process. * @@ -263,8 +245,7 @@ int get_attribute_text(uint64_t *atts, const char *delim, char **text); /* aft */ void aft_init(struct afs_table *t); int aft_get_row_of_path(const char *path, struct osl_row **row); -int open_and_update_audio_file(struct osl_row *aft_row, long score, - struct audio_file_data *afd); +int open_and_update_audio_file(struct audio_file_data *afd); int load_afd(int shmid, struct audio_file_data *afd); int get_afsi_of_row(const struct osl_row *row, struct afs_info *afsi); int get_afhi_of_row(const struct osl_row *row, struct afh_info *afhi);