Commit 6d5314cb authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

small additions

2007-10-02  Juerg Billeter  <j@bitron.ch>

	* vapi/libxml-2.0.vala: small additions

svn path=/trunk/; revision=638
parent f67392fb
2007-10-02 Jürg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vala: small additions
2007-10-01 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.valam gobject/valaccodegeneratorclass.vala,
......
......@@ -30,7 +30,10 @@ namespace Xml {
[CCode (cname = "xmlReaderForFile")]
public TextReader.from_file (string filename, string encoding, int options);
[CCode (cname = "xmlReaderForIO")]
public TextReader.for_io (InputReadCallback ioread, InputCloseCallback ioclose, pointer ioctx, string url, string encoding, int options);
[CCode (cname = "xmlTextReaderRead")]
public int read ();
......@@ -74,7 +77,13 @@ namespace Xml {
public int is_empty_element ();
[CCode (cname = "xmlTextReaderHasValue")]
public int has_value ();
public int has_value ();
[CCode (cname = "xmlTextReaderMoveToFirstAttribute")]
public int move_to_first_attribute ();
[CCode (cname = "xmlTextReaderMoveToAttributeNs")]
public int move_to_attribute_ns (string! local_name, string! namespace_uri);
}
[CCode (cname = "xmlTextReaderMode", cheader_filename = "libxml/xmlreader.h")]
......@@ -109,6 +118,11 @@ namespace Xml {
XML_DECLARATION
}
[CCode (cname = "xmlInputReadCallback", cheader_filename = "libxml/xmlIO.h")]
public static delegate int InputReadCallback (pointer context, pointer buffer, int len);
[CCode (cname = "xmlInputCloseCallback", cheader_filename = "libxml/xmlIO.h")]
public static delegate int InputCloseCallback (pointer context);
[CCode (cname = "ftpDataCallback", cheader_filename = "libxml/nanoftp.h")]
[NoArrayLength]
public static delegate void FtpDataCallback (pointer userData, char[] data, int len);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment