Sha256: 779a754a0ed5573f026b0d35d8cfaaa4e56f2913c2ec2bb73fc7c5ce3e3e9a33

Contents?: true

Size: 940 Bytes

Versions: 2

Compression:

Stored size: 940 Bytes

Contents

/* $Id: ruby_xml_parser.h 134 2007-08-29 17:30:19Z danj $ */

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

#ifndef __RUBY_XML_PARSER__
#define __RUBY_XML_PARSER__

#define MAX_LIBXML_FEATURES_LEN 50

extern int ruby_xml_parser_count;
extern VALUE cXMLParser;
extern VALUE eXMLParserParseError;

typedef struct ruby_xml_parser {
  VALUE ctxt;
  int parsed;
  void *data;
  int data_type;
} ruby_xml_parser;

VALUE ruby_xml_parser_default_load_external_dtd_set(VALUE class, VALUE bool);
VALUE ruby_xml_parser_default_substitute_entities_set(VALUE class, VALUE bool);
VALUE ruby_xml_parser_features(VALUE self);
VALUE ruby_xml_parser_filename_get(VALUE self);
VALUE ruby_xml_parser_filename_set(VALUE self, VALUE filename);
VALUE ruby_xml_parser_new(VALUE class);
VALUE ruby_xml_parser_parse(VALUE self);
VALUE ruby_xml_parser_str_get(VALUE self);
VALUE ruby_xml_parser_str_set(VALUE self, VALUE str);

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxml-ruby-0.5.2.0 ext/xml/ruby_xml_parser.h
libxml-ruby-0.5.0.1 ext/xml/ruby_xml_parser.h