summaryrefslogtreecommitdiff
path: root/redland/rasqal
diff options
context:
space:
mode:
Diffstat (limited to 'redland/rasqal')
-rw-r--r--redland/rasqal/makefile.mk159
-rw-r--r--redland/rasqal/rasqal-0.9.16.patch.autotools38
-rw-r--r--redland/rasqal/rasqal-0.9.16.patch.dmake98
-rw-r--r--redland/rasqal/rasqal-0.9.16.patch.legal18
-rw-r--r--redland/rasqal/rasqal-0.9.16.patch.ooo_build56
-rw-r--r--redland/rasqal/rasqal-0.9.16.patch.win3243
-rw-r--r--redland/rasqal/rasqal2.map194
7 files changed, 606 insertions, 0 deletions
diff --git a/redland/rasqal/makefile.mk b/redland/rasqal/makefile.mk
new file mode 100644
index 000000000000..efe099c88049
--- /dev/null
+++ b/redland/rasqal/makefile.mk
@@ -0,0 +1,159 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..
+
+PRJNAME=redland
+TARGET=so_rasqal
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+.IF "$(SYSTEM_REDLAND)" == "YES"
+all:
+ @echo "An already available installation of Redland RDF should exist on your system."
+ @echo "Therefore the version provided here does not need to be built in addition."
+.ENDIF
+
+# --- Files --------------------------------------------------------
+
+.INCLUDE : ../redlandversion.mk
+
+RASQALVERSION=0.9.16
+
+TARFILE_NAME=rasqal-$(RASQALVERSION)
+TARFILE_MD5=fca8706f2c4619e2fa3f8f42f8fc1e9d
+
+ADDITIONAL_FILES=src/makefile.mk src/rasqal_config.h
+
+OOO_PATCH_FILES= \
+ $(TARFILE_NAME).patch.legal \
+ $(TARFILE_NAME).patch.autotools \
+ $(TARFILE_NAME).patch.ooo_build \
+ $(TARFILE_NAME).patch.dmake \
+ $(TARFILE_NAME).patch.win32
+
+PATCH_FILES=$(OOO_PATCH_FILES)
+
+
+.IF "$(OS)"=="OS2"
+BUILD_ACTION=dmake
+BUILD_DIR=$(CONFIGURE_DIR)$/src
+.ELIF "$(OS)"=="WNT"
+.IF "$(COM)"=="GCC"
+rasqal_CC=$(CC) -mthreads
+.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
+rasqal_CC+=-shared-libgcc
+.ENDIF
+rasqal_LIBS=
+.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
+rasqal_LIBS+=-lstdc++_s
+.ENDIF
+
+CONFIGURE_DIR=
+CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH"
+CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --disable-pcre --with-decimal=none --with-www=xml --build=i586-pc-mingw32 --host=i586-pc-mingw32 lt_cv_cc_dll_switch="-shared" CC="$(rasqal_CC)" CPPFLAGS="-nostdinc $(INCLUDE)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2,--export-all-symbols -L$(ILIB:s/;/ -L/)" LIBS="$(rasqal_LIBS)" OBJDUMP="$(WRAPCMD) objdump" LIBXML2LIB=$(LIBXML2LIB) XSLTLIB="$(XSLTLIB)"
+BUILD_ACTION=$(GNUMAKE)
+BUILD_FLAGS+= -j$(EXTMAXPROCESS)
+BUILD_DIR=$(CONFIGURE_DIR)
+.ELSE
+# there is no wntmsci build environment in the tarball; we use custom dmakefile
+BUILD_ACTION=dmake
+BUILD_DIR=$(CONFIGURE_DIR)$/src
+.ENDIF
+.ELSE # "WNT"
+
+.IF "$(OS)$(COM)"=="LINUXGCC" || "$(OS)$(COM)"=="FREEBSDGCC"
+LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec -Wl,-z,noexecstack
+.ENDIF # "$(OS)$(COM)"=="LINUXGCC"
+.IF "$(OS)$(COM)"=="SOLARISC52"
+LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib'
+.ENDIF # "$(OS)$(COM)"=="SOLARISC52"
+
+.IF "$(COM)"=="C52" && "$(CPU)"=="U"
+CFLAGS=-m64
+.EXPORT: CFLAGS
+.ENDIF
+
+# NB: SOLARDIR before SYSBASE, because linux SYSBASE contains obsolete libcrypto
+CPPFLAGS+:=-I$(SOLARINCDIR)$/external
+LDFLAGS+:=-L$(SOLARLIBDIR)
+
+.IF "$(SYSBASE)"!=""
+CPPFLAGS+:=-I$(SYSBASE)$/usr$/include
+.IF "$(OS)"=="SOLARIS" || "$(OS)"=="LINUX"
+LDFLAGS+:=-L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl
+.ENDIF
+.ENDIF # "$(SYSBASE)"!=""
+
+CPPFLAGS+:=$(EXTRA_CDEFS) $(EXTRA_CFLAGS)
+LDFLAGS+:=$(EXTRA_LINKFLAGS)
+XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config
+
+.EXPORT: CPPFLAGS
+.EXPORT: LDFLAGS
+.EXPORT: LIBXML2LIB
+.EXPORT: XSLTLIB
+
+CONFIGURE_DIR=
+CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH"
+CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml
+BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)
+BUILD_FLAGS+= -j$(EXTMAXPROCESS)
+BUILD_DIR=$(CONFIGURE_DIR)
+#INSTALL_ACTION=$(GNUMAKE) install
+#INSTALL_FLAGS+=DESTDIR=$(PWD)$/$(P_INSTALL_TARGET_DIR)
+.ENDIF
+
+
+OUT2INC+=src$/rasqal.h
+
+.IF "$(OS)"=="MACOSX"
+OUT2LIB+=src$/.libs$/librasqal.$(RASQAL_MAJOR).dylib src$/.libs$/librasqal.dylib
+OUT2BIN+=src/rasqal-config
+.ELIF "$(OS)"=="WNT"
+.IF "$(COM)"=="GCC"
+OUT2LIB+=src$/.libs$/*.a
+OUT2BIN+=src$/.libs$/*.dll
+OUT2BIN+=src/rasqal-config
+.ELSE
+# if we use dmake, this is done automagically
+.ENDIF
+.ELIF "$(OS)"=="OS2"
+# if we use dmake, this is done automagically
+.ELSE
+OUT2LIB+=src$/.libs$/librasqal.so.$(RASQAL_MAJOR) src$/.libs$/librasqal.so
+OUT2BIN+=src/rasqal-config
+.ENDIF
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : set_ext.mk
+.INCLUDE : target.mk
+.INCLUDE : tg_ext.mk
+
diff --git a/redland/rasqal/rasqal-0.9.16.patch.autotools b/redland/rasqal/rasqal-0.9.16.patch.autotools
new file mode 100644
index 000000000000..100499dd3ed8
--- /dev/null
+++ b/redland/rasqal/rasqal-0.9.16.patch.autotools
@@ -0,0 +1,38 @@
+--- misc/rasqal-0.9.16/ltmain.sh Tue Apr 29 23:33:55 2008
++++ misc/build/rasqal-0.9.16/ltmain.sh Wed Feb 18 13:25:00 2009
+@@ -1565,6 +1565,11 @@
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ absdir=`cd "$dir" && pwd`
++ case $host_os in
++ mingw*)
++ absdir=`cygpath -m $absdir`
++ ;;
++ esac
+ if test -z "$absdir"; then
+ $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
+ absdir="$dir"
+@@ -3262,9 +3267,9 @@
+ revision="$number_revision"
+ ;;
+ freebsd-aout|freebsd-elf|sunos)
+- current="$number_major"
+- revision="$number_minor"
+- age="0"
++ current=`expr $number_major + $number_minor`
++ age="$number_minor"
++ revision="$number_revision"
+ ;;
+ irix|nonstopux)
+ current=`expr $number_major + $number_minor`
+@@ -3344,8 +3349,8 @@
+ ;;
+
+ freebsd-elf)
+- major=".$current"
+- versuffix=".$current";
++ major=.`expr $current - $age`
++ versuffix="$major.$age.$revision"
+ ;;
+
+ irix | nonstopux)
diff --git a/redland/rasqal/rasqal-0.9.16.patch.dmake b/redland/rasqal/rasqal-0.9.16.patch.dmake
new file mode 100644
index 000000000000..6795eb95c43d
--- /dev/null
+++ b/redland/rasqal/rasqal-0.9.16.patch.dmake
@@ -0,0 +1,98 @@
+--- misc/rasqal-0.9.16/src/makefile.mk Thu Nov 6 15:56:45 2008
++++ misc/build/rasqal-0.9.16/src/makefile.mk Thu Nov 6 15:55:09 2008
+@@ -1,1 +1,94 @@
+-dummy
++#*************************************************************************
++#
++# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++#
++# Copyright 2000, 2010 Oracle and/or its affiliates.
++#
++# OpenOffice.org - a multi-platform office productivity suite
++#
++# This file is part of OpenOffice.org.
++#
++# OpenOffice.org is free software: you can redistribute it and/or modify
++# it under the terms of the GNU Lesser General Public License version 3
++# only, as published by the Free Software Foundation.
++#
++# OpenOffice.org is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU Lesser General Public License version 3 for more details
++# (a copy is included in the LICENSE file that accompanied this code).
++#
++# You should have received a copy of the GNU Lesser General Public License
++# version 3 along with OpenOffice.org. If not, see
++# <http://www.openoffice.org/license.html>
++# for a copy of the LGPLv3 License.
++#
++#*************************************************************************
++
++PRJ=..$/..$/..$/..$/..
++
++PRJNAME=redland
++TARGET=rasqal
++LIBTARGET=NO
++UWINAPILIB=
++
++EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
++
++
++# --- Settings -----------------------------------------------------
++
++.INCLUDE : settings.mk
++
++CDEFS+=-DRASQAL_INTERNAL -DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -DWIN32_EXPORTS -D_MT
++
++# --- Files --------------------------------------------------------
++
++SLOFILES = \
++ $(SLO)$/rasqal_datetime.obj \
++ $(SLO)$/rasqal_decimal.obj \
++ $(SLO)$/rasqal_engine.obj \
++ $(SLO)$/rasqal_expr.obj \
++ $(SLO)$/rasqal_feature.obj \
++ $(SLO)$/rasqal_general.obj \
++ $(SLO)$/rasqal_graph_pattern.obj \
++ $(SLO)$/rasqal_literal.obj \
++ $(SLO)$/rasqal_map.obj \
++ $(SLO)$/rasqal_query_results.obj \
++ $(SLO)$/rasqal_query.obj \
++ $(SLO)$/rasqal_raptor.obj \
++ $(SLO)$/rasqal_result_formats.obj \
++ $(SLO)$/rasqal_rowsource.obj \
++ $(SLO)$/rasqal_sparql_xml.obj \
++ $(SLO)$/rasqal_xsd_datatypes.obj \
++ $(SLO)$/rdql_lexer.obj \
++ $(SLO)$/rdql_parser.obj \
++ $(SLO)$/sparql_lexer.obj \
++ $(SLO)$/sparql_parser.obj \
++ $(SLO)$/strcasecmp.obj \
++
++
++# $(SLO)$/rasqal_redland.obj \
++
++SHL1DEPN= makefile.mk
++SHL1OBJS= $(SLOFILES)
++SHL1USE_EXPORTS=name
++
++#SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
++SHL1TARGET= $(TARGET)
++SHL1IMPLIB= lib$(TARGET)
++
++#SHL1VERSIONMAP=../service/exports.map
++SHL1DEF=$(MISC)$/$(SHL1TARGET).def
++DEF1NAME=$(SHL1TARGET)
++
++SHL1STDLIBS= \
++ $(PRJ)$/$(INPATH)$/lib$/libraptor.lib \
++
++
++#$(LIBXML2LIB) \
++# $(XSLTLIB) \
++
++# --- Targets ------------------------------------------------------
++
++.INCLUDE : target.mk
++
diff --git a/redland/rasqal/rasqal-0.9.16.patch.legal b/redland/rasqal/rasqal-0.9.16.patch.legal
new file mode 100644
index 000000000000..59b125d6b64e
--- /dev/null
+++ b/redland/rasqal/rasqal-0.9.16.patch.legal
@@ -0,0 +1,18 @@
+--- misc/rasqal-0.9.16/LICENSE.txt Fri Jun 27 04:24:52 2008
++++ misc/build/rasqal-0.9.16/LICENSE.txt Thu Nov 6 12:06:55 2008
+@@ -60,3 +60,15 @@
+
+ Copyright (C) 2003-2008 Dave Beckett
+ Copyright (C) 2003-2005 University of Bristol
++
++
++LGPL Disclaimer
++
++For the avoidance of doubt, except that if any license choice other
++than GPL or LGPL is available it will apply instead, Sun elects to
++use only the Lesser General Public License version 2.1 (LGPLv2) at
++this time for any software where a choice of LGPL license versions
++is made available with the language indicating that LGPLv2.1 or any
++later version may be used, or where a choice of which version of the
++LGPL is applied is otherwise unspecified.
++
diff --git a/redland/rasqal/rasqal-0.9.16.patch.ooo_build b/redland/rasqal/rasqal-0.9.16.patch.ooo_build
new file mode 100644
index 000000000000..827147995e6f
--- /dev/null
+++ b/redland/rasqal/rasqal-0.9.16.patch.ooo_build
@@ -0,0 +1,56 @@
+--- misc/rasqal-0.9.16/src/rasqal-config.in Sun Jun 22 07:07:12 2008
++++ misc/build/rasqal-0.9.16/src/rasqal-config.in Thu Nov 6 12:10:52 2008
+@@ -22,10 +22,19 @@
+ #
+ #
+
+-prefix=@prefix@
+-includes="-I@includedir@/@PACKAGE@"
++prefix=${SOLARVERSION}/${INPATH}
++exec_prefix=${SOLARVERSION}/${INPATH}
++#includedir=${SOLARVERSION}/${INPATH}/inc${UPDMINOREXT}/external
++#libdir=${SOLARVERSION}/${INPATH}/lib${UPDMINOREXT}
++# HACK: map to build directory
++includedir=../../../../inc
++libdir=../../../../lib
++includes=-I${includedir}
+
++#prefix=@prefix@
++#includes="-I@includedir@/@PACKAGE@"
+
++
+ usage()
+ {
+ cat<<EOF
+@@ -104,7 +113,8 @@
+ echo $includes
+ fi
+ if test "$echo_libs" = "yes"; then
+- echo -L@libdir@ -lrasqal
++# echo -L@libdir@ -lrasqal
++ echo -L${libdir} -lrasqal
+ fi
+ if test "$echo_libtool_libs" = "yes"; then
+ echo @libdir@/@RASQAL_LIBTOOLLIBS@
+--- misc/rasqal-0.9.16/Makefile.am 2010-02-12 08:43:21.000000000 +0000
++++ misc/build/rasqal-0.9.16/Makefile.am 2010-02-12 08:43:56.000000000 +0000
+@@ -22,7 +22,7 @@
+
+ noinst_SCRIPTS = rasqal-src-config
+
+-SUBDIRS=src utils tests docs data win32
++SUBDIRS=src tests docs data win32
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = rasqal.pc
+--- misc/rasqal-0.9.16/Makefile.in 2010-02-12 08:43:19.000000000 +0000
++++ misc/build/rasqal-0.9.16/Makefile.in 2010-02-12 08:44:03.000000000 +0000
+@@ -242,7 +242,7 @@
+ with_raptor = @with_raptor@
+ with_redland = @with_redland@
+ noinst_SCRIPTS = rasqal-src-config
+-SUBDIRS = src utils tests docs data win32
++SUBDIRS = src tests docs data win32
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = rasqal.pc
+ EXTRA_DIST = ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 \
diff --git a/redland/rasqal/rasqal-0.9.16.patch.win32 b/redland/rasqal/rasqal-0.9.16.patch.win32
new file mode 100644
index 000000000000..51bad96e0e29
--- /dev/null
+++ b/redland/rasqal/rasqal-0.9.16.patch.win32
@@ -0,0 +1,43 @@
+--- misc/rasqal-0.9.16/src/win32_rasqal_config.h Fri Jun 27 04:02:09 2008
++++ misc/build/rasqal-0.9.16/src/win32_rasqal_config.h Thu Nov 6 12:07:06 2008
+@@ -37,10 +37,13 @@
+
+ #define HAVE_STDLIB_H 1
+
++#define HAVE_ERRNO_H 1
++
+ #define HAVE_STRICMP 1
+
+ /* MS names for these functions */
+-#define vsnprintf _vsnprintf
++// next line breaks build on wntmsci12
++//#define vsnprintf _vsnprintf
+ #define snprintf _snprintf
+ #define access _access
+ #define stricmp _stricmp
+@@ -85,6 +88,9 @@
+ #include <io.h>
+ #include <memory.h>
+
++// argh! stupid winnt.h...
++#undef DELETE
++
+ /* This is a SPARQL token define */
+ #ifdef OPTIONAL
+ #undef OPTIONAL
+@@ -116,8 +122,14 @@
+ /* #define RAPTOR_TRIPLES_SOURCE_REDLAND 1 */
+
+ /* Use PCRE regex library */
+-#define RASQAL_REGEX_PCRE 1
++//#define RASQAL_REGEX_PCRE 1
+
++#define HAVE_LIBXML_SCHEMASINTERNALS_H 1
++#define HAVE_LIBXML_XMLSCHEMASTYPES_H 1
++#define HAVE_LIBXML_XMLSCHEMAS_H 1
++
++#define RASQAL_DECIMAL_NONE 1
++
+ #ifdef _DEBUG
+ #define RASQAL_DEBUG 1
+ #endif
diff --git a/redland/rasqal/rasqal2.map b/redland/rasqal/rasqal2.map
new file mode 100644
index 000000000000..622043ac984c
--- /dev/null
+++ b/redland/rasqal/rasqal2.map
@@ -0,0 +1,194 @@
+UDK_3_0_0 {
+global:
+GetVersionInfo;
+rasqal_xsd_decimal_set_string;
+rasqal_xsd_decimal_print;
+rasqal_xsd_decimal_as_counted_string;
+rasqal_xsd_decimal_as_string;
+rasqal_new_xsd_decimal;
+rasqal_free_xsd_decimal;
+rasqal_xsd_decimal_set_long;
+rasqal_xsd_decimal_set_double;
+rasqal_xsd_decimal_add;
+rasqal_xsd_decimal_subtract;
+rasqal_xsd_decimal_multiply;
+rasqal_xsd_decimal_divide;
+rasqal_xsd_decimal_negate;
+rasqal_xsd_decimal_equals;
+rasqal_xsd_decimal_compare;
+rasqal_xsd_decimal_is_zero;
+rasqal_xsd_decimal_get_double;
+rasqal_set_triples_source_factory;
+rasqal_new_variable;
+rasqal_new_variable_typed;
+rasqal_data_graph_print;
+rasqal_prefix_print;
+rasqal_new_data_graph;
+rasqal_new_prefix;
+rasqal_new_triple;
+rasqal_new_triple_from_triple;
+rasqal_new_0op_expression;
+rasqal_new_1op_expression;
+rasqal_new_2op_expression;
+rasqal_new_3op_expression;
+rasqal_new_string_op_expression;
+rasqal_new_literal_expression;
+rasqal_new_function_expression;
+rasqal_new_cast_expression;
+rasqal_free_variable;
+rasqal_free_expression;
+rasqal_free_data_graph;
+rasqal_free_prefix;
+rasqal_free_triple;
+rasqal_expression_evaluate;
+rasqal_variable_set_value;
+rasqal_variable_print;
+rasqal_expression_print;
+rasqal_expression_print_op;
+rasqal_triple_print;
+rasqal_expression_foreach;
+rasqal_expression_visit;
+rasqal_new_expression_from_expression;
+rasqal_triple_get_origin;
+rasqal_triple_set_origin;
+rasqal_features_enumerate;
+rasqal_feature_from_uri;
+rasqal_get_feature_count;
+rasqal_feature_value_type;
+rasqal_version_decimal;
+rasqal_version_release;
+rasqal_version_minor;
+rasqal_version_major;
+rasqal_version_string;
+rasqal_home_url_string;
+rasqal_license_string;
+rasqal_copyright_string;
+rasqal_short_copyright_string;
+rasqal_init;
+rasqal_finish;
+rasqal_language_name_check;
+rasqal_query_set_default_generate_bnodeid_parameters;
+rasqal_free_memory;
+rasqal_alloc_memory;
+rasqal_calloc_memory;
+rasqal_query_set_generate_bnodeid_handler;
+rasqal_languages_enumerate;
+rasqal_graph_pattern_add_constraint;
+rasqal_graph_pattern_print;
+rasqal_graph_pattern_add_sub_graph_pattern;
+rasqal_graph_pattern_get_flags;
+rasqal_graph_pattern_visit;
+rasqal_graph_pattern_get_constraint;
+rasqal_graph_pattern_get_triple;
+rasqal_graph_pattern_get_sub_graph_pattern;
+rasqal_graph_pattern_get_sub_graph_pattern_sequence;
+rasqal_graph_pattern_get_index;
+rasqal_graph_pattern_operator_as_string;
+rasqal_graph_pattern_get_operator;
+rasqal_graph_pattern_get_constraint_sequence;
+rasqal_new_floating_literal;
+rasqal_literal_compare;
+rasqal_literal_equals;
+rasqal_new_double_literal;
+rasqal_new_integer_literal;
+rasqal_new_float_literal;
+rasqal_new_typed_literal;
+rasqal_new_decimal_literal;
+rasqal_new_decimal_literal_from_decimal;
+rasqal_new_string_literal;
+rasqal_new_uri_literal;
+rasqal_new_boolean_literal;
+rasqal_literal_as_node;
+rasqal_free_literal;
+rasqal_literal_print;
+rasqal_literal_print_type;
+rasqal_new_pattern_literal;
+rasqal_new_simple_literal;
+rasqal_new_variable_literal;
+rasqal_literal_as_string;
+rasqal_literal_as_string_flags;
+rasqal_literal_value;
+rasqal_literal_datatype;
+rasqal_literal_as_variable;
+rasqal_new_literal_from_literal;
+rasqal_free_query_results;
+rasqal_query_results_get_bindings;
+rasqal_query_results_get_binding_value;
+rasqal_query_results_get_binding_value_by_name;
+rasqal_query_results_get_triple;
+rasqal_query_results_next;
+rasqal_query_results_next_triple;
+rasqal_query_results_write;
+rasqal_query_results_formatter_write;
+rasqal_query_results_get_boolean;
+rasqal_query_results_get_bindings_count;
+rasqal_query_results_get_binding_name;
+rasqal_query_results_finished;
+rasqal_query_results_get_count;
+rasqal_query_results_is_syntax;
+rasqal_query_results_is_graph;
+rasqal_query_results_is_boolean;
+rasqal_query_results_is_bindings;
+rasqal_new_query;
+rasqal_free_query;
+rasqal_query_set_feature_string;
+rasqal_query_get_feature_string;
+rasqal_query_add_data_graph;
+rasqal_query_set_variable;
+rasqal_query_add_prefix;
+rasqal_query_add_variable;
+rasqal_query_prepare;
+rasqal_query_execute;
+rasqal_query_print;
+rasqal_query_graph_pattern_visit;
+rasqal_query_write;
+rasqal_query_get_graph_pattern_sequence;
+rasqal_query_get_graph_pattern;
+rasqal_query_get_data_graph;
+rasqal_query_get_variable;
+rasqal_query_has_variable;
+rasqal_query_get_triple;
+rasqal_query_get_prefix;
+rasqal_query_get_construct_triple;
+rasqal_query_get_order_condition;
+rasqal_query_get_group_condition;
+rasqal_query_escape_counted_string;
+rasqal_query_iostream_write_escaped_counted_string;
+rasqal_query_get_group_conditions_sequence;
+rasqal_query_get_order_conditions_sequence;
+rasqal_query_get_wildcard;
+rasqal_query_get_verb;
+rasqal_query_set_user_data;
+rasqal_query_get_user_data;
+rasqal_query_verb_as_string;
+rasqal_query_get_construct_triples_sequence;
+rasqal_query_get_query_graph_pattern;
+rasqal_query_get_prefix_sequence;
+rasqal_query_get_triple_sequence;
+rasqal_query_get_all_variable_sequence;
+rasqal_query_get_anonymous_variable_sequence;
+rasqal_query_get_bound_variable_sequence;
+rasqal_query_get_data_graph_sequence;
+rasqal_query_set_offset;
+rasqal_query_get_offset;
+rasqal_query_set_limit;
+rasqal_query_get_limit;
+rasqal_query_set_explain;
+rasqal_query_get_explain;
+rasqal_query_set_distinct;
+rasqal_query_get_distinct;
+rasqal_query_get_feature;
+rasqal_query_set_feature;
+rasqal_query_set_warning_handler;
+rasqal_query_set_error_handler;
+rasqal_query_set_fatal_error_handler;
+rasqal_query_get_label;
+rasqal_query_get_name;
+rasqal_query_results_formats_check;
+rasqal_new_query_results_formatter;
+rasqal_new_query_results_formatter_by_mime_type;
+rasqal_query_results_formats_enumerate;
+rasqal_query_results_formats_enumerate_full;
+rasqal_free_query_results_formatter;
+rasqal_query_results_formatter_get_mime_type;
+};