]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.h
Rename mood_switch(), mood_close(), playlist_{open/close}.
[paraslash.git] / afs.h
diff --git a/afs.h b/afs.h
index 0983692ec30abfb38608547a29f00f934f780e46..a6394fa6b512364e6c4658361687d85a5eb32520 100644 (file)
--- 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 **errmsg);
-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 **errmsg);
-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 */