view asxparser.h @ 6320:12136df07dbd

common code to handle file/stdin/fifo opening, allows using named pipes and seeking with direct file redirection (mplayer < file.avi) based on patch by Eric Lammerts <eric@lammerts.org>
author arpi
date Fri, 07 Jun 2002 00:42:08 +0000
parents 35b412015c39
children 487cfc28525d
line wrap: on
line source


#include "playtree.h"

typedef struct _ASX_Parser_t ASX_Parser_t;

typedef struct {
  char* buffer;
  int line;
} ASX_LineSave_t;

struct _ASX_Parser_t {
  int line; // Curent line
  ASX_LineSave_t *ret_stack;
  int ret_stack_size;
  char* last_body;
  int deep;
};