Mercurial > pidgin.yaz
comparison src/xmlnode.h @ 11707:b7af9100af6c
[gaim-migrate @ 13998]
Document that -1 is an allowed size value for xmlnode_from_str().
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Fri, 21 Oct 2005 19:03:51 +0000 |
| parents | 98de05966d6d |
| children | 02833a0ae716 |
comparison
equal
deleted
inserted
replaced
| 11706:bcc49c25ef90 | 11707:b7af9100af6c |
|---|---|
| 179 * Creates a node from a string of XML. Calling this on the | 179 * Creates a node from a string of XML. Calling this on the |
| 180 * root node of an XML document will parse the entire document | 180 * root node of an XML document will parse the entire document |
| 181 * into a tree of nodes, and return the xmlnode of the root. | 181 * into a tree of nodes, and return the xmlnode of the root. |
| 182 * | 182 * |
| 183 * @param str The string of xml. | 183 * @param str The string of xml. |
| 184 * @param size The size of the string. | 184 * @param size The size of the string, or -1 if @a str is |
| 185 * NUL-terminated. | |
| 185 * | 186 * |
| 186 * @return The new node. | 187 * @return The new node. |
| 187 */ | 188 */ |
| 188 xmlnode *xmlnode_from_str(const char *str, gssize size); | 189 xmlnode *xmlnode_from_str(const char *str, gssize size); |
| 189 | 190 |
