]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.h
Get rid of mmd->filename.
[paraslash.git] / afs.h
diff --git a/afs.h b/afs.h
index 61630726abf91e4260c42f8963fcc394a157cf42..b5e9d56b2764e4befd5573f7d7c84062fab2df7a 100644 (file)
--- 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);