File: ruby_xml_xpath_context.h

package info (click to toggle)
ruby-mkrf 0.2.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,752 kB
  • ctags: 4,291
  • sloc: ansic: 12,494; ruby: 6,984; sh: 790; yacc: 374; makefile: 57; cpp: 10
file content (24 lines) | stat: -rw-r--r-- 815 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
/* $Id: ruby_xml_xpath_context.h,v 1.2 2006/02/27 12:55:32 roscopeco Exp $ */

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

#ifndef __RUBY_XML_XPATH_CONTEXT__
#define __RUBY_XML_XPATH_CONTEXT__

extern VALUE cXMLXPathContext;

typedef struct ruby_xml_xpath_context {
  VALUE xd;
  xmlXPathContextPtr ctxt;
} ruby_xml_xpath_context;

void ruby_xml_xpath_context_free(ruby_xml_xpath_context *rxxpc);
VALUE ruby_xml_xpath_context_new(VALUE class, VALUE xd,
				 xmlXPathContextPtr ctxt);
VALUE ruby_xml_xpath_context_new2(VALUE xd, xmlXPathContextPtr ctxt);
VALUE ruby_xml_xpath_context_new3(VALUE xd);
VALUE ruby_xml_xpath_context_new4(VALUE rnode);
VALUE ruby_xml_xpath_context_register_namespace(VALUE self, VALUE prefix, VALUE uri);
void ruby_init_xml_xpath_context(void);

#endif