cid#1607171 Data race condition
[LibreOffice.git] / forms / source / xforms / xpathlib / xpathlib.hxx
blob52a477c97e738f3e343be5d43f1a945a57f8f04c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 #include <libxml/xpath.h>
25 entry functions for libxml xpath engine
29 /**
30 * xmlXPathParserContext:
32 * An XPath parser context. It contains pure parsing information,
33 * an xmlXPathContext, and the stack of objects.
36 extern "C"
39 // XForms
41 // XForms Core Functions
42 // boolean functions
43 void xforms_booleanFromStringFunction(xmlXPathParserContextPtr ctxt, int nargs);
44 void xforms_ifFunction(xmlXPathParserContextPtr ctxt, int nargs);
46 // Number Functions
47 void xforms_avgFunction(xmlXPathParserContextPtr ctxt, int nargs);
48 void xforms_minFunction(xmlXPathParserContextPtr ctxt, int nargs);
49 void xforms_maxFunction(xmlXPathParserContextPtr ctxt, int nargs);
50 void xforms_countNonEmptyFunction(xmlXPathParserContextPtr ctxt, int nargs);
51 void xforms_indexFunction(xmlXPathParserContextPtr ctxt, int nargs);
53 // String Functions
54 void xforms_propertyFunction(xmlXPathParserContextPtr ctxt, int nargs);
56 // Date and Time Functions
57 void xforms_nowFunction(xmlXPathParserContextPtr ctxt, int nargs);
58 void xforms_daysFromDateFunction(xmlXPathParserContextPtr ctxt, int nargs);
59 void xforms_secondsFromDateTimeFunction(xmlXPathParserContextPtr ctxt, int nargs);
60 void xforms_secondsFunction(xmlXPathParserContextPtr ctxt, int nargs);
61 void xforms_monthsFunction(xmlXPathParserContextPtr ctxt, int nargs);
63 // Node-set Functions
64 void xforms_instanceFunction(xmlXPathParserContextPtr ctxt, int nargs);
66 // Node-set Functions; XForms 1.1
67 void xforms_currentFunction(xmlXPathParserContextPtr ctxt, int nargs);
69 // --- lookup ---
70 xmlXPathFunction xforms_lookupFunc(void *ctxt, const xmlChar *name, const xmlChar *ns_uri);
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */