summaryrefslogtreecommitdiffstats
path: root/playtreeparser.h
blob: b4333bb76883d1234f7dafba259368e3006631fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#ifndef __PLAYTREEPARSER_H
#define __PLAYTREEPARSER_H

#include "playtree.h"
#include "libmpdemux/stream.h"

typedef struct play_tree_parser {
  stream_t* stream;
  char* buffer;
  int buffer_size , buffer_end;
  int deep;
} 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