File: ruby_xml_html_parser.h

package info (click to toggle)
libxml-ruby 0.5.2.0-3%2Blenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 652 kB
  • ctags: 875
  • sloc: ansic: 5,874; ruby: 1,524; xml: 144; makefile: 9
file content (29 lines) | stat: -rw-r--r-- 775 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* $Id: ruby_xml_html_parser.h 134 2007-08-29 17:30:19Z danj $ */

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

#ifndef __RUBY_XML_HTML_PARSER__
#define __RUBY_XML_HTML_PARSER__

extern int ruby_xml_html_parser_count;
extern VALUE cXMLHTMLParser;

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

/*
 * VALUE ruby_xml_html_parser_filename_get(VALUE self);
VALUE ruby_xml_html_parser_filename_set(VALUE self, VALUE filename);
VALUE ruby_xml_html_parser_new(VALUE class);
*/
VALUE ruby_xml_html_parser_parse(VALUE self);
VALUE ruby_xml_html_parser_str_get(VALUE self);
VALUE ruby_xml_html_parser_str_set(VALUE self, VALUE str);

void ruby_init_html_parser(void);

#endif