File: ruby_xml_document.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 (24 lines) | stat: -rw-r--r-- 824 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
/* $Id: ruby_xml_document.h 188 2007-09-24 01:43:21Z danj $ */

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

#ifndef __RUBY_XML_DOCUMENT__
#define __RUBY_XML_DOCUMENT__

extern VALUE cXMLDocument;

typedef struct rxp_document {
  xmlDocPtr doc;   /* Tree/DOM interface */
  int data_type;   /* The data type referenced by *data */
  void *data;      /* Pointer to an external structure of options */
} ruby_xml_document_t;

VALUE ruby_xml_document_filename_get(VALUE self);
VALUE ruby_xml_document_new_native(VALUE class, VALUE xmlver);
VALUE ruby_xml_document_wrap(VALUE class, xmlDocPtr xnode);
VALUE ruby_xml_document_wrap2(xmlDocPtr xnode);
void  ruby_xml_document_free(ruby_xml_document_t *rxd);
VALUE ruby_xml_document_root_get(VALUE self);
void  ruby_init_xml_document(void);

#endif