X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.h;h=b5e9d56b2764e4befd5573f7d7c84062fab2df7a;hp=61630726abf91e4260c42f8963fcc394a157cf42;hb=b80cb259ed18ac71984083af9eee8ae3f65f6e0b;hpb=61250cf03241bf73662dac3753e44660a572fa2a diff --git a/afs.h b/afs.h index 61630726..b5e9d56b 100644 --- a/afs.h +++ b/afs.h @@ -72,11 +72,12 @@ enum play_mode {PLAY_MODE_MOOD, PLAY_MODE_PLAYLIST}; struct audio_file_data { enum play_mode current_play_mode; + char attributes_string[MAXLINE]; + char path[_POSIX_PATH_MAX]; int fd; long score; struct afs_info afsi; struct audio_format_info afhi; - char *path; }; enum afs_server_code { @@ -168,6 +169,7 @@ int aft_check_callback(const struct osl_object *query, struct osl_object *result /* mood */ int change_current_mood(char *mood_name); +void close_current_mood(void); int reload_current_mood(void); int mood_check_callback(__a_unused const struct osl_object *query, struct osl_object *result); @@ -175,6 +177,7 @@ int mood_check_callback(__a_unused const struct osl_object *query, /* playlist */ int playlist_open(char *name); +void playlist_close(void); int playlist_update_audio_file(struct osl_row *aft_row); int playlist_check_callback(__a_unused const struct osl_object *query, struct osl_object *result);