File: ruby_xml_xpointer.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 (27 lines) | stat: -rw-r--r-- 686 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
/* $Id: ruby_xml_xpointer.h 134 2007-08-29 17:30:19Z danj $ */

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

#ifndef __RUBY_XML_XPOINTER__
#define __RUBY_XML_XPOINTER__

extern VALUE cXMLXPointer;
extern VALUE eXMLXPointerInvalidExpression;

typedef struct ruby_xml_xpointer {
  VALUE xd;
  VALUE ctxt;
  /*
   * This needs to go into a xpointer data struct:
   *
   * xmlLocationSetPtr xptr;
   *
   * I also need an xpointer data struct type.
  */
} ruby_xml_xpointer;

VALUE ruby_xml_xpointer_point(VALUE class, VALUE node, VALUE xptr_string);
VALUE ruby_xml_xpointer_point2(VALUE node, VALUE xptr_string);
void ruby_init_xml_xpointer(void);

#endif