summaryrefslogtreecommitdiff
path: root/src/xml/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/xml.h')
-rw-r--r--src/xml/xml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xml/xml.h b/src/xml/xml.h
index 4766e2c..41d4006 100644
--- a/src/xml/xml.h
+++ b/src/xml/xml.h
@@ -25,4 +25,8 @@ long kai_tag_attr_to_long(
*/
char *kai_tag_attr_to_dup(struct kai_tag_t *t, const char *attr);
+
+/* return the number of immediate children of a node */
+int kai_tag_num_children(struct kai_tag_t *t);
+
#endif