#if !defined (__LIBTRACKER_SPARQL_INSIDE__) && !defined (TRACKER_COMPILATION)
#error "only <libtracker-sparql/tracker-sparql.h> must be included directly."
#endif
/* tracker-generated-no-checks.h generated by valac 0.56.0, the Vala compiler, do not modify */

#ifndef __SRC_LIBTRACKER_SPARQL_TRACKER_GENERATED_NO_CHECKS_H__
#define __SRC_LIBTRACKER_SPARQL_TRACKER_GENERATED_NO_CHECKS_H__

#include <glib-object.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <float.h>
#include <math.h>
#include <gio/gio.h>
#include "libtracker-sparql/tracker-namespace-manager.h"
#include <stdarg.h>

G_BEGIN_DECLS

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif
#define TRACKER_DBUS_SERVICE "org.freedesktop.Tracker1"
#define TRACKER_DBUS_INTERFACE_RESOURCES "org.freedesktop.Tracker1.Resources"
#define TRACKER_DBUS_OBJECT_RESOURCES "/org/freedesktop/Tracker1/Resources"
#define TRACKER_DBUS_INTERFACE_STATISTICS "org.freedesktop.Tracker1.Statistics"
#define TRACKER_DBUS_OBJECT_STATISTICS "/org/freedesktop/Tracker1/Statistics"
#define TRACKER_DBUS_INTERFACE_STATUS "org.freedesktop.Tracker1.Status"
#define TRACKER_DBUS_OBJECT_STATUS "/org/freedesktop/Tracker1/Status"
#define TRACKER_DBUS_INTERFACE_STEROIDS "org.freedesktop.Tracker1.Steroids"
#define TRACKER_DBUS_OBJECT_STEROIDS "/org/freedesktop/Tracker1/Steroids"

#define TRACKER_SPARQL_TYPE_BUILDER (tracker_sparql_builder_get_type ())
#define TRACKER_SPARQL_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_BUILDER, TrackerSparqlBuilder))
#define TRACKER_SPARQL_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_BUILDER, TrackerSparqlBuilderClass))
#define TRACKER_SPARQL_IS_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_BUILDER))
#define TRACKER_SPARQL_IS_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_BUILDER))
#define TRACKER_SPARQL_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_BUILDER, TrackerSparqlBuilderClass))

typedef struct _TrackerSparqlBuilder TrackerSparqlBuilder;
typedef struct _TrackerSparqlBuilderClass TrackerSparqlBuilderClass;
typedef struct _TrackerSparqlBuilderPrivate TrackerSparqlBuilderPrivate;
typedef enum  {
	TRACKER_SPARQL_BUILDER_STATE_UPDATE,
	TRACKER_SPARQL_BUILDER_STATE_INSERT,
	TRACKER_SPARQL_BUILDER_STATE_DELETE,
	TRACKER_SPARQL_BUILDER_STATE_SUBJECT,
	TRACKER_SPARQL_BUILDER_STATE_PREDICATE,
	TRACKER_SPARQL_BUILDER_STATE_OBJECT,
	TRACKER_SPARQL_BUILDER_STATE_BLANK,
	TRACKER_SPARQL_BUILDER_STATE_WHERE,
	TRACKER_SPARQL_BUILDER_STATE_EMBEDDED_INSERT,
	TRACKER_SPARQL_BUILDER_STATE_GRAPH
} TrackerSparqlBuilderState;

#define TRACKER_SPARQL_BUILDER_TYPE_STATE (tracker_sparql_builder_state_get_type ())

#define TRACKER_SPARQL_TYPE_ERROR (tracker_sparql_error_get_type ())
typedef enum  {
	TRACKER_SPARQL_CONNECTION_FLAGS_NONE = 0,
	TRACKER_SPARQL_CONNECTION_FLAGS_READONLY = 1 << 0
} TrackerSparqlConnectionFlags;

#define TRACKER_SPARQL_TYPE_CONNECTION_FLAGS (tracker_sparql_connection_flags_get_type ())

#define TRACKER_SPARQL_TYPE_CONNECTION (tracker_sparql_connection_get_type ())
#define TRACKER_SPARQL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_CONNECTION, TrackerSparqlConnection))
#define TRACKER_SPARQL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_CONNECTION, TrackerSparqlConnectionClass))
#define TRACKER_SPARQL_IS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_CONNECTION))
#define TRACKER_SPARQL_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_CONNECTION))
#define TRACKER_SPARQL_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_CONNECTION, TrackerSparqlConnectionClass))

typedef struct _TrackerSparqlConnection TrackerSparqlConnection;
typedef struct _TrackerSparqlConnectionClass TrackerSparqlConnectionClass;
typedef struct _TrackerSparqlConnectionPrivate TrackerSparqlConnectionPrivate;

#define TRACKER_SPARQL_TYPE_CURSOR (tracker_sparql_cursor_get_type ())
#define TRACKER_SPARQL_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_CURSOR, TrackerSparqlCursor))
#define TRACKER_SPARQL_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_CURSOR, TrackerSparqlCursorClass))
#define TRACKER_SPARQL_IS_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_CURSOR))
#define TRACKER_SPARQL_IS_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_CURSOR))
#define TRACKER_SPARQL_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_CURSOR, TrackerSparqlCursorClass))

typedef struct _TrackerSparqlCursor TrackerSparqlCursor;
typedef struct _TrackerSparqlCursorClass TrackerSparqlCursorClass;

#define TRACKER_SPARQL_TYPE_STATEMENT (tracker_sparql_statement_get_type ())
#define TRACKER_SPARQL_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_STATEMENT, TrackerSparqlStatement))
#define TRACKER_SPARQL_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_STATEMENT, TrackerSparqlStatementClass))
#define TRACKER_SPARQL_IS_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_STATEMENT))
#define TRACKER_SPARQL_IS_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_STATEMENT))
#define TRACKER_SPARQL_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_STATEMENT, TrackerSparqlStatementClass))

typedef struct _TrackerSparqlStatement TrackerSparqlStatement;
typedef struct _TrackerSparqlStatementClass TrackerSparqlStatementClass;
typedef enum  {
	TRACKER_SPARQL_VALUE_TYPE_UNBOUND,
	TRACKER_SPARQL_VALUE_TYPE_URI,
	TRACKER_SPARQL_VALUE_TYPE_STRING,
	TRACKER_SPARQL_VALUE_TYPE_INTEGER,
	TRACKER_SPARQL_VALUE_TYPE_DOUBLE,
	TRACKER_SPARQL_VALUE_TYPE_DATETIME,
	TRACKER_SPARQL_VALUE_TYPE_BLANK_NODE,
	TRACKER_SPARQL_VALUE_TYPE_BOOLEAN
} TrackerSparqlValueType;

#define TRACKER_SPARQL_TYPE_VALUE_TYPE (tracker_sparql_value_type_get_type ())
typedef struct _TrackerSparqlCursorPrivate TrackerSparqlCursorPrivate;
typedef struct _TrackerSparqlStatementPrivate TrackerSparqlStatementPrivate;

struct _TrackerSparqlBuilder {
	GObject parent_instance;
	TrackerSparqlBuilderPrivate * priv;
};

struct _TrackerSparqlBuilderClass {
	GObjectClass parent_class;
};

typedef enum  {
	TRACKER_SPARQL_ERROR_PARSE,
	TRACKER_SPARQL_ERROR_UNKNOWN_CLASS,
	TRACKER_SPARQL_ERROR_UNKNOWN_PROPERTY,
	TRACKER_SPARQL_ERROR_TYPE,
	TRACKER_SPARQL_ERROR_CONSTRAINT,
	TRACKER_SPARQL_ERROR_NO_SPACE,
	TRACKER_SPARQL_ERROR_INTERNAL,
	TRACKER_SPARQL_ERROR_UNSUPPORTED
} TrackerSparqlError;
#define TRACKER_SPARQL_ERROR tracker_sparql_error_quark ()

struct _TrackerSparqlConnection {
	GObject parent_instance;
	TrackerSparqlConnectionPrivate * priv;
};

struct _TrackerSparqlConnectionClass {
	GObjectClass parent_class;
	TrackerSparqlCursor* (*query) (TrackerSparqlConnection* self, const gchar* sparql, GCancellable* cancellable, GError** error);
	void (*query_async) (TrackerSparqlConnection* self, const gchar* sparql, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	TrackerSparqlCursor* (*query_finish) (TrackerSparqlConnection* self, GAsyncResult* _res_, GError** error);
	void (*update) (TrackerSparqlConnection* self, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error);
	void (*update_async) (TrackerSparqlConnection* self, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*update_finish) (TrackerSparqlConnection* self, GAsyncResult* _res_, GError** error);
	void (*update_array_async) (TrackerSparqlConnection* self, gchar** sparql, gint sparql_length1, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GPtrArray* (*update_array_finish) (TrackerSparqlConnection* self, GAsyncResult* _res_, GError** error);
	GVariant* (*update_blank) (TrackerSparqlConnection* self, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error);
	void (*update_blank_async) (TrackerSparqlConnection* self, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GVariant* (*update_blank_finish) (TrackerSparqlConnection* self, GAsyncResult* _res_, GError** error);
	void (*load) (TrackerSparqlConnection* self, GFile* file, GCancellable* cancellable, GError** error);
	void (*load_async) (TrackerSparqlConnection* self, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*load_finish) (TrackerSparqlConnection* self, GAsyncResult* _res_, GError** error);
	TrackerSparqlCursor* (*statistics) (TrackerSparqlConnection* self, GCancellable* cancellable, GError** error);
	void (*statistics_async) (TrackerSparqlConnection* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	TrackerSparqlCursor* (*statistics_finish) (TrackerSparqlConnection* self, GAsyncResult* _res_, GError** error);
	TrackerNamespaceManager* (*get_namespace_manager) (TrackerSparqlConnection* self);
	TrackerSparqlStatement* (*query_statement) (TrackerSparqlConnection* self, const gchar* sparql, GCancellable* cancellable, GError** error);
};

struct _TrackerSparqlCursor {
	GObject parent_instance;
	TrackerSparqlCursorPrivate * priv;
};

struct _TrackerSparqlCursorClass {
	GObjectClass parent_class;
	TrackerSparqlValueType (*get_value_type) (TrackerSparqlCursor* self, gint column);
	const gchar* (*get_variable_name) (TrackerSparqlCursor* self, gint column);
	const gchar* (*get_string) (TrackerSparqlCursor* self, gint column, glong* length);
	gboolean (*next) (TrackerSparqlCursor* self, GCancellable* cancellable, GError** error);
	void (*next_async) (TrackerSparqlCursor* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*next_finish) (TrackerSparqlCursor* self, GAsyncResult* _res_, GError** error);
	void (*rewind) (TrackerSparqlCursor* self);
	void (*close) (TrackerSparqlCursor* self);
	gint64 (*get_integer) (TrackerSparqlCursor* self, gint column);
	gdouble (*get_double) (TrackerSparqlCursor* self, gint column);
	gboolean (*get_boolean) (TrackerSparqlCursor* self, gint column);
	gboolean (*is_bound) (TrackerSparqlCursor* self, gint column);
	gint (*get_n_columns) (TrackerSparqlCursor* self);
};

struct _TrackerSparqlStatement {
	GObject parent_instance;
	TrackerSparqlStatementPrivate * priv;
};

struct _TrackerSparqlStatementClass {
	GObjectClass parent_class;
	void (*bind_int) (TrackerSparqlStatement* self, const gchar* name, gint64 value);
	void (*bind_boolean) (TrackerSparqlStatement* self, const gchar* name, gboolean value);
	void (*bind_string) (TrackerSparqlStatement* self, const gchar* name, const gchar* value);
	void (*bind_double) (TrackerSparqlStatement* self, const gchar* name, gdouble value);
	TrackerSparqlCursor* (*execute) (TrackerSparqlStatement* self, GCancellable* cancellable, GError** error);
	void (*execute_async) (TrackerSparqlStatement* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	TrackerSparqlCursor* (*execute_finish) (TrackerSparqlStatement* self, GAsyncResult* _res_, GError** error);
};

VALA_EXTERN GType tracker_sparql_builder_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TrackerSparqlBuilder, g_object_unref)
VALA_EXTERN GType tracker_sparql_builder_state_get_type (void) G_GNUC_CONST ;
VALA_EXTERN TrackerSparqlBuilder* tracker_sparql_builder_new_update (void);
VALA_EXTERN TrackerSparqlBuilder* tracker_sparql_builder_construct_update (GType object_type);
VALA_EXTERN TrackerSparqlBuilder* tracker_sparql_builder_new_embedded_insert (void);
VALA_EXTERN TrackerSparqlBuilder* tracker_sparql_builder_construct_embedded_insert (GType object_type);
VALA_EXTERN void tracker_sparql_builder_insert_open (TrackerSparqlBuilder* self,
                                         const gchar* graph) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_insert_silent_open (TrackerSparqlBuilder* self,
                                                const gchar* graph) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_insert_close (TrackerSparqlBuilder* self) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_delete_open (TrackerSparqlBuilder* self,
                                         const gchar* graph) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_delete_close (TrackerSparqlBuilder* self) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_graph_open (TrackerSparqlBuilder* self,
                                        const gchar* graph) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_graph_close (TrackerSparqlBuilder* self) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_where_open (TrackerSparqlBuilder* self) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_where_close (TrackerSparqlBuilder* self) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_subject_variable (TrackerSparqlBuilder* self,
                                              const gchar* var_name) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_variable (TrackerSparqlBuilder* self,
                                             const gchar* var_name) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_subject_iri (TrackerSparqlBuilder* self,
                                         const gchar* iri) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_subject (TrackerSparqlBuilder* self,
                                     const gchar* s) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_predicate_iri (TrackerSparqlBuilder* self,
                                           const gchar* iri) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_predicate (TrackerSparqlBuilder* self,
                                       const gchar* s) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_iri (TrackerSparqlBuilder* self,
                                        const gchar* iri) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object (TrackerSparqlBuilder* self,
                                    const gchar* s) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_string (TrackerSparqlBuilder* self,
                                           const gchar* literal) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_unvalidated (TrackerSparqlBuilder* self,
                                                const gchar* value) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_boolean (TrackerSparqlBuilder* self,
                                            gboolean literal) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_int64 (TrackerSparqlBuilder* self,
                                          gint64 literal) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_date (TrackerSparqlBuilder* self,
                                         time_t* literal) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_double (TrackerSparqlBuilder* self,
                                           gdouble literal) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_blank_open (TrackerSparqlBuilder* self) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_object_blank_close (TrackerSparqlBuilder* self) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_prepend (TrackerSparqlBuilder* self,
                                     const gchar* raw) G_GNUC_DEPRECATED ;
VALA_EXTERN void tracker_sparql_builder_append (TrackerSparqlBuilder* self,
                                    const gchar* raw) G_GNUC_DEPRECATED ;
VALA_EXTERN TrackerSparqlBuilder* tracker_sparql_builder_new (void);
VALA_EXTERN TrackerSparqlBuilder* tracker_sparql_builder_construct (GType object_type);
VALA_EXTERN const gchar* tracker_sparql_builder_get_result (TrackerSparqlBuilder* self);
VALA_EXTERN gint tracker_sparql_builder_get_length (TrackerSparqlBuilder* self);
VALA_EXTERN TrackerSparqlBuilderState tracker_sparql_builder_get_state (TrackerSparqlBuilder* self);
VALA_EXTERN GQuark tracker_sparql_error_quark (void);
GType tracker_sparql_error_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType tracker_sparql_connection_flags_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType tracker_sparql_connection_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TrackerSparqlConnection, g_object_unref)
VALA_EXTERN GType tracker_sparql_cursor_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TrackerSparqlCursor, g_object_unref)
VALA_EXTERN GType tracker_sparql_statement_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (TrackerSparqlStatement, g_object_unref)
VALA_EXTERN void tracker_sparql_connection_get_async (GCancellable* cancellable,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_);
VALA_EXTERN TrackerSparqlConnection* tracker_sparql_connection_get_finish (GAsyncResult* _res_,
                                                               GError** error);
TrackerSparqlConnection* tracker_sparql_connection_get (GCancellable* cancellable,
                                                        GError** error);
TrackerSparqlConnection* tracker_sparql_connection_remote_new (const gchar* uri_base);
TrackerSparqlConnection* tracker_sparql_connection_local_new (TrackerSparqlConnectionFlags flags,
                                                              GFile* store,
                                                              GFile* journal,
                                                              GFile* ontology,
                                                              GCancellable* cancellable,
                                                              GError** error);
VALA_EXTERN void tracker_sparql_connection_local_new_async (TrackerSparqlConnectionFlags flags,
                                                GFile* store,
                                                GFile* journal,
                                                GFile* ontology,
                                                GCancellable* cancellable,
                                                GAsyncReadyCallback _callback_,
                                                gpointer _user_data_);
VALA_EXTERN TrackerSparqlConnection* tracker_sparql_connection_local_new_finish (GAsyncResult* _res_,
                                                                     GError** error);
VALA_EXTERN TrackerSparqlCursor* tracker_sparql_connection_query (TrackerSparqlConnection* self,
                                                      const gchar* sparql,
                                                      GCancellable* cancellable,
                                                      GError** error);
VALA_EXTERN void tracker_sparql_connection_query_async (TrackerSparqlConnection* self,
                                            const gchar* sparql,
                                            GCancellable* cancellable,
                                            GAsyncReadyCallback _callback_,
                                            gpointer _user_data_);
VALA_EXTERN TrackerSparqlCursor* tracker_sparql_connection_query_finish (TrackerSparqlConnection* self,
                                                             GAsyncResult* _res_,
                                                             GError** error);
VALA_EXTERN void tracker_sparql_connection_update (TrackerSparqlConnection* self,
                                       const gchar* sparql,
                                       gint priority,
                                       GCancellable* cancellable,
                                       GError** error);
VALA_EXTERN void tracker_sparql_connection_update_async (TrackerSparqlConnection* self,
                                             const gchar* sparql,
                                             gint priority,
                                             GCancellable* cancellable,
                                             GAsyncReadyCallback _callback_,
                                             gpointer _user_data_);
VALA_EXTERN void tracker_sparql_connection_update_finish (TrackerSparqlConnection* self,
                                              GAsyncResult* _res_,
                                              GError** error);
VALA_EXTERN void tracker_sparql_connection_update_array_async (TrackerSparqlConnection* self,
                                                   gchar** sparql,
                                                   gint sparql_length1,
                                                   gint priority,
                                                   GCancellable* cancellable,
                                                   GAsyncReadyCallback _callback_,
                                                   gpointer _user_data_);
VALA_EXTERN GPtrArray* tracker_sparql_connection_update_array_finish (TrackerSparqlConnection* self,
                                                          GAsyncResult* _res_,
                                                          GError** error);
VALA_EXTERN GVariant* tracker_sparql_connection_update_blank (TrackerSparqlConnection* self,
                                                  const gchar* sparql,
                                                  gint priority,
                                                  GCancellable* cancellable,
                                                  GError** error);
VALA_EXTERN void tracker_sparql_connection_update_blank_async (TrackerSparqlConnection* self,
                                                   const gchar* sparql,
                                                   gint priority,
                                                   GCancellable* cancellable,
                                                   GAsyncReadyCallback _callback_,
                                                   gpointer _user_data_);
VALA_EXTERN GVariant* tracker_sparql_connection_update_blank_finish (TrackerSparqlConnection* self,
                                                         GAsyncResult* _res_,
                                                         GError** error);
VALA_EXTERN void tracker_sparql_connection_load (TrackerSparqlConnection* self,
                                     GFile* file,
                                     GCancellable* cancellable,
                                     GError** error);
VALA_EXTERN void tracker_sparql_connection_load_async (TrackerSparqlConnection* self,
                                           GFile* file,
                                           GCancellable* cancellable,
                                           GAsyncReadyCallback _callback_,
                                           gpointer _user_data_);
VALA_EXTERN void tracker_sparql_connection_load_finish (TrackerSparqlConnection* self,
                                            GAsyncResult* _res_,
                                            GError** error);
VALA_EXTERN TrackerSparqlCursor* tracker_sparql_connection_statistics (TrackerSparqlConnection* self,
                                                           GCancellable* cancellable,
                                                           GError** error);
VALA_EXTERN void tracker_sparql_connection_statistics_async (TrackerSparqlConnection* self,
                                                 GCancellable* cancellable,
                                                 GAsyncReadyCallback _callback_,
                                                 gpointer _user_data_);
VALA_EXTERN TrackerSparqlCursor* tracker_sparql_connection_statistics_finish (TrackerSparqlConnection* self,
                                                                  GAsyncResult* _res_,
                                                                  GError** error);
VALA_EXTERN TrackerNamespaceManager* tracker_sparql_connection_get_namespace_manager (TrackerSparqlConnection* self);
void tracker_sparql_connection_set_domain (const gchar* domain);
gchar* tracker_sparql_connection_get_domain (void);
void tracker_sparql_connection_set_dbus_connection (GDBusConnection* dbus_connection);
GDBusConnection* tracker_sparql_connection_get_dbus_connection (void);
VALA_EXTERN TrackerSparqlStatement* tracker_sparql_connection_query_statement (TrackerSparqlConnection* self,
                                                                   const gchar* sparql,
                                                                   GCancellable* cancellable,
                                                                   GError** error);
VALA_EXTERN TrackerSparqlConnection* tracker_sparql_connection_construct (GType object_type);
VALA_EXTERN GType tracker_sparql_value_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN TrackerSparqlValueType tracker_sparql_cursor_get_value_type (TrackerSparqlCursor* self,
                                                             gint column);
VALA_EXTERN const gchar* tracker_sparql_cursor_get_variable_name (TrackerSparqlCursor* self,
                                                      gint column);
VALA_EXTERN const gchar* tracker_sparql_cursor_get_string (TrackerSparqlCursor* self,
                                               gint column,
                                               glong* length);
VALA_EXTERN gboolean tracker_sparql_cursor_next (TrackerSparqlCursor* self,
                                     GCancellable* cancellable,
                                     GError** error);
VALA_EXTERN void tracker_sparql_cursor_next_async (TrackerSparqlCursor* self,
                                       GCancellable* cancellable,
                                       GAsyncReadyCallback _callback_,
                                       gpointer _user_data_);
VALA_EXTERN gboolean tracker_sparql_cursor_next_finish (TrackerSparqlCursor* self,
                                            GAsyncResult* _res_,
                                            GError** error);
VALA_EXTERN void tracker_sparql_cursor_rewind (TrackerSparqlCursor* self);
VALA_EXTERN void tracker_sparql_cursor_close (TrackerSparqlCursor* self);
VALA_EXTERN gint64 tracker_sparql_cursor_get_integer (TrackerSparqlCursor* self,
                                          gint column);
VALA_EXTERN gdouble tracker_sparql_cursor_get_double (TrackerSparqlCursor* self,
                                          gint column);
VALA_EXTERN gboolean tracker_sparql_cursor_get_boolean (TrackerSparqlCursor* self,
                                            gint column);
VALA_EXTERN gboolean tracker_sparql_cursor_is_bound (TrackerSparqlCursor* self,
                                         gint column);
VALA_EXTERN TrackerSparqlCursor* tracker_sparql_cursor_construct (GType object_type);
VALA_EXTERN TrackerSparqlConnection* tracker_sparql_cursor_get_connection (TrackerSparqlCursor* self);
VALA_EXTERN void tracker_sparql_cursor_set_connection (TrackerSparqlCursor* self,
                                           TrackerSparqlConnection* value);
VALA_EXTERN gint tracker_sparql_cursor_get_n_columns (TrackerSparqlCursor* self);
VALA_EXTERN void tracker_sparql_statement_bind_int (TrackerSparqlStatement* self,
                                        const gchar* name,
                                        gint64 value);
VALA_EXTERN void tracker_sparql_statement_bind_boolean (TrackerSparqlStatement* self,
                                            const gchar* name,
                                            gboolean value);
VALA_EXTERN void tracker_sparql_statement_bind_string (TrackerSparqlStatement* self,
                                           const gchar* name,
                                           const gchar* value);
VALA_EXTERN void tracker_sparql_statement_bind_double (TrackerSparqlStatement* self,
                                           const gchar* name,
                                           gdouble value);
VALA_EXTERN TrackerSparqlCursor* tracker_sparql_statement_execute (TrackerSparqlStatement* self,
                                                       GCancellable* cancellable,
                                                       GError** error);
VALA_EXTERN void tracker_sparql_statement_execute_async (TrackerSparqlStatement* self,
                                             GCancellable* cancellable,
                                             GAsyncReadyCallback _callback_,
                                             gpointer _user_data_);
VALA_EXTERN TrackerSparqlCursor* tracker_sparql_statement_execute_finish (TrackerSparqlStatement* self,
                                                              GAsyncResult* _res_,
                                                              GError** error);
VALA_EXTERN TrackerSparqlStatement* tracker_sparql_statement_construct (GType object_type);
VALA_EXTERN const gchar* tracker_sparql_statement_get_sparql (TrackerSparqlStatement* self);
VALA_EXTERN void tracker_sparql_statement_set_sparql (TrackerSparqlStatement* self,
                                          const gchar* value);
VALA_EXTERN TrackerSparqlConnection* tracker_sparql_statement_get_connection (TrackerSparqlStatement* self);
VALA_EXTERN void tracker_sparql_statement_set_connection (TrackerSparqlStatement* self,
                                              TrackerSparqlConnection* value);
gchar* tracker_sparql_escape_uri_vprintf (const gchar* format,
                                          va_list args);
gchar* tracker_sparql_escape_uri_printf (const gchar* format,
                                         ...);
gchar* tracker_sparql_escape_uri (const gchar* uri);
VALA_EXTERN gchar* tracker_sparql_escape_string (const gchar* literal);
VALA_EXTERN gchar* tracker_sparql_get_uuid_urn (void);

G_END_DECLS

#endif
