X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.h;h=a6394fa6b512364e6c4658361687d85a5eb32520;hb=9055c71be97f1095dcdbd83da305b600f204f763;hp=f12bf369cd430d1ec6c6be321bf7e5756daf1e1a;hpb=462a71176aa847494a1a26826768b5fa52994f54;p=paraslash.git diff --git a/afs.h b/afs.h index f12bf369..a6394fa6 100644 --- a/afs.h +++ b/afs.h @@ -236,7 +236,7 @@ int get_score_and_aft_row(struct osl_row *score_row, long *score, struct osl_row int score_add(const struct osl_row *row, long score); int score_update(const struct osl_row *aft_row, long new_score); int score_delete(const struct osl_row *aft_row); -int clear_score_table(void); +void score_clear(void); bool row_belongs_to_score_table(const struct osl_row *aft_row); /* attribute */ @@ -260,13 +260,13 @@ int aft_check_callback(struct afs_callback_arg *aca); void free_status_items(void); /* mood */ -int mood_switch(const char *mood_name, char **msg); -void close_current_mood(void); +int mood_load(const char *mood_name, char **msg); +void mood_unload(void); int mood_check_callback(struct afs_callback_arg *aca); /* playlist */ -int playlist_open(const char *name, char **msg); -void playlist_close(void); +int playlist_load(const char *name, char **msg); +void playlist_unload(void); int playlist_check_callback(struct afs_callback_arg *aca); /** evaluates to 1 if x < y, to -1 if x > y and to 0 if x == y */