/* $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