X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=afs.h;h=977fc40b6591dd778294ce7a796a6edcb4746f18;hb=2bb9fcbfa99cf30a6f46ba33fd95c0a456a225cc;hp=f15b8c559bf8b442674e42409bc0fcea8b65930a;hpb=91e54c6f425ffdb801afdd3cfbb73a835290180c;p=paraslash.git 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);