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
|
/* $Id: ruby_xml_node_set.h,v 1.1 2006/02/21 20:40:16 roscopeco Exp $ */
/* Please see the LICENSE file for copyright and distribution information */
#ifndef __RUBY_XML_NODE_SET__
#define __RUBY_XML_NODE_SET__
extern VALUE cXMLNodeSet;
typedef struct ruby_xml_node_set {
xmlNodeSetPtr node_set;
VALUE xd;
VALUE xpath;
int data_type;
void *data;
} ruby_xml_node_set;
void ruby_xml_node_set_free(ruby_xml_node_set *rxnset);
void ruby_init_xml_node_set(void);
VALUE ruby_xml_node_set_new(VALUE class, VALUE xd, VALUE xpath,
xmlNodeSetPtr node_set);
VALUE ruby_xml_node_set_new2(VALUE xd, VALUE xpath,
xmlNodeSetPtr node_set);
VALUE ruby_xml_node_set_each(VALUE self);
#endif
|