view playtreeparser.h @ 10165:b78e3adeb850

it's still a 10l bug + 10l to me for commiting sh*t first time, and originally I wrote that tooo, so now I'm at about 1000litres? And anyway, this code isn't used :)) No, Rich, no, I will not upload a clip showing me drinking that much cola :)<EOF>
author alex
date Fri, 23 May 2003 14:09:19 +0000
parents 5c15777f1c07
children 4bc481804519
line wrap: on
line source


#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);

#endif