summaryrefslogtreecommitdiff
path: root/vapi/libxml-2.0.vapi
diff options
context:
space:
mode:
authorDaniel Espinosa <esodan@gmail.com>2017-10-25 13:24:13 -0500
committerRico Tzschichholz <ricotz@ubuntu.com>2017-10-26 07:26:02 +0200
commit8688d24c5f4e7083ff80024b78f9ad78d09f9ae3 (patch)
tree7fe5bd88b390e74d12003b2d357581c5bbbbf500 /vapi/libxml-2.0.vapi
parent2a481c3ae11c96d4e0aaff4811fb3fd6dfdbd568 (diff)
downloadvala-8688d24c5f4e7083ff80024b78f9ad78d09f9ae3.tar.gz
libxml-2.0: Add DTD methods
https://bugzilla.gnome.org/show_bug.cgi?id=789442
Diffstat (limited to 'vapi/libxml-2.0.vapi')
-rw-r--r--vapi/libxml-2.0.vapi51
1 files changed, 51 insertions, 0 deletions
diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi
index 12a2d78de..1ac8a19b5 100644
--- a/vapi/libxml-2.0.vapi
+++ b/vapi/libxml-2.0.vapi
@@ -1155,6 +1155,18 @@ namespace Xml {
[CCode (cname = "xmlTextWriterEndAttribute")]
public int end_attribute ();
+ [CCode (cname = "xmlTextWriterEndDTD")]
+ public int end_dtd ();
+
+ [CCode (cname = "xmlTextWriterEndDTDAttlist")]
+ public int end_dtd_attlist ();
+
+ [CCode (cname = "xmlTextWriterEndDTDElement")]
+ public int end_dtd_element ();
+
+ [CCode (cname = "xmlTextWriterEndDTDEntity")]
+ public int end_dtd_entity ();
+
/* Start */
[CCode (cname = "xmlTextWriterStartCDATA")]
@@ -1178,6 +1190,18 @@ namespace Xml {
[CCode (cname = "xmlTextWriterStartAttributeNS")]
public int start_attribute_ns ([CCode (type = "xmlChar*")] string? prefix, [CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? namespaceURI);
+ [CCode (cname = "xmlTextWriterStartDTD")]
+ public int start_dtd ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? pubid, [CCode (type = "xmlChar*")] string? sysid);
+
+ [CCode (cname = "xmlTextWriterStartDTDAttlist")]
+ public int start_dtd_attlist ([CCode (type = "xmlChar*")] string name);
+
+ [CCode (cname = "xmlTextWriterStartDTDElement")]
+ public int start_dtd_element ([CCode (type = "xmlChar*")] string name);
+
+ [CCode (cname = "xmlTextWriterStartDTDEntity")]
+ public int start_dtd_entity (bool pe, [CCode (type = "xmlChar*")] string name);
+
/* write */
[CCode (cname = "xmlTextWriterWriteAttribute")]
@@ -1207,6 +1231,33 @@ namespace Xml {
[CCode (cname = "xmlTextWriterWriteString")]
public int write_string ([CCode (type = "xmlChar*")] string content);
+ [CCode (cname = "xmlTextWriterWriteDocType")]
+ public int write_document_type ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? pubid, [CCode (type = "xmlChar*")] string? sysid, [CCode (type = "xmlChar*")] string? subset);
+
+ [CCode (cname = "xmlTextWriterWriteDTD")]
+ public int write_dtd ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? pubid, [CCode (type = "xmlChar*")] string? sysid, [CCode (type = "xmlChar*")] string? subset);
+
+ [CCode (cname = "xmlTextWriterWriteDTDAttlist")]
+ public int write_dtd_attlist ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string content);
+
+ [CCode (cname = "xmlTextWriterWriteDTDElement")]
+ public int write_dtd_element ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string content);
+
+ [CCode (cname = "xmlTextWriterWriteDTDEntity")]
+ public int write_dtd_entity ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? pubid, [CCode (type = "xmlChar*")] string? sysid, [CCode (type = "xmlChar*")] string ndataid, [CCode (type = "xmlChar*")] string content);
+
+ [CCode (cname = "xmlTextWriterWriteDTDExternalEntity")]
+ public int write_dtd_external_entity (bool pe, [CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? pubid, [CCode (type = "xmlChar*")] string? sysid, [CCode (type = "xmlChar*")] string ndataid);
+
+ [CCode (cname = "xmlTextWriterWriteDTDExternalEntityContents")]
+ public int write_dtd_external_entity_contents ([CCode (type = "xmlChar*")] string? pubid, [CCode (type = "xmlChar*")] string? sysid, [CCode (type = "xmlChar*")] string ndataid);
+
+ [CCode (cname = "xmlTextWriterWriteDTDInternalEntity")]
+ public int write_dtd_internal_entity (bool pe, [CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string content);
+
+ [CCode (cname = "xmlTextWriterWriteDTDNotation")]
+ public int write_dtd_notation ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? pubid, [CCode (type = "xmlChar*")] string? sysid);
+
/* formatted */
[CCode (cname = "xmlTextWriterWriteFormatAttribute")]