SaxonC 12.5
Saxon Processor library for C/C++, PHP and Python
Loading...
Searching...
No Matches
SaxonCProcessor.h
Go to the documentation of this file.
1#ifndef SAXONCPROC_H
2#define SAXONCPROC_H
3
5// Copyright (c) 2022 - 2023 Saxonica Limited.
6// This Source Code Form is subject to the terms of the Mozilla Public License,
7// v. 2.0. If a copy of the MPL was not distributed with this file, You can
8// obtain one at http://mozilla.org/MPL/2.0/. This Source Code Form is
9// "Incompatible With Secondary Licenses", as defined by the Mozilla Public
10// License, v. 2.0.
12
13#include "SaxonCGlue.h"
14
25typedef struct {
26 int64_t xqueryProc;
28
32typedef struct {
33 int64_t xsltProc;
34} sxnc_xslt;
35
39typedef struct {
40 int64_t xpathProc;
42
43EXTERN_SAXONC
44
48const char *version(sxnc_environment *environi, sxnc_processor *proc);
49
54 sxnc_processor *proc);
55
74void initSaxonc(sxnc_environment **environi, sxnc_processor **proc,
75 sxnc_parameter **param, sxnc_property **prop, int cap,
76 int propCap);
77
88void freeSaxonc(sxnc_environment **environi, sxnc_processor **proc,
89 sxnc_parameter **param, sxnc_property **prop);
90
115 char *cwd, char *source, char *stylesheet,
116 char *outputfile, sxnc_parameter *parameters,
117 sxnc_property *properties, int parLen, int propLen);
118
143const char *xsltApplyStylesheet(sxnc_environment *environi,
144 sxnc_processor *proc, char *cwd, char *source,
145 char *stylesheet, sxnc_parameter *parameters,
146 sxnc_property *properties, int parLen,
147 int propLen);
169 char *cwd, char *outputfile, sxnc_parameter *parameters,
170 sxnc_property *properties, int parLen, int propLen);
171
192const char *executeQueryToString(sxnc_environment *environi,
193 sxnc_processor *proc, char *cwd,
194 sxnc_parameter *parameters,
195 sxnc_property *properties, int parLen,
196 int propLen);
197
203const char *c_getErrorMessage(sxnc_environment *environi);
204
205EXTERN_SAXONC_END
206
207#endif
This C header file contains a number of factory functions for running SaxonC C/C++ APIs,...
void freeSaxonc(sxnc_environment **environi, sxnc_processor **proc, sxnc_parameter **param, sxnc_property **prop)
Definition SaxonCProcessor.c:30
const char * c_getErrorMessage(sxnc_environment *environi)
Definition SaxonCProcessor.c:167
void initSaxonc(sxnc_environment **environi, sxnc_processor **proc, sxnc_parameter **param, sxnc_property **prop, int cap, int propCap)
Definition SaxonCProcessor.c:20
EXTERN_SAXONC const char * version(sxnc_environment *environi, sxnc_processor *proc)
Definition SaxonCProcessor.c:6
void executeQueryToFile(sxnc_environment *environi, sxnc_processor *proc, char *cwd, char *outputfile, sxnc_parameter *parameters, sxnc_property *properties, int parLen, int propLen)
Definition SaxonCProcessor.c:106
const char * xsltApplyStylesheet(sxnc_environment *environi, sxnc_processor *proc, char *cwd, char *source, char *stylesheet, sxnc_parameter *parameters, sxnc_property *properties, int parLen, int propLen)
Definition SaxonCProcessor.c:74
const char * getProductVariantAndVersion(sxnc_environment *environi, sxnc_processor *proc)
Definition SaxonCProcessor.c:14
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)
Definition SaxonCProcessor.c:38
const char * executeQueryToString(sxnc_environment *environi, sxnc_processor *proc, char *cwd, sxnc_parameter *parameters, sxnc_property *properties, int parLen, int propLen)
Definition SaxonCProcessor.c:136
Definition SaxonCGlue.h:79
Definition SaxonCGlue.h:91
Definition SaxonCGlue.h:120
Definition SaxonCGlue.h:104
Definition SaxonCProcessor.h:39
int64_t xpathProc
ObjectHandle reference to the underlying XPathProcessor.
Definition SaxonCProcessor.h:40
Definition SaxonCProcessor.h:25
int64_t xqueryProc
ObjectHandle reference to the underlying XQueryProcessor.
Definition SaxonCProcessor.h:26
Definition SaxonCProcessor.h:32
int64_t xsltProc
ObjectHandle reference to the underlying XSLTProcessor.
Definition SaxonCProcessor.h:33