/* rygel-tracker-interfaces.c generated by valac 0.30.0.35-2c9e8, the Vala compiler
 * generated from rygel-tracker-interfaces.vala, do not modify */

/*
 * Copyright (C) 2009 Nokia Corporation.
 *
 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
 *                               <zeeshan.ali@nokia.com>
 *
 * This file is part of Rygel.
 *
 * Rygel is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * Rygel 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 for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

#include <glib.h>
#include <glib-object.h>
#include <string.h>
#include <gio/gio.h>
#include <stdlib.h>


#define TYPE_EVENT (event_get_type ())
typedef struct _Event Event;

#define RYGEL_TRACKER_TYPE_STATS_IFACE (rygel_tracker_stats_iface_get_type ())
#define RYGEL_TRACKER_STATS_IFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TRACKER_TYPE_STATS_IFACE, RygelTrackerStatsIface))
#define RYGEL_TRACKER_IS_STATS_IFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TRACKER_TYPE_STATS_IFACE))
#define RYGEL_TRACKER_STATS_IFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), RYGEL_TRACKER_TYPE_STATS_IFACE, RygelTrackerStatsIfaceIface))

typedef struct _RygelTrackerStatsIface RygelTrackerStatsIface;
typedef struct _RygelTrackerStatsIfaceIface RygelTrackerStatsIfaceIface;

#define RYGEL_TRACKER_TYPE_STATS_IFACE_PROXY (rygel_tracker_stats_iface_proxy_get_type ())
typedef GDBusProxy RygelTrackerStatsIfaceProxy;
typedef GDBusProxyClass RygelTrackerStatsIfaceProxyClass;

#define RYGEL_TRACKER_TYPE_RESOURCES_IFACE (rygel_tracker_resources_iface_get_type ())
#define RYGEL_TRACKER_RESOURCES_IFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TRACKER_TYPE_RESOURCES_IFACE, RygelTrackerResourcesIface))
#define RYGEL_TRACKER_IS_RESOURCES_IFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TRACKER_TYPE_RESOURCES_IFACE))
#define RYGEL_TRACKER_RESOURCES_IFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), RYGEL_TRACKER_TYPE_RESOURCES_IFACE, RygelTrackerResourcesIfaceIface))

typedef struct _RygelTrackerResourcesIface RygelTrackerResourcesIface;
typedef struct _RygelTrackerResourcesIfaceIface RygelTrackerResourcesIfaceIface;

#define RYGEL_TRACKER_TYPE_RESOURCES_IFACE_PROXY (rygel_tracker_resources_iface_proxy_get_type ())
typedef GDBusProxy RygelTrackerResourcesIfaceProxy;
typedef GDBusProxyClass RygelTrackerResourcesIfaceProxyClass;
#define _g_free0(var) (var = (g_free (var), NULL))

#define RYGEL_TRACKER_TYPE_MINER_FILES_INDEX_IFACE (rygel_tracker_miner_files_index_iface_get_type ())
#define RYGEL_TRACKER_MINER_FILES_INDEX_IFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TRACKER_TYPE_MINER_FILES_INDEX_IFACE, RygelTrackerMinerFilesIndexIface))
#define RYGEL_TRACKER_IS_MINER_FILES_INDEX_IFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TRACKER_TYPE_MINER_FILES_INDEX_IFACE))
#define RYGEL_TRACKER_MINER_FILES_INDEX_IFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), RYGEL_TRACKER_TYPE_MINER_FILES_INDEX_IFACE, RygelTrackerMinerFilesIndexIfaceIface))

typedef struct _RygelTrackerMinerFilesIndexIface RygelTrackerMinerFilesIndexIface;
typedef struct _RygelTrackerMinerFilesIndexIfaceIface RygelTrackerMinerFilesIndexIfaceIface;

#define RYGEL_TRACKER_TYPE_MINER_FILES_INDEX_IFACE_PROXY (rygel_tracker_miner_files_index_iface_proxy_get_type ())
typedef GDBusProxy RygelTrackerMinerFilesIndexIfaceProxy;
typedef GDBusProxyClass RygelTrackerMinerFilesIndexIfaceProxyClass;

struct _Event {
	gint graph_id;
	gint subject_id;
	gint pred_id;
	gint object_id;
};

struct _RygelTrackerStatsIfaceIface {
	GTypeInterface parent_iface;
	gchar** (*get) (RygelTrackerStatsIface* self, int* result_length1, int* result_length2, GError** error);
};

struct _RygelTrackerResourcesIfaceIface {
	GTypeInterface parent_iface;
	void (*sparql_query) (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gchar** (*sparql_query_finish) (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error);
	void (*sparql_update) (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*sparql_update_finish) (RygelTrackerResourcesIface* self, GAsyncResult* _res_, GError** error);
	void (*sparql_update_blank) (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GHashTable** (*sparql_update_blank_finish) (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error);
};

struct _RygelTrackerMinerFilesIndexIfaceIface {
	GTypeInterface parent_iface;
	void (*index_file) (RygelTrackerMinerFilesIndexIface* self, const gchar* uri, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*index_file_finish) (RygelTrackerMinerFilesIndexIface* self, GAsyncResult* _res_, GError** error);
};



GType event_get_type (void) G_GNUC_CONST;
Event* event_dup (const Event* self);
void event_free (Event* self);
GType rygel_tracker_stats_iface_proxy_get_type (void) G_GNUC_CONST;
guint rygel_tracker_stats_iface_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType rygel_tracker_stats_iface_get_type (void) G_GNUC_CONST;
gchar** rygel_tracker_stats_iface_get (RygelTrackerStatsIface* self, int* result_length1, int* result_length2, GError** error);
static void rygel_tracker_stats_iface_proxy_g_signal (GDBusProxy* proxy, const gchar* sender_name, const gchar* signal_name, GVariant* parameters);
static gchar** rygel_tracker_stats_iface_proxy_get (RygelTrackerStatsIface* self, int* result_length1, int* result_length2, GError** error);
static void rygel_tracker_stats_iface_proxy_rygel_tracker_stats_iface_interface_init (RygelTrackerStatsIfaceIface* iface);
static void _dbus_rygel_tracker_stats_iface_get (RygelTrackerStatsIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void rygel_tracker_stats_iface_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data);
static GVariant* rygel_tracker_stats_iface_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data);
static gboolean rygel_tracker_stats_iface_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data);
static void _rygel_tracker_stats_iface_unregister_object (gpointer user_data);
GType rygel_tracker_resources_iface_proxy_get_type (void) G_GNUC_CONST;
guint rygel_tracker_resources_iface_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType rygel_tracker_resources_iface_get_type (void) G_GNUC_CONST;
void rygel_tracker_resources_iface_sparql_query (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
gchar** rygel_tracker_resources_iface_sparql_query_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error);
void rygel_tracker_resources_iface_sparql_update (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
void rygel_tracker_resources_iface_sparql_update_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, GError** error);
void rygel_tracker_resources_iface_sparql_update_blank (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
GHashTable** rygel_tracker_resources_iface_sparql_update_blank_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error);
static void rygel_tracker_resources_iface_proxy_g_signal (GDBusProxy* proxy, const gchar* sender_name, const gchar* signal_name, GVariant* parameters);
static void _vala_g_async_ready_callback (GObject *source_object, GAsyncResult *res, void *user_data);
static void rygel_tracker_resources_iface_proxy_sparql_query_async (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gchar** rygel_tracker_resources_iface_proxy_sparql_query_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error);
static void rygel_tracker_resources_iface_proxy_sparql_update_async (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void rygel_tracker_resources_iface_proxy_sparql_update_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, GError** error);
static void rygel_tracker_resources_iface_proxy_sparql_update_blank_async (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GHashTable** rygel_tracker_resources_iface_proxy_sparql_update_blank_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error);
static void rygel_tracker_resources_iface_proxy_rygel_tracker_resources_iface_interface_init (RygelTrackerResourcesIfaceIface* iface);
static void _dbus_rygel_tracker_resources_iface_sparql_query (RygelTrackerResourcesIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_rygel_tracker_resources_iface_sparql_query_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void _dbus_rygel_tracker_resources_iface_sparql_update (RygelTrackerResourcesIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_rygel_tracker_resources_iface_sparql_update_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void _dbus_rygel_tracker_resources_iface_sparql_update_blank (RygelTrackerResourcesIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_rygel_tracker_resources_iface_sparql_update_blank_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void rygel_tracker_resources_iface_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data);
static GVariant* rygel_tracker_resources_iface_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data);
static gboolean rygel_tracker_resources_iface_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data);
static void _rygel_tracker_resources_iface_unregister_object (gpointer user_data);
GType rygel_tracker_miner_files_index_iface_proxy_get_type (void) G_GNUC_CONST;
guint rygel_tracker_miner_files_index_iface_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType rygel_tracker_miner_files_index_iface_get_type (void) G_GNUC_CONST;
void rygel_tracker_miner_files_index_iface_index_file (RygelTrackerMinerFilesIndexIface* self, const gchar* uri, GAsyncReadyCallback _callback_, gpointer _user_data_);
void rygel_tracker_miner_files_index_iface_index_file_finish (RygelTrackerMinerFilesIndexIface* self, GAsyncResult* _res_, GError** error);
static void rygel_tracker_miner_files_index_iface_proxy_g_signal (GDBusProxy* proxy, const gchar* sender_name, const gchar* signal_name, GVariant* parameters);
static void rygel_tracker_miner_files_index_iface_proxy_index_file_async (RygelTrackerMinerFilesIndexIface* self, const gchar* uri, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void rygel_tracker_miner_files_index_iface_proxy_index_file_finish (RygelTrackerMinerFilesIndexIface* self, GAsyncResult* _res_, GError** error);
static void rygel_tracker_miner_files_index_iface_proxy_rygel_tracker_miner_files_index_iface_interface_init (RygelTrackerMinerFilesIndexIfaceIface* iface);
static void _dbus_rygel_tracker_miner_files_index_iface_index_file (RygelTrackerMinerFilesIndexIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_rygel_tracker_miner_files_index_iface_index_file_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void rygel_tracker_miner_files_index_iface_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data);
static GVariant* rygel_tracker_miner_files_index_iface_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data);
static gboolean rygel_tracker_miner_files_index_iface_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data);
static void _rygel_tracker_miner_files_index_iface_unregister_object (gpointer user_data);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);

static const GDBusArgInfo _rygel_tracker_stats_iface_dbus_arg_info_get_result = {-1, "result", "aas"};
static const GDBusArgInfo * const _rygel_tracker_stats_iface_dbus_arg_info_get_in[] = {NULL};
static const GDBusArgInfo * const _rygel_tracker_stats_iface_dbus_arg_info_get_out[] = {&_rygel_tracker_stats_iface_dbus_arg_info_get_result, NULL};
static const GDBusMethodInfo _rygel_tracker_stats_iface_dbus_method_info_get = {-1, "Get", (GDBusArgInfo **) (&_rygel_tracker_stats_iface_dbus_arg_info_get_in), (GDBusArgInfo **) (&_rygel_tracker_stats_iface_dbus_arg_info_get_out)};
static const GDBusMethodInfo * const _rygel_tracker_stats_iface_dbus_method_info[] = {&_rygel_tracker_stats_iface_dbus_method_info_get, NULL};
static const GDBusSignalInfo * const _rygel_tracker_stats_iface_dbus_signal_info[] = {NULL};
static const GDBusPropertyInfo * const _rygel_tracker_stats_iface_dbus_property_info[] = {NULL};
static const GDBusInterfaceInfo _rygel_tracker_stats_iface_dbus_interface_info = {-1, "org.freedesktop.Tracker1.Statistics", (GDBusMethodInfo **) (&_rygel_tracker_stats_iface_dbus_method_info), (GDBusSignalInfo **) (&_rygel_tracker_stats_iface_dbus_signal_info), (GDBusPropertyInfo **) (&_rygel_tracker_stats_iface_dbus_property_info)};
static const GDBusInterfaceVTable _rygel_tracker_stats_iface_dbus_interface_vtable = {rygel_tracker_stats_iface_dbus_interface_method_call, rygel_tracker_stats_iface_dbus_interface_get_property, rygel_tracker_stats_iface_dbus_interface_set_property};
static const GDBusArgInfo _rygel_tracker_resources_iface_dbus_arg_info_sparql_query_query = {-1, "query", "s"};
static const GDBusArgInfo _rygel_tracker_resources_iface_dbus_arg_info_sparql_query_result = {-1, "result", "aas"};
static const GDBusArgInfo * const _rygel_tracker_resources_iface_dbus_arg_info_sparql_query_in[] = {&_rygel_tracker_resources_iface_dbus_arg_info_sparql_query_query, NULL};
static const GDBusArgInfo * const _rygel_tracker_resources_iface_dbus_arg_info_sparql_query_out[] = {&_rygel_tracker_resources_iface_dbus_arg_info_sparql_query_result, NULL};
static const GDBusMethodInfo _rygel_tracker_resources_iface_dbus_method_info_sparql_query = {-1, "SparqlQuery", (GDBusArgInfo **) (&_rygel_tracker_resources_iface_dbus_arg_info_sparql_query_in), (GDBusArgInfo **) (&_rygel_tracker_resources_iface_dbus_arg_info_sparql_query_out)};
static const GDBusArgInfo _rygel_tracker_resources_iface_dbus_arg_info_sparql_update_query = {-1, "query", "s"};
static const GDBusArgInfo * const _rygel_tracker_resources_iface_dbus_arg_info_sparql_update_in[] = {&_rygel_tracker_resources_iface_dbus_arg_info_sparql_update_query, NULL};
static const GDBusArgInfo * const _rygel_tracker_resources_iface_dbus_arg_info_sparql_update_out[] = {NULL};
static const GDBusMethodInfo _rygel_tracker_resources_iface_dbus_method_info_sparql_update = {-1, "SparqlUpdate", (GDBusArgInfo **) (&_rygel_tracker_resources_iface_dbus_arg_info_sparql_update_in), (GDBusArgInfo **) (&_rygel_tracker_resources_iface_dbus_arg_info_sparql_update_out)};
static const GDBusArgInfo _rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_query = {-1, "query", "s"};
static const GDBusArgInfo _rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_result = {-1, "result", "aaa{ss}"};
static const GDBusArgInfo * const _rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_in[] = {&_rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_query, NULL};
static const GDBusArgInfo * const _rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_out[] = {&_rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_result, NULL};
static const GDBusMethodInfo _rygel_tracker_resources_iface_dbus_method_info_sparql_update_blank = {-1, "SparqlUpdateBlank", (GDBusArgInfo **) (&_rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_in), (GDBusArgInfo **) (&_rygel_tracker_resources_iface_dbus_arg_info_sparql_update_blank_out)};
static const GDBusMethodInfo * const _rygel_tracker_resources_iface_dbus_method_info[] = {&_rygel_tracker_resources_iface_dbus_method_info_sparql_query, &_rygel_tracker_resources_iface_dbus_method_info_sparql_update, &_rygel_tracker_resources_iface_dbus_method_info_sparql_update_blank, NULL};
static const GDBusSignalInfo * const _rygel_tracker_resources_iface_dbus_signal_info[] = {NULL};
static const GDBusPropertyInfo * const _rygel_tracker_resources_iface_dbus_property_info[] = {NULL};
static const GDBusInterfaceInfo _rygel_tracker_resources_iface_dbus_interface_info = {-1, "org.freedesktop.Tracker1.Resources", (GDBusMethodInfo **) (&_rygel_tracker_resources_iface_dbus_method_info), (GDBusSignalInfo **) (&_rygel_tracker_resources_iface_dbus_signal_info), (GDBusPropertyInfo **) (&_rygel_tracker_resources_iface_dbus_property_info)};
static const GDBusInterfaceVTable _rygel_tracker_resources_iface_dbus_interface_vtable = {rygel_tracker_resources_iface_dbus_interface_method_call, rygel_tracker_resources_iface_dbus_interface_get_property, rygel_tracker_resources_iface_dbus_interface_set_property};
static const GDBusArgInfo _rygel_tracker_miner_files_index_iface_dbus_arg_info_index_file_uri = {-1, "uri", "s"};
static const GDBusArgInfo * const _rygel_tracker_miner_files_index_iface_dbus_arg_info_index_file_in[] = {&_rygel_tracker_miner_files_index_iface_dbus_arg_info_index_file_uri, NULL};
static const GDBusArgInfo * const _rygel_tracker_miner_files_index_iface_dbus_arg_info_index_file_out[] = {NULL};
static const GDBusMethodInfo _rygel_tracker_miner_files_index_iface_dbus_method_info_index_file = {-1, "IndexFile", (GDBusArgInfo **) (&_rygel_tracker_miner_files_index_iface_dbus_arg_info_index_file_in), (GDBusArgInfo **) (&_rygel_tracker_miner_files_index_iface_dbus_arg_info_index_file_out)};
static const GDBusMethodInfo * const _rygel_tracker_miner_files_index_iface_dbus_method_info[] = {&_rygel_tracker_miner_files_index_iface_dbus_method_info_index_file, NULL};
static const GDBusSignalInfo * const _rygel_tracker_miner_files_index_iface_dbus_signal_info[] = {NULL};
static const GDBusPropertyInfo * const _rygel_tracker_miner_files_index_iface_dbus_property_info[] = {NULL};
static const GDBusInterfaceInfo _rygel_tracker_miner_files_index_iface_dbus_interface_info = {-1, "org.freedesktop.Tracker1.Miner.Files.Index", (GDBusMethodInfo **) (&_rygel_tracker_miner_files_index_iface_dbus_method_info), (GDBusSignalInfo **) (&_rygel_tracker_miner_files_index_iface_dbus_signal_info), (GDBusPropertyInfo **) (&_rygel_tracker_miner_files_index_iface_dbus_property_info)};
static const GDBusInterfaceVTable _rygel_tracker_miner_files_index_iface_dbus_interface_vtable = {rygel_tracker_miner_files_index_iface_dbus_interface_method_call, rygel_tracker_miner_files_index_iface_dbus_interface_get_property, rygel_tracker_miner_files_index_iface_dbus_interface_set_property};

Event* event_dup (const Event* self) {
	Event* dup;
	dup = g_new0 (Event, 1);
	memcpy (dup, self, sizeof (Event));
	return dup;
}


void event_free (Event* self) {
	g_free (self);
}


GType event_get_type (void) {
	static volatile gsize event_type_id__volatile = 0;
	if (g_once_init_enter (&event_type_id__volatile)) {
		GType event_type_id;
		event_type_id = g_boxed_type_register_static ("Event", (GBoxedCopyFunc) event_dup, (GBoxedFreeFunc) event_free);
		g_once_init_leave (&event_type_id__volatile, event_type_id);
	}
	return event_type_id__volatile;
}


gchar** rygel_tracker_stats_iface_get (RygelTrackerStatsIface* self, int* result_length1, int* result_length2, GError** error) {
	g_return_val_if_fail (self != NULL, NULL);
	return RYGEL_TRACKER_STATS_IFACE_GET_INTERFACE (self)->get (self, result_length1, result_length2, error);
}


static void rygel_tracker_stats_iface_base_init (RygelTrackerStatsIfaceIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
	}
}


GType rygel_tracker_stats_iface_get_type (void) {
	static volatile gsize rygel_tracker_stats_iface_type_id__volatile = 0;
	if (g_once_init_enter (&rygel_tracker_stats_iface_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (RygelTrackerStatsIfaceIface), (GBaseInitFunc) rygel_tracker_stats_iface_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType rygel_tracker_stats_iface_type_id;
		rygel_tracker_stats_iface_type_id = g_type_register_static (G_TYPE_INTERFACE, "RygelTrackerStatsIface", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (rygel_tracker_stats_iface_type_id, G_TYPE_DBUS_PROXY);
		g_type_set_qdata (rygel_tracker_stats_iface_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) rygel_tracker_stats_iface_proxy_get_type);
		g_type_set_qdata (rygel_tracker_stats_iface_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.freedesktop.Tracker1.Statistics");
		g_type_set_qdata (rygel_tracker_stats_iface_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_rygel_tracker_stats_iface_dbus_interface_info));
		g_type_set_qdata (rygel_tracker_stats_iface_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) rygel_tracker_stats_iface_register_object);
		g_once_init_leave (&rygel_tracker_stats_iface_type_id__volatile, rygel_tracker_stats_iface_type_id);
	}
	return rygel_tracker_stats_iface_type_id__volatile;
}


G_DEFINE_TYPE_EXTENDED (RygelTrackerStatsIfaceProxy, rygel_tracker_stats_iface_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE (RYGEL_TRACKER_TYPE_STATS_IFACE, rygel_tracker_stats_iface_proxy_rygel_tracker_stats_iface_interface_init) )
static void rygel_tracker_stats_iface_proxy_class_init (RygelTrackerStatsIfaceProxyClass* klass) {
	G_DBUS_PROXY_CLASS (klass)->g_signal = rygel_tracker_stats_iface_proxy_g_signal;
}


static void rygel_tracker_stats_iface_proxy_g_signal (GDBusProxy* proxy, const gchar* sender_name, const gchar* signal_name, GVariant* parameters) {
}


static void rygel_tracker_stats_iface_proxy_init (RygelTrackerStatsIfaceProxy* self) {
}


static gchar** rygel_tracker_stats_iface_proxy_get (RygelTrackerStatsIface* self, int* result_length1, int* result_length2, GError** error) {
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result;
	int _result_length1;
	int _result_length2;
	GVariant* _tmp0_;
	gchar** _tmp1_;
	int _tmp1__length;
	int _tmp1__size;
	int _tmp1__length1;
	GVariantIter _tmp2_;
	GVariant* _tmp3_;
	G_DBUS_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.freedesktop.Tracker1.Statistics", "Get");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	_reply_message = g_dbus_connection_send_message_with_reply_sync (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, error);
	g_object_unref (_message);
	if (!_reply_message) {
		return NULL;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return NULL;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_result_length1 = 0;
	_result_length2 = 0;
	_tmp0_ = g_variant_iter_next_value (&_reply_iter);
	_tmp1_ = g_new (gchar*, 5);
	_tmp1__length = 0;
	_tmp1__size = 4;
	_tmp1__length1 = 0;
	g_variant_iter_init (&_tmp2_, _tmp0_);
	for (; (_tmp3_ = g_variant_iter_next_value (&_tmp2_)) != NULL; _tmp1__length1++) {
		int _tmp1__length2;
		GVariantIter _tmp4_;
		GVariant* _tmp5_;
		_tmp1__length2 = 0;
		g_variant_iter_init (&_tmp4_, _tmp3_);
		for (; (_tmp5_ = g_variant_iter_next_value (&_tmp4_)) != NULL; _tmp1__length2++) {
			if (_tmp1__size == _tmp1__length) {
				_tmp1__size = 2 * _tmp1__size;
				_tmp1_ = g_renew (gchar*, _tmp1_, _tmp1__size + 1);
			}
			_tmp1_[_tmp1__length++] = g_variant_dup_string (_tmp5_, NULL);
			g_variant_unref (_tmp5_);
		}
		_result_length2 = _tmp1__length2;
		g_variant_unref (_tmp3_);
	}
	_result_length1 = _tmp1__length1;
	_tmp1_[_tmp1__length] = NULL;
	_result = _tmp1_;
	g_variant_unref (_tmp0_);
	*result_length1 = _result_length1;
	*result_length2 = _result_length2;
	g_object_unref (_reply_message);
	return _result;
}


static void rygel_tracker_stats_iface_proxy_rygel_tracker_stats_iface_interface_init (RygelTrackerStatsIfaceIface* iface) {
	iface->get = rygel_tracker_stats_iface_proxy_get;
}


static void _dbus_rygel_tracker_stats_iface_get (RygelTrackerStatsIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	int result_length1 = 0;
	int result_length2 = 0;
	gchar** _tmp6_;
	GVariantBuilder _tmp7_;
	int _tmp8_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = rygel_tracker_stats_iface_get (self, &result_length1, &result_length2, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_tmp6_ = result;
	g_variant_builder_init (&_tmp7_, G_VARIANT_TYPE ("aas"));
	for (_tmp8_ = 0; _tmp8_ < result_length1; _tmp8_++) {
		GVariantBuilder _tmp9_;
		int _tmp10_;
		g_variant_builder_init (&_tmp9_, G_VARIANT_TYPE ("aas"));
		for (_tmp10_ = 0; _tmp10_ < result_length2; _tmp10_++) {
			g_variant_builder_add_value (&_tmp9_, g_variant_new_string (*_tmp6_));
			_tmp6_++;
		}
		g_variant_builder_add_value (&_tmp7_, g_variant_builder_end (&_tmp9_));
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp7_));
	result = (_vala_array_free (result, result_length1 * result_length2, (GDestroyNotify) g_free), NULL);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void rygel_tracker_stats_iface_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "Get") == 0) {
		_dbus_rygel_tracker_stats_iface_get (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}


static GVariant* rygel_tracker_stats_iface_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return NULL;
}


static gboolean rygel_tracker_stats_iface_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return FALSE;
}


guint rygel_tracker_stats_iface_register_object (gpointer object, GDBusConnection* connection, const gchar* path, GError** error) {
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_rygel_tracker_stats_iface_dbus_interface_info), &_rygel_tracker_stats_iface_dbus_interface_vtable, data, _rygel_tracker_stats_iface_unregister_object, error);
	if (!result) {
		return 0;
	}
	return result;
}


static void _rygel_tracker_stats_iface_unregister_object (gpointer user_data) {
	gpointer* data;
	data = user_data;
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}


void rygel_tracker_resources_iface_sparql_query (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	RYGEL_TRACKER_RESOURCES_IFACE_GET_INTERFACE (self)->sparql_query (self, query, _callback_, _user_data_);
}


gchar** rygel_tracker_resources_iface_sparql_query_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error) {
	return RYGEL_TRACKER_RESOURCES_IFACE_GET_INTERFACE (self)->sparql_query_finish (self, _res_, result_length1, result_length2, error);
}


void rygel_tracker_resources_iface_sparql_update (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	RYGEL_TRACKER_RESOURCES_IFACE_GET_INTERFACE (self)->sparql_update (self, query, _callback_, _user_data_);
}


void rygel_tracker_resources_iface_sparql_update_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, GError** error) {
	RYGEL_TRACKER_RESOURCES_IFACE_GET_INTERFACE (self)->sparql_update_finish (self, _res_, error);
}


void rygel_tracker_resources_iface_sparql_update_blank (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	RYGEL_TRACKER_RESOURCES_IFACE_GET_INTERFACE (self)->sparql_update_blank (self, query, _callback_, _user_data_);
}


GHashTable** rygel_tracker_resources_iface_sparql_update_blank_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error) {
	return RYGEL_TRACKER_RESOURCES_IFACE_GET_INTERFACE (self)->sparql_update_blank_finish (self, _res_, result_length1, result_length2, error);
}


static void rygel_tracker_resources_iface_base_init (RygelTrackerResourcesIfaceIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
	}
}


GType rygel_tracker_resources_iface_get_type (void) {
	static volatile gsize rygel_tracker_resources_iface_type_id__volatile = 0;
	if (g_once_init_enter (&rygel_tracker_resources_iface_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (RygelTrackerResourcesIfaceIface), (GBaseInitFunc) rygel_tracker_resources_iface_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType rygel_tracker_resources_iface_type_id;
		rygel_tracker_resources_iface_type_id = g_type_register_static (G_TYPE_INTERFACE, "RygelTrackerResourcesIface", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (rygel_tracker_resources_iface_type_id, G_TYPE_DBUS_PROXY);
		g_type_set_qdata (rygel_tracker_resources_iface_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) rygel_tracker_resources_iface_proxy_get_type);
		g_type_set_qdata (rygel_tracker_resources_iface_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.freedesktop.Tracker1.Resources");
		g_type_set_qdata (rygel_tracker_resources_iface_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_rygel_tracker_resources_iface_dbus_interface_info));
		g_type_set_qdata (rygel_tracker_resources_iface_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) rygel_tracker_resources_iface_register_object);
		g_once_init_leave (&rygel_tracker_resources_iface_type_id__volatile, rygel_tracker_resources_iface_type_id);
	}
	return rygel_tracker_resources_iface_type_id__volatile;
}


G_DEFINE_TYPE_EXTENDED (RygelTrackerResourcesIfaceProxy, rygel_tracker_resources_iface_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE (RYGEL_TRACKER_TYPE_RESOURCES_IFACE, rygel_tracker_resources_iface_proxy_rygel_tracker_resources_iface_interface_init) )
static void rygel_tracker_resources_iface_proxy_class_init (RygelTrackerResourcesIfaceProxyClass* klass) {
	G_DBUS_PROXY_CLASS (klass)->g_signal = rygel_tracker_resources_iface_proxy_g_signal;
}


static void rygel_tracker_resources_iface_proxy_g_signal (GDBusProxy* proxy, const gchar* sender_name, const gchar* signal_name, GVariant* parameters) {
}


static void rygel_tracker_resources_iface_proxy_init (RygelTrackerResourcesIfaceProxy* self) {
}


static void _vala_g_async_ready_callback (GObject *source_object, GAsyncResult *res, void *user_data) {
	g_simple_async_result_set_op_res_gpointer (user_data, g_object_ref (res), g_object_unref);
	g_simple_async_result_complete (user_data);
	g_object_unref (user_data);
}


static void rygel_tracker_resources_iface_proxy_sparql_query_async (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.freedesktop.Tracker1.Resources", "SparqlQuery");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (query));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
	g_object_unref (_message);
}


static gchar** rygel_tracker_resources_iface_proxy_sparql_query_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error) {
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result;
	int _result_length1;
	int _result_length2;
	GVariant* _tmp11_;
	gchar** _tmp12_;
	int _tmp12__length;
	int _tmp12__size;
	int _tmp12__length1;
	GVariantIter _tmp13_;
	GVariant* _tmp14_;
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
	if (!_reply_message) {
		return NULL;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return NULL;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_result_length1 = 0;
	_result_length2 = 0;
	_tmp11_ = g_variant_iter_next_value (&_reply_iter);
	_tmp12_ = g_new (gchar*, 5);
	_tmp12__length = 0;
	_tmp12__size = 4;
	_tmp12__length1 = 0;
	g_variant_iter_init (&_tmp13_, _tmp11_);
	for (; (_tmp14_ = g_variant_iter_next_value (&_tmp13_)) != NULL; _tmp12__length1++) {
		int _tmp12__length2;
		GVariantIter _tmp15_;
		GVariant* _tmp16_;
		_tmp12__length2 = 0;
		g_variant_iter_init (&_tmp15_, _tmp14_);
		for (; (_tmp16_ = g_variant_iter_next_value (&_tmp15_)) != NULL; _tmp12__length2++) {
			if (_tmp12__size == _tmp12__length) {
				_tmp12__size = 2 * _tmp12__size;
				_tmp12_ = g_renew (gchar*, _tmp12_, _tmp12__size + 1);
			}
			_tmp12_[_tmp12__length++] = g_variant_dup_string (_tmp16_, NULL);
			g_variant_unref (_tmp16_);
		}
		_result_length2 = _tmp12__length2;
		g_variant_unref (_tmp14_);
	}
	_result_length1 = _tmp12__length1;
	_tmp12_[_tmp12__length] = NULL;
	_result = _tmp12_;
	g_variant_unref (_tmp11_);
	*result_length1 = _result_length1;
	*result_length2 = _result_length2;
	g_object_unref (_reply_message);
	return _result;
}


static void rygel_tracker_resources_iface_proxy_sparql_update_async (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.freedesktop.Tracker1.Resources", "SparqlUpdate");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (query));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
	g_object_unref (_message);
}


static void rygel_tracker_resources_iface_proxy_sparql_update_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, GError** error) {
	GDBusMessage *_reply_message;
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
	if (!_reply_message) {
		return;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}


static void rygel_tracker_resources_iface_proxy_sparql_update_blank_async (RygelTrackerResourcesIface* self, const gchar* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.freedesktop.Tracker1.Resources", "SparqlUpdateBlank");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (query));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
	g_object_unref (_message);
}


static GHashTable** rygel_tracker_resources_iface_proxy_sparql_update_blank_finish (RygelTrackerResourcesIface* self, GAsyncResult* _res_, int* result_length1, int* result_length2, GError** error) {
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	GHashTable** _result;
	int _result_length1;
	int _result_length2;
	GVariant* _tmp17_;
	GHashTable** _tmp18_;
	int _tmp18__length;
	int _tmp18__size;
	int _tmp18__length1;
	GVariantIter _tmp19_;
	GVariant* _tmp20_;
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
	if (!_reply_message) {
		return NULL;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return NULL;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_result_length1 = 0;
	_result_length2 = 0;
	_tmp17_ = g_variant_iter_next_value (&_reply_iter);
	_tmp18_ = g_new (GHashTable*, 5);
	_tmp18__length = 0;
	_tmp18__size = 4;
	_tmp18__length1 = 0;
	g_variant_iter_init (&_tmp19_, _tmp17_);
	for (; (_tmp20_ = g_variant_iter_next_value (&_tmp19_)) != NULL; _tmp18__length1++) {
		int _tmp18__length2;
		GVariantIter _tmp21_;
		GVariant* _tmp22_;
		_tmp18__length2 = 0;
		g_variant_iter_init (&_tmp21_, _tmp20_);
		for (; (_tmp22_ = g_variant_iter_next_value (&_tmp21_)) != NULL; _tmp18__length2++) {
			GHashTable* _tmp23_;
			GVariantIter _tmp24_;
			GVariant* _tmp25_;
			GVariant* _tmp26_;
			if (_tmp18__size == _tmp18__length) {
				_tmp18__size = 2 * _tmp18__size;
				_tmp18_ = g_renew (GHashTable*, _tmp18_, _tmp18__size + 1);
			}
			_tmp23_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
			g_variant_iter_init (&_tmp24_, _tmp22_);
			while (g_variant_iter_loop (&_tmp24_, "{?*}", &_tmp25_, &_tmp26_)) {
				g_hash_table_insert (_tmp23_, g_variant_dup_string (_tmp25_, NULL), g_variant_dup_string (_tmp26_, NULL));
			}
			_tmp18_[_tmp18__length++] = _tmp23_;
			g_variant_unref (_tmp22_);
		}
		_result_length2 = _tmp18__length2;
		g_variant_unref (_tmp20_);
	}
	_result_length1 = _tmp18__length1;
	_tmp18_[_tmp18__length] = NULL;
	_result = _tmp18_;
	g_variant_unref (_tmp17_);
	*result_length1 = _result_length1;
	*result_length2 = _result_length2;
	g_object_unref (_reply_message);
	return _result;
}


static void rygel_tracker_resources_iface_proxy_rygel_tracker_resources_iface_interface_init (RygelTrackerResourcesIfaceIface* iface) {
	iface->sparql_query = rygel_tracker_resources_iface_proxy_sparql_query_async;
	iface->sparql_query_finish = rygel_tracker_resources_iface_proxy_sparql_query_finish;
	iface->sparql_update = rygel_tracker_resources_iface_proxy_sparql_update_async;
	iface->sparql_update_finish = rygel_tracker_resources_iface_proxy_sparql_update_finish;
	iface->sparql_update_blank = rygel_tracker_resources_iface_proxy_sparql_update_blank_async;
	iface->sparql_update_blank_finish = rygel_tracker_resources_iface_proxy_sparql_update_blank_finish;
}


static void _dbus_rygel_tracker_resources_iface_sparql_query (RygelTrackerResourcesIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GVariantIter _arguments_iter;
	gchar* query = NULL;
	GVariant* _tmp27_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp27_ = g_variant_iter_next_value (&_arguments_iter);
	query = g_variant_dup_string (_tmp27_, NULL);
	g_variant_unref (_tmp27_);
	rygel_tracker_resources_iface_sparql_query (self, query, (GAsyncReadyCallback) _dbus_rygel_tracker_resources_iface_sparql_query_ready, invocation);
	_g_free0 (query);
}


static void _dbus_rygel_tracker_resources_iface_sparql_query_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	int result_length1 = 0;
	int result_length2 = 0;
	gchar** _tmp28_;
	GVariantBuilder _tmp29_;
	int _tmp30_;
	invocation = _user_data_;
	result = rygel_tracker_resources_iface_sparql_query_finish ((RygelTrackerResourcesIface*) source_object, _res_, &result_length1, &result_length2, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_tmp28_ = result;
	g_variant_builder_init (&_tmp29_, G_VARIANT_TYPE ("aas"));
	for (_tmp30_ = 0; _tmp30_ < result_length1; _tmp30_++) {
		GVariantBuilder _tmp31_;
		int _tmp32_;
		g_variant_builder_init (&_tmp31_, G_VARIANT_TYPE ("aas"));
		for (_tmp32_ = 0; _tmp32_ < result_length2; _tmp32_++) {
			g_variant_builder_add_value (&_tmp31_, g_variant_new_string (*_tmp28_));
			_tmp28_++;
		}
		g_variant_builder_add_value (&_tmp29_, g_variant_builder_end (&_tmp31_));
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp29_));
	result = (_vala_array_free (result, result_length1 * result_length2, (GDestroyNotify) g_free), NULL);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void _dbus_rygel_tracker_resources_iface_sparql_update (RygelTrackerResourcesIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GVariantIter _arguments_iter;
	gchar* query = NULL;
	GVariant* _tmp33_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp33_ = g_variant_iter_next_value (&_arguments_iter);
	query = g_variant_dup_string (_tmp33_, NULL);
	g_variant_unref (_tmp33_);
	rygel_tracker_resources_iface_sparql_update (self, query, (GAsyncReadyCallback) _dbus_rygel_tracker_resources_iface_sparql_update_ready, invocation);
	_g_free0 (query);
}


static void _dbus_rygel_tracker_resources_iface_sparql_update_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	invocation = _user_data_;
	rygel_tracker_resources_iface_sparql_update_finish ((RygelTrackerResourcesIface*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void _dbus_rygel_tracker_resources_iface_sparql_update_blank (RygelTrackerResourcesIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GVariantIter _arguments_iter;
	gchar* query = NULL;
	GVariant* _tmp34_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp34_ = g_variant_iter_next_value (&_arguments_iter);
	query = g_variant_dup_string (_tmp34_, NULL);
	g_variant_unref (_tmp34_);
	rygel_tracker_resources_iface_sparql_update_blank (self, query, (GAsyncReadyCallback) _dbus_rygel_tracker_resources_iface_sparql_update_blank_ready, invocation);
	_g_free0 (query);
}


static void _dbus_rygel_tracker_resources_iface_sparql_update_blank_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	GHashTable** result;
	int result_length1 = 0;
	int result_length2 = 0;
	GHashTable** _tmp35_;
	GVariantBuilder _tmp36_;
	int _tmp37_;
	invocation = _user_data_;
	result = rygel_tracker_resources_iface_sparql_update_blank_finish ((RygelTrackerResourcesIface*) source_object, _res_, &result_length1, &result_length2, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_tmp35_ = result;
	g_variant_builder_init (&_tmp36_, G_VARIANT_TYPE ("aaa{ss}"));
	for (_tmp37_ = 0; _tmp37_ < result_length1; _tmp37_++) {
		GVariantBuilder _tmp38_;
		int _tmp39_;
		g_variant_builder_init (&_tmp38_, G_VARIANT_TYPE ("aaa{ss}"));
		for (_tmp39_ = 0; _tmp39_ < result_length2; _tmp39_++) {
			GVariantBuilder _tmp40_;
			GHashTableIter _tmp41_;
			gpointer _tmp42_;
			gpointer _tmp43_;
			g_hash_table_iter_init (&_tmp41_, *_tmp35_);
			g_variant_builder_init (&_tmp40_, G_VARIANT_TYPE ("a{ss}"));
			while (g_hash_table_iter_next (&_tmp41_, &_tmp42_, &_tmp43_)) {
				gchar* _key;
				gchar* _value;
				_key = (gchar*) _tmp42_;
				_value = (gchar*) _tmp43_;
				g_variant_builder_add (&_tmp40_, "{?*}", g_variant_new_string (_key), g_variant_new_string (_value));
			}
			g_variant_builder_add_value (&_tmp38_, g_variant_builder_end (&_tmp40_));
			_tmp35_++;
		}
		g_variant_builder_add_value (&_tmp36_, g_variant_builder_end (&_tmp38_));
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp36_));
	result = (_vala_array_free (result, result_length1 * result_length2, (GDestroyNotify) g_hash_table_unref), NULL);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void rygel_tracker_resources_iface_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "SparqlQuery") == 0) {
		_dbus_rygel_tracker_resources_iface_sparql_query (object, parameters, invocation);
	} else if (strcmp (method_name, "SparqlUpdate") == 0) {
		_dbus_rygel_tracker_resources_iface_sparql_update (object, parameters, invocation);
	} else if (strcmp (method_name, "SparqlUpdateBlank") == 0) {
		_dbus_rygel_tracker_resources_iface_sparql_update_blank (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}


static GVariant* rygel_tracker_resources_iface_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return NULL;
}


static gboolean rygel_tracker_resources_iface_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return FALSE;
}


guint rygel_tracker_resources_iface_register_object (gpointer object, GDBusConnection* connection, const gchar* path, GError** error) {
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_rygel_tracker_resources_iface_dbus_interface_info), &_rygel_tracker_resources_iface_dbus_interface_vtable, data, _rygel_tracker_resources_iface_unregister_object, error);
	if (!result) {
		return 0;
	}
	return result;
}


static void _rygel_tracker_resources_iface_unregister_object (gpointer user_data) {
	gpointer* data;
	data = user_data;
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}


void rygel_tracker_miner_files_index_iface_index_file (RygelTrackerMinerFilesIndexIface* self, const gchar* uri, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	RYGEL_TRACKER_MINER_FILES_INDEX_IFACE_GET_INTERFACE (self)->index_file (self, uri, _callback_, _user_data_);
}


void rygel_tracker_miner_files_index_iface_index_file_finish (RygelTrackerMinerFilesIndexIface* self, GAsyncResult* _res_, GError** error) {
	RYGEL_TRACKER_MINER_FILES_INDEX_IFACE_GET_INTERFACE (self)->index_file_finish (self, _res_, error);
}


static void rygel_tracker_miner_files_index_iface_base_init (RygelTrackerMinerFilesIndexIfaceIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
	}
}


GType rygel_tracker_miner_files_index_iface_get_type (void) {
	static volatile gsize rygel_tracker_miner_files_index_iface_type_id__volatile = 0;
	if (g_once_init_enter (&rygel_tracker_miner_files_index_iface_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (RygelTrackerMinerFilesIndexIfaceIface), (GBaseInitFunc) rygel_tracker_miner_files_index_iface_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType rygel_tracker_miner_files_index_iface_type_id;
		rygel_tracker_miner_files_index_iface_type_id = g_type_register_static (G_TYPE_INTERFACE, "RygelTrackerMinerFilesIndexIface", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (rygel_tracker_miner_files_index_iface_type_id, G_TYPE_DBUS_PROXY);
		g_type_set_qdata (rygel_tracker_miner_files_index_iface_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) rygel_tracker_miner_files_index_iface_proxy_get_type);
		g_type_set_qdata (rygel_tracker_miner_files_index_iface_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.freedesktop.Tracker1.Miner.Files.Index");
		g_type_set_qdata (rygel_tracker_miner_files_index_iface_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_rygel_tracker_miner_files_index_iface_dbus_interface_info));
		g_type_set_qdata (rygel_tracker_miner_files_index_iface_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) rygel_tracker_miner_files_index_iface_register_object);
		g_once_init_leave (&rygel_tracker_miner_files_index_iface_type_id__volatile, rygel_tracker_miner_files_index_iface_type_id);
	}
	return rygel_tracker_miner_files_index_iface_type_id__volatile;
}


G_DEFINE_TYPE_EXTENDED (RygelTrackerMinerFilesIndexIfaceProxy, rygel_tracker_miner_files_index_iface_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE (RYGEL_TRACKER_TYPE_MINER_FILES_INDEX_IFACE, rygel_tracker_miner_files_index_iface_proxy_rygel_tracker_miner_files_index_iface_interface_init) )
static void rygel_tracker_miner_files_index_iface_proxy_class_init (RygelTrackerMinerFilesIndexIfaceProxyClass* klass) {
	G_DBUS_PROXY_CLASS (klass)->g_signal = rygel_tracker_miner_files_index_iface_proxy_g_signal;
}


static void rygel_tracker_miner_files_index_iface_proxy_g_signal (GDBusProxy* proxy, const gchar* sender_name, const gchar* signal_name, GVariant* parameters) {
}


static void rygel_tracker_miner_files_index_iface_proxy_init (RygelTrackerMinerFilesIndexIfaceProxy* self) {
}


static void rygel_tracker_miner_files_index_iface_proxy_index_file_async (RygelTrackerMinerFilesIndexIface* self, const gchar* uri, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.freedesktop.Tracker1.Miner.Files.Index", "IndexFile");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uri));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
	g_object_unref (_message);
}


static void rygel_tracker_miner_files_index_iface_proxy_index_file_finish (RygelTrackerMinerFilesIndexIface* self, GAsyncResult* _res_, GError** error) {
	GDBusMessage *_reply_message;
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
	if (!_reply_message) {
		return;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}


static void rygel_tracker_miner_files_index_iface_proxy_rygel_tracker_miner_files_index_iface_interface_init (RygelTrackerMinerFilesIndexIfaceIface* iface) {
	iface->index_file = rygel_tracker_miner_files_index_iface_proxy_index_file_async;
	iface->index_file_finish = rygel_tracker_miner_files_index_iface_proxy_index_file_finish;
}


static void _dbus_rygel_tracker_miner_files_index_iface_index_file (RygelTrackerMinerFilesIndexIface* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GVariantIter _arguments_iter;
	gchar* uri = NULL;
	GVariant* _tmp44_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp44_ = g_variant_iter_next_value (&_arguments_iter);
	uri = g_variant_dup_string (_tmp44_, NULL);
	g_variant_unref (_tmp44_);
	rygel_tracker_miner_files_index_iface_index_file (self, uri, (GAsyncReadyCallback) _dbus_rygel_tracker_miner_files_index_iface_index_file_ready, invocation);
	_g_free0 (uri);
}


static void _dbus_rygel_tracker_miner_files_index_iface_index_file_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	invocation = _user_data_;
	rygel_tracker_miner_files_index_iface_index_file_finish ((RygelTrackerMinerFilesIndexIface*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void rygel_tracker_miner_files_index_iface_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "IndexFile") == 0) {
		_dbus_rygel_tracker_miner_files_index_iface_index_file (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}


static GVariant* rygel_tracker_miner_files_index_iface_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return NULL;
}


static gboolean rygel_tracker_miner_files_index_iface_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return FALSE;
}


guint rygel_tracker_miner_files_index_iface_register_object (gpointer object, GDBusConnection* connection, const gchar* path, GError** error) {
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_rygel_tracker_miner_files_index_iface_dbus_interface_info), &_rygel_tracker_miner_files_index_iface_dbus_interface_vtable, data, _rygel_tracker_miner_files_index_iface_unregister_object, error);
	if (!result) {
		return 0;
	}
	return result;
}


static void _rygel_tracker_miner_files_index_iface_unregister_object (gpointer user_data) {
	gpointer* data;
	data = user_data;
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}



