view playtreeparser.h @ 6435:d0d74f9d8d4a

Background now set by CSS, added doctype and charset. Properly closed all tags, removed bogus <P>-tags around block elements and put <P> outside <A>, the other way around is incorrect. Fixed some typos, uppercased all tags, removed some <I>-tags for better readability on the screen.
author diego
date Sat, 15 Jun 2002 17:12:21 +0000
parents 4b728967bd77
children 487cfc28525d
line wrap: on
line source


#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