1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 18:36:09 +00:00
mpv/playtreeparser.h
albeu a43fe42a2a Playtree parser switch to a by line mode.
Winamp (pls) playlist support.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4783 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 13:12:53 +00:00

26 lines
463 B
C

#ifndef __PLAYTREEPARSER_H
#define __PLAYTREEPARSER_H
#include "playtree.h"
#include "libmpdemux/stream.h"
typedef struct play_tree_parser {
stream_t* stream;
char *buffer,*iter,*line;
int buffer_size , buffer_end;
int deep,keep;
} play_tree_parser_t;
play_tree_parser_t*
play_tree_parser_new(stream_t* stream,int deep);
void
play_tree_parser_free(play_tree_parser_t* p);
play_tree_t*
play_tree_parser_get_play_tree(play_tree_parser_t* p);
#endif