summaryrefslogtreecommitdiffstats
path: root/playtreeparser.h
blob: b43f1c23fab0e5c1516d06daf47f96adf2a65163 (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
26
27

#ifndef __PLAYTREEPARSER_H
#define __PLAYTREEPARSER_H

struct stream_st;

typedef struct play_tree_parser {
  struct stream_st* 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(struct stream_st* 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, int forced);

void
play_tree_add_bpf(play_tree_t* pt, char* filename);

#endif