diff src/xmlnode.h @ 9837:dafebadcf8d2

[gaim-migrate @ 10714] this should at least mostly work... adda xmlnode_to_formatted_str() function that makes the XML readable, rather than spitting it out all on 1 line, which the parser may be OK with, but most of us humans have a harder time with this is the result of grim kicking my ass into gear, and much discussion with him, so he gets a sizeable chunk of the credit for this, if it works. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 23 Aug 2004 05:06:38 +0000
parents b5dbd1839716
children d88ee1d73a93
line wrap: on
line diff
--- a/src/xmlnode.h	Mon Aug 23 00:47:45 2004 +0000
+++ b/src/xmlnode.h	Mon Aug 23 05:06:38 2004 +0000
@@ -54,6 +54,7 @@
 const char *xmlnode_get_attrib(xmlnode *node, const char *attr);
 void xmlnode_remove_attrib(xmlnode *node, const char *attr);
 char *xmlnode_to_str(xmlnode *node, int *len);
+char *xmlnode_to_formatted_str(xmlnode *node, int *len);
 xmlnode *xmlnode_from_str(const char *str, size_t size);
 xmlnode *xmlnode_copy(xmlnode *src);