diff options
author | Max Kellermann <max@duempel.org> | 2010-07-25 12:21:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-07-25 13:28:54 +0200 |
commit | cbb1ab58cdf18b59488d543427cd4ec238426bf8 (patch) | |
tree | 06049f1f6ea443d5aeacfc7cbc84a1836aeca1f9 /src/queue_save.h | |
parent | b01235e3307ae9908c3cc08f34a08a13a1b18029 (diff) | |
download | mpd-cbb1ab58cdf18b59488d543427cd4ec238426bf8.tar.gz mpd-cbb1ab58cdf18b59488d543427cd4ec238426bf8.tar.xz mpd-cbb1ab58cdf18b59488d543427cd4ec238426bf8.zip |
queue_save: save tags and range of non-database songs
Use the functions song_save() and song_load() to use the same format
as in the database file for those songs which need the tags.
Diffstat (limited to '')
-rw-r--r-- | src/queue_save.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/queue_save.h b/src/queue_save.h index a3372c1f2..287683390 100644 --- a/src/queue_save.h +++ b/src/queue_save.h @@ -25,6 +25,7 @@ #ifndef QUEUE_SAVE_H #define QUEUE_SAVE_H +#include <glib.h> #include <stdio.h> struct queue; @@ -36,6 +37,7 @@ queue_save(FILE *fp, const struct queue *queue); * Loads one song from the state file and appends it to the queue. */ void -queue_load_song(struct queue *queue, const char *line); +queue_load_song(FILE *fp, GString *buffer, const char *line, + struct queue *queue); #endif |