X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.h;h=623cd1453b26d16c38f3b70b97bd0c2bdc5802b9;hb=dabdb25fd7fe411933d3639f71a8148b5dc29630;hp=7adb54bdd69b70da4abbfafc6503e847a32245b7;hpb=a044e78188411351d798842df1778316c881f5ed;p=paraslash.git diff --git a/afs.h b/afs.h index 7adb54bd..623cd145 100644 --- a/afs.h +++ b/afs.h @@ -140,10 +140,10 @@ int audio_file_loop(void *private_data, osl_rbtree_loop_func *func); int aft_check_callback(const struct osl_object *query, struct osl_object *result); /* mood */ -int mood_open(char *mood_name); -void mood_close(void); +int change_current_mood(char *mood_name); +void close_current_mood(void); int mood_update_audio_file(const struct osl_row *aft_row, struct afs_info *old_afsi); -int mood_reload(void); +int reload_current_mood(void); int mood_delete_audio_file(const struct osl_row *aft_row); @@ -151,6 +151,8 @@ int mood_delete_audio_file(const struct osl_row *aft_row); 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); /** evaluates to 1 if x < y, to -1 if x > y and to 0 if x == y */ #define NUM_COMPARE(x, y) ((int)((x) < (y)) - (int)((x) > (y)))