SaxonC  11.6
Saxon Processor library for C/C++, PHP and Python
SaxonCProcessor.h
1 #ifndef SAXONCPROC_H
2 #define SAXONCPROC_H
3 
4 
6 // Copyright (c) 2022 Saxonica Limited.
7 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
8 // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
11 
12 
13 #include "SaxonCGlue.h"
14 
15 
16 
17 
18 
22 typedef struct {
23  jobject xqueryProc;
24  jobject xsltProc;
25  jobject xpathProc;
27 
28 EXTERN_SAXONC
29 /*
30  * Get the Saxon version
31  */
32 const char * version(sxnc_environment *environi);
33 
34 const char * getProductVariantAndVersion(sxnc_environment * environi);
35 
36 void initSaxonc(sxnc_environment ** environi, sxnc_processor ** proc, sxnc_parameter **param, sxnc_property ** prop,int cap, int propCap);
37 
38 void freeSaxonc(sxnc_environment ** environi, sxnc_processor ** proc, sxnc_parameter **param, sxnc_property ** prop);
39 
40 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);
41 
42 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);
43 
44 void executeQueryToFile(sxnc_environment *environi, sxnc_processor ** proc, char * cwd, char* outputfile, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
45 
46 const char * executeQueryToString(sxnc_environment *environi, sxnc_processor ** proc, char * cwd, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
47 
48 EXTERN_SAXONC_END
49 
50 #endif
Definition: SaxonCGlue.h:80
Definition: SaxonCGlue.h:92
Definition: SaxonCProcessor.h:22
Definition: SaxonCGlue.h:103