* xmlC14NProcessNodeList: * @ctx: the pointer to C14N context object * @cur: the node to start from * * Processes all nodes in the row starting from cur. * * Returns non-negative value on success or negative value on fail */
| 1713 | * Returns non-negative value on success or negative value on fail |
| 1714 | */ |
| 1715 | static int |
| 1716 | xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur) |
| 1717 | { |
| 1718 | int ret; |
| 1719 | |
| 1720 | if (ctx == NULL) { |
| 1721 | xmlC14NErrParam(ctx); |
| 1722 | return (-1); |
| 1723 | } |
| 1724 | |
| 1725 | for (ret = 0; cur != NULL && ret >= 0; cur = cur->next) { |
| 1726 | ret = xmlC14NProcessNode(ctx, cur); |
| 1727 | } |
| 1728 | return (ret); |
| 1729 | } |
| 1730 | |
| 1731 | |
| 1732 | /** |
no test coverage detected