summaryrefslogtreecommitdiff
path: root/src/rexmpp_xml.h
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2023-09-29 20:24:16 +0300
committerdefanor <defanor@uberspace.net>2023-09-29 20:24:16 +0300
commitccdb748c81abc9bb30b8989e27d22bbbb219f9a0 (patch)
tree295be2ea605c8acbe56116ea3ce119b99e3e0440 /src/rexmpp_xml.h
parent04e6fd5194481798bc30abc7a690664d5af36aeb (diff)
Add more checks, tests, and documentation
Diffstat (limited to 'src/rexmpp_xml.h')
-rw-r--r--src/rexmpp_xml.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rexmpp_xml.h b/src/rexmpp_xml.h
index d5a9af1..8f6d974 100644
--- a/src/rexmpp_xml.h
+++ b/src/rexmpp_xml.h
@@ -9,6 +9,8 @@
#ifndef REXMPP_XML_H
#define REXMPP_XML_H
+#include <stdio.h>
+
typedef struct rexmpp_xml_qname rexmpp_xml_qname_t;
typedef struct rexmpp_xml_attribute rexmpp_xml_attr_t;
typedef struct rexmpp_xml_node rexmpp_xml_t;
@@ -139,8 +141,7 @@ int rexmpp_xml_add_attr_ns (rexmpp_xml_t *node,
composition.
*/
rexmpp_xml_t *
-rexmpp_xml_add_id (rexmpp_t *s,
- rexmpp_xml_t *node);
+rexmpp_xml_add_id (rexmpp_xml_t *node);
/**
@brief A helper function for XML serialisation.