Lines Matching defs:plug
28537 * Plug a SAX based validation layer in a SAX parsing event flow.
28555 * We only allow to plug into SAX2 event streams
28668 * plug the pointers back.
28679 * @plug: a data structure returned by xmlSchemaSAXPlug
28687 xmlSchemaSAXUnplug(xmlSchemaSAXPlugPtr plug)
28692 if ((plug == NULL) || (plug->magic != XML_SAX_PLUG_MAGIC))
28694 plug->magic = 0;
28696 xmlSchemaPostRun(plug->ctxt);
28698 sax = plug->user_sax_ptr;
28699 *sax = plug->user_sax;
28700 if (plug->user_sax != NULL) {
28701 user_data = plug->user_data_ptr;
28702 *user_data = plug->user_data;
28706 xmlFree(plug);
28787 xmlSchemaSAXPlugPtr plug = NULL;
28822 * Plug the validation and launch the parsing
28824 plug = xmlSchemaSAXPlug(ctxt, &(pctxt->sax), &(pctxt->userData));
28825 if (plug == NULL) {
28845 if (plug != NULL) {
28846 xmlSchemaSAXUnplug(plug);