nss: upgrade to release 3.73
[LibreOffice.git] / forms / source / xforms / xpathlib / xpathlib.hxx
blobe1c07965df012bb10f48f5d4b4ef506ca8c12e90
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 #ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
21 #define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
23 #include <libxml/xpath.h>
26 entry functions for libxml xpath engine
30 /**
31 * xmlXPathParserContext:
33 * An XPath parser context. It contains pure parsing information,
34 * an xmlXPathContext, and the stack of objects.
37 extern "C"
40 // XForms
42 // XForms Core Functions
43 // boolean functions
44 void xforms_booleanFromStringFunction(xmlXPathParserContextPtr ctxt, int nargs);
45 void xforms_ifFunction(xmlXPathParserContextPtr ctxt, int nargs);
47 // Number Functions
48 void xforms_avgFunction(xmlXPathParserContextPtr ctxt, int nargs);
49 void xforms_minFunction(xmlXPathParserContextPtr ctxt, int nargs);
50 void xforms_maxFunction(xmlXPathParserContextPtr ctxt, int nargs);
51 void xforms_countNonEmptyFunction(xmlXPathParserContextPtr ctxt, int nargs);
52 void xforms_indexFunction(xmlXPathParserContextPtr ctxt, int nargs);
54 // String Functions
55 void xforms_propertyFunction(xmlXPathParserContextPtr ctxt, int nargs);
57 // Date and Time Functions
58 void xforms_nowFunction(xmlXPathParserContextPtr ctxt, int nargs);
59 void xforms_daysFromDateFunction(xmlXPathParserContextPtr ctxt, int nargs);
60 void xforms_secondsFromDateTimeFunction(xmlXPathParserContextPtr ctxt, int nargs);
61 void xforms_secondsFunction(xmlXPathParserContextPtr ctxt, int nargs);
62 void xforms_monthsFunction(xmlXPathParserContextPtr ctxt, int nargs);
64 // Node-set Functions
65 void xforms_instanceFunction(xmlXPathParserContextPtr ctxt, int nargs);
67 // Node-set Functions; XForms 1.1
68 void xforms_currentFunction(xmlXPathParserContextPtr ctxt, int nargs);
70 // --- lookup ---
71 xmlXPathFunction xforms_lookupFunc(void *ctxt, const xmlChar *name, const xmlChar *ns_uri);
75 #endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */