1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
/**
* perl-libxml-sax.h
* $Id$
*/
#ifndef __PERL_LIBXML_SAX_H__
#define __PERL_LIBXML_SAX_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <libxml/tree.h>
#ifdef __cplusplus
}
#endif
/*
* auxiliary macro to serve as an croak(NULL)
* unlike croak(NULL), this version does not produce
* a warning (see the perlapi for the meaning of croak(NULL))
*
*/
#define croak_obj Perl_croak(aTHX_ NULL)
/* has to be called in BOOT sequence */
void
PmmSAXInitialize(pTHX);
void
PmmSAXInitContext( xmlParserCtxtPtr ctxt, SV * parser, SV * saved_error );
void
PmmSAXCloseContext( xmlParserCtxtPtr ctxt );
xmlSAXHandlerPtr
PSaxGetHandler();
#endif
|