X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.h;h=eed17768c871c9c0a3841457a6f7762972ddf0a4;hb=49c5a95ab4ca28d13c6faff59110447aeb0099a5;hp=f15b8c559bf8b442674e42409bc0fcea8b65930a;hpb=91e54c6f425ffdb801afdd3cfbb73a835290180c;p=paraslash.git diff --git a/afs.h b/afs.h index f15b8c55..eed17768 100644 --- a/afs.h +++ b/afs.h @@ -116,16 +116,17 @@ void make_empty_status_items(char *buf); * Data about the current audio file, passed from afs to server. */ struct audio_file_data { - /* Same info as ls -lv -p . */ + /** Same info as ls -lv -p . */ char verbose_ls_output[VERBOSE_LS_OUTPUT_SIZE]; - /* The open file descriptor to the current audio file. */ + /** The open file descriptor to the current audio file. */ int fd; - /* Vss needs this for streaming. */ + /** Vss needs this for streaming. */ struct afh_info afhi; }; 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);