/* $Id: ruby_xml_parser_context.h,v 1.7 2002/10/22 07:56:53 sean Exp $ */

/* Please see the LICENSE file for copyright and distribution information */

#ifndef __RUBY_XML_PARSER_CONTEXT__
#define __RUBY_XML_PARSER_CONTEXT__

extern VALUE cXMLParserContext;

typedef struct ruby_xml_parser_context {
  xmlParserCtxtPtr ctxt;
  int is_ptr;
} ruby_xml_parser_context;

void ruby_xml_parser_context_free(ruby_xml_parser_context *ctxt);
void ruby_init_xml_parser_context(void);
VALUE ruby_xml_parser_context_new(VALUE class, xmlParserCtxtPtr ctxt);
VALUE ruby_xml_parser_context_new2(VALUE class);
VALUE ruby_xml_parser_context_new3();
VALUE ruby_xml_parser_context_each(VALUE self);

#endif
