#include <xspf/XspfIndentFormatter.h>
#include <xspf/XspfProps.h>
#include <xspf/XspfReader.h>
#include <xspf/XspfReaderCallback.h>
#include <xspf/XspfTrack.h>
#include <xspf/XspfWriter.h>
#include <cstring>
#include "xspf_c.h"
Go to the source code of this file.
Classes | |
class | XspfCReaderCallback |
Xspf list reading callback, which stores data in a specific C-style Xspf list. More... | |
Functions | |
static void | xspf_mvalue_free (struct xspf_mvalue *mv) |
Deallocate all objects in a xspf_mvalue linked list. | |
struct xspf_list * | xspf_parse (char const *filename, char const *baseuri) |
Parse an XSPF file by filename. | |
struct xspf_list * | xspf_parse_memory (char const *memory, int len_bytes, char const *baseuri) |
Parse an XSPF file from memory. | |
struct xspf_list * | xspf_new (void) |
Create a new empty XSPF playlist. | |
void | xspf_free (struct xspf_list *list) |
Free the parser results. | |
void | xspf_setvalue (char **str, char const *nstr) |
Set or overwrite a value in the xspf_list, xspf_track or xspf_mvalue structures. Passing NULL will unset the string. | |
struct xspf_mvalue * | xspf_new_mvalue_before (struct xspf_mvalue **mvalue) |
Insert a new mvalue to the linked list before the specified one. This routine can also be used to insert a new mvalue to the end of the list (or an empty list) by passing the address of the mvalue list or the next field in the last object. | |
struct xspf_track * | xspf_new_track_before (struct xspf_track **track) |
Insert a new track to the linked list before the specified one. This routine can also be used to insert a new track to the end of the list (or an empty list) by passing the address of the track list or the next field in the last object. | |
int | xspf_write (struct xspf_list *list, char const *filename, char const *baseuri) |
Write the Xspf playlist to a file. |
Definition in file xspf_c.cpp.
struct xspf_list* xspf_parse_memory | ( | char const * | memory, | |
int | len_bytes, | |||
char const * | baseuri | |||
) | [read] |