* xmlRelaxNGSetValidStructuredErrors: * @ctxt: a Relax-NG validation context * @serror: the structured error function * @ctx: the functions context * * Set the structured error callback */
| 10764 | * Set the structured error callback |
| 10765 | */ |
| 10766 | void |
| 10767 | xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxtPtr ctxt, |
| 10768 | xmlStructuredErrorFunc serror, void *ctx) |
| 10769 | { |
| 10770 | if (ctxt == NULL) |
| 10771 | return; |
| 10772 | ctxt->serror = serror; |
| 10773 | ctxt->error = NULL; |
| 10774 | ctxt->warning = NULL; |
| 10775 | ctxt->userData = ctx; |
| 10776 | } |
| 10777 | |
| 10778 | /** |
| 10779 | * xmlRelaxNGGetValidErrors: |
no outgoing calls