X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.h;h=977fc40b6591dd778294ce7a796a6edcb4746f18;hp=f15b8c559bf8b442674e42409bc0fcea8b65930a;hb=83d26474b18a663cf05aeeaff0c8e4475fa1e82a;hpb=91e54c6f425ffdb801afdd3cfbb73a835290180c diff --git a/afs.h b/afs.h index f15b8c55..977fc40b 100644 --- a/afs.h +++ b/afs.h @@ -126,6 +126,7 @@ struct audio_file_data { enum afs_server_code { NEXT_AUDIO_FILE, + NO_ADMISSIBLE_FILES, AFD_CHANGE }; @@ -199,8 +200,8 @@ 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, - struct audio_file_data *afd, long score); +int open_and_update_audio_file(struct osl_row *aft_row, long score, + struct audio_file_data *afd); int load_afd(int shmid, struct audio_file_data *afd); int load_afsi(struct afs_info *afsi, struct osl_object *obj); void save_afsi(struct afs_info *afsi, struct osl_object *obj);