File: ruby_xml_node_set.h

package info (click to toggle)
ruby-mkrf 0.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,688 kB
  • sloc: ansic: 12,494; ruby: 6,998; sh: 790; yacc: 374; makefile: 57; cpp: 10
file content (26 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (3)
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