|
MPD
0.17~git
|
#include <glib.h>#include <stdio.h>Go to the source code of this file.
Defines | |
| #define | SONG_BEGIN "song_begin: " |
Functions | |
| void | song_save (FILE *fp, const struct song *song) |
| struct song * | song_load (FILE *fp, struct directory *parent, const char *uri, GString *buffer, GError **error_r) |
| Loads a song from the input file. | |
| #define SONG_BEGIN "song_begin: " |
Definition at line 27 of file song_save.h.
| struct song* song_load | ( | FILE * | fp, |
| struct directory * | parent, | ||
| const char * | uri, | ||
| GString * | buffer, | ||
| GError ** | error_r | ||
| ) | [read] |
Loads a song from the input file.
Reading stops after the "song_end" line.
| error_r | location to store the error occurring, or NULL to ignore errors |
1.7.6.1