Sha256: 9346d76f5498ed6556a41e5c0fefb0c8ae64901d06a381ee140875107c25fb83

Contents?: true

Size: 1.32 KB

Versions: 10

Compression:

Stored size: 1.32 KB

Contents

/* $Id: ruby_xml_sax_parser.h,v 1.2 2006/04/14 14:45:52 roscopeco Exp $ */

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

#ifndef __RUBY_XML_SAX_PARSER__
#define __RUBY_XML_SAX_PARSER__

extern VALUE cXMLSaxParser;

typedef struct ruby_xml_sax_parser_callbacks {
    VALUE internalSubset;
    VALUE isStandalone;
    VALUE hasInternalSubset;
    VALUE hasExternalSubset;
    VALUE resolveEntity;
    VALUE getEntity;
    VALUE entityDecl;
    VALUE notationDecl;
    VALUE attributeDecl;
    VALUE elementDecl;
    VALUE unparsedEntityDecl;
    VALUE setDocumentLocator;
    VALUE startDocument;
    VALUE endDocument;
    VALUE startElement;
    VALUE endElement;
    VALUE reference;
    VALUE characters;
    VALUE ignorableWhitespace;
    VALUE processingInstruction;
    VALUE comment;
    VALUE xmlParserWarning;
    VALUE xmlParserError;
    VALUE xmlParserFatalError;
    VALUE getParameterEntity;
    VALUE cdataBlock;
    VALUE externalSubset;  
} ruby_xml_sax_parser_callbacks;

typedef struct ruby_xml_sax_parser {
  xmlParserCtxtPtr xpc;
  xmlSAXHandlerPtr xsh;
  ruby_xml_sax_parser_callbacks *cbp;
  VALUE filename;
  VALUE str;
} ruby_xml_sax_parser;

void ruby_xml_sax_parser_free(ruby_xml_sax_parser *rxsp);
void ruby_init_xml_sax_parser(void);
VALUE ruby_xml_sax_parser_new(VALUE class);

#endif

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
libxml-ruby-0.3.8.4 ext/xml/ruby_xml_sax_parser.h
libxml-ruby-0.3.8 ext/xml/ruby_xml_sax_parser.h
libxml-ruby-0.3.8.2 ext/xml/ruby_xml_sax_parser.h
mkrf-0.2.0 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h
mkrf-0.2.1 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h
mkrf-0.1.0 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h
mkrf-0.2.2 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h
mkrf-0.1.1 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h
mkrf-0.1.2 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h
mkrf-0.2.3 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h