File: perl-libxml-sax.h

package info (click to toggle)
libxml-libxml-perl 2.0001%2Bdfsg-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,452 kB
  • sloc: perl: 5,285; ansic: 3,747; xml: 178; sh: 61; makefile: 8
file content (43 lines) | stat: -rw-r--r-- 656 bytes parent folder | download
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