annotate playtreeparser.h @ 4908:9b2b09d3ff8b

strike period over, commiting stuff. next commit will be rewrite. (?)
author gabucino
date Fri, 01 Mar 2002 20:39:59 +0000
parents 4b728967bd77
children 487cfc28525d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4308
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
1
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
2 #ifndef __PLAYTREEPARSER_H
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
3 #define __PLAYTREEPARSER_H
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
4
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
5 #include "playtree.h"
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
6 #include "libmpdemux/stream.h"
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
7
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
8 typedef struct play_tree_parser {
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
9 stream_t* stream;
4782
4b728967bd77 Playtree parser switch to a by line mode.
albeu
parents: 4308
diff changeset
10 char *buffer,*iter,*line;
4308
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
11 int buffer_size , buffer_end;
4782
4b728967bd77 Playtree parser switch to a by line mode.
albeu
parents: 4308
diff changeset
12 int deep,keep;
4308
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
13 } play_tree_parser_t;
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
14
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
15
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
16 play_tree_parser_t*
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
17 play_tree_parser_new(stream_t* stream,int deep);
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
18
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
19 void
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
20 play_tree_parser_free(play_tree_parser_t* p);
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
21
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
22 play_tree_t*
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
23 play_tree_parser_get_play_tree(play_tree_parser_t* p);
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
24
d752f99fd535 Objectization of the play_tree_parser for more flexiblity
albeu
parents:
diff changeset
25 #endif