Project

Profile

Help

Download (1.54 KB) Statistics
| Branch: | Revision:

he / src / main / c / Saxon.C.API / SaxonCProcessor.h @ af4371f2

1 72bf04c6 Norman Walsh
#ifndef SAXONCPROC_H 
2
#define SAXONCPROC_H
3
4
#include "SaxonCGlue.h"
5
6
7
8
9
10
/*! <code>sxnc_processor</code>. This struct is used to capture the Java processor objects created in C for XSLT, XQuery and XPath 
11
 * <p/>
12
 */
13
typedef struct {
14
        jobject xqueryProc;
15
        jobject xsltProc;
16
        jobject xpathProc;
17
} sxnc_processor;
18
19
EXTERN_SAXONC
20
/*
21
 * Get the Saxon version 
22
 */
23
const char * version(sxnc_environment environi);
24
25
const char * getProductVariantAndVersion(sxnc_environment environi);
26
27
void initSaxonc(sxnc_environment ** environi, sxnc_processor ** proc, sxnc_parameter **param, sxnc_property ** prop,int cap, int propCap);
28
29
void freeSaxonc(sxnc_environment ** environi, sxnc_processor ** proc, sxnc_parameter **param, sxnc_property ** prop);
30
31
void xsltSaveResultToFile(sxnc_environment environi, sxnc_processor ** proc, char * cwd, char * source, char* stylesheet, char* outputfile, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
32
33
const char * xsltApplyStylesheet(sxnc_environment environi, sxnc_processor ** proc, char * cwd, const char * source, const char* stylesheet, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
34
35
void executeQueryToFile(sxnc_environment environi, sxnc_processor ** proc, char * cwd, char* outputfile, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
36
37
const char * executeQueryToString(sxnc_environment environi, sxnc_processor ** proc, char * cwd, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
38
39
EXTERN_SAXONC_END
40
41
#endif