![]() |
SCTC
the soundcloud.com terminal client
|
#include "track.h"Go to the source code of this file.
Functions | |
| bool | jspf_write (char *file, struct track_list *list) |
| Write a whole tracklist to file. More... | |
| struct track_list * | jspf_read (char *file) |
| Read a JSPF playlist to a track_list. More... | |
| char * | jspf_error () |
| Return a descriptive message for the error occured in the last call to jspf_*. More... | |
| char* jspf_error | ( | ) |
Return a descriptive message for the error occured in the last call to jspf_*.
The memory returned is allocated statically, it must not be free'd. This function may only be used directly after an error occured(!), calling another jspf_* function after the failing call and jspf_error() is undefined behaviour.
| struct track_list* jspf_read | ( | char * | file | ) |
Read a JSPF playlist to a track_list.
| file | The file to read from |
file (or an empty list in case of error) | bool jspf_write | ( | char * | file, |
| struct track_list * | list | ||
| ) |
Write a whole tracklist to file.
| file | The name of the file to write to |
| list | The tracklist to be written to file |
true in case of success, false otherwise
1.8.9.1