/* freedesktop-dbus.c generated by valac 0.56.17, the Vala compiler
 * generated from freedesktop-dbus.vala, do not modify */

/* Generated by vala-dbus-binding-tool 1.0-aa2fb. Do not modify! */
/* Generated with: vala-dbus-binding-tool --api-path=./org.freedesktop.DBus.xml --directory=./ --strip-namespace=org --rename-namespace=freedesktop:Freedesktop --no-synced */

#include "../../application.h"
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <gio/gio.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif

enum  {
	FREEDESKTOP_DBUS_NAME_OWNER_CHANGED_SIGNAL,
	FREEDESKTOP_DBUS_NAME_LOST_SIGNAL,
	FREEDESKTOP_DBUS_NAME_ACQUIRED_SIGNAL,
	FREEDESKTOP_DBUS_NUM_SIGNALS
};
static guint freedesktop_dbus_signals[FREEDESKTOP_DBUS_NUM_SIGNALS] = {0};
typedef GDBusProxy FreedesktopDBusProxy;
typedef GDBusProxyClass FreedesktopDBusProxyClass;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING (GClosure * closure,
                                                         GValue * return_value,
                                                         guint n_param_values,
                                                         const GValue * param_values,
                                                         gpointer invocation_hint,
                                                         gpointer marshal_data);
static GType freedesktop_dbus_get_type_once (void);
static void freedesktop_dbus_proxy_g_signal (GDBusProxy* proxy,
                                      const gchar* sender_name,
                                      const gchar* signal_name,
                                      GVariant* parameters);
static void _dbus_handle_freedesktop_dbus_name_owner_changed (FreedesktopDBus* self,
                                                       GVariant* parameters);
static void _dbus_handle_freedesktop_dbus_name_lost (FreedesktopDBus* self,
                                              GVariant* parameters);
static void _dbus_handle_freedesktop_dbus_name_acquired (FreedesktopDBus* self,
                                                  GVariant* parameters);
static gchar* freedesktop_dbus_proxy_hello (FreedesktopDBus* self,
                                     GError** error);
static guint freedesktop_dbus_proxy_request_name (FreedesktopDBus* self,
                                           const gchar* param0,
                                           guint param1,
                                           GError** error);
static guint freedesktop_dbus_proxy_release_name (FreedesktopDBus* self,
                                           const gchar* param0,
                                           GError** error);
static guint freedesktop_dbus_proxy_start_service_by_name (FreedesktopDBus* self,
                                                    const gchar* param0,
                                                    guint param1,
                                                    GError** error);
static void freedesktop_dbus_proxy_update_activation_environment (FreedesktopDBus* self,
                                                           GHashTable* param0,
                                                           GError** error);
static gboolean freedesktop_dbus_proxy_name_has_owner (FreedesktopDBus* self,
                                                const gchar* param0,
                                                GError** error);
static gchar** freedesktop_dbus_proxy_list_names (FreedesktopDBus* self,
                                           gint* result_length1,
                                           GError** error);
static gchar** freedesktop_dbus_proxy_list_activatable_names (FreedesktopDBus* self,
                                                       gint* result_length1,
                                                       GError** error);
static void freedesktop_dbus_proxy_add_match (FreedesktopDBus* self,
                                       const gchar* param0,
                                       GError** error);
static void freedesktop_dbus_proxy_remove_match (FreedesktopDBus* self,
                                          const gchar* param0,
                                          GError** error);
static gchar* freedesktop_dbus_proxy_get_name_owner (FreedesktopDBus* self,
                                              const gchar* param0,
                                              GError** error);
static gchar** freedesktop_dbus_proxy_list_queued_owners (FreedesktopDBus* self,
                                                   const gchar* param0,
                                                   gint* result_length1,
                                                   GError** error);
static guint freedesktop_dbus_proxy_get_connection_unix_user (FreedesktopDBus* self,
                                                       const gchar* param0,
                                                       GError** error);
static guint freedesktop_dbus_proxy_get_connection_unix_process_i_d (FreedesktopDBus* self,
                                                              const gchar* param0,
                                                              GError** error);
static guint8* freedesktop_dbus_proxy_get_adt_audit_session_data (FreedesktopDBus* self,
                                                           const gchar* param0,
                                                           gint* result_length1,
                                                           GError** error);
static guint8* freedesktop_dbus_proxy_get_connection_s_e_linux_security_context (FreedesktopDBus* self,
                                                                          const gchar* param0,
                                                                          gint* result_length1,
                                                                          GError** error);
static void freedesktop_dbus_proxy_reload_config (FreedesktopDBus* self,
                                           GError** error);
static gchar* freedesktop_dbus_proxy_get_id (FreedesktopDBus* self,
                                      GError** error);
static GHashTable* freedesktop_dbus_proxy_get_connection_credentials (FreedesktopDBus* self,
                                                               const gchar* param0,
                                                               GError** error);
static gchar** freedesktop_dbus_dbus_proxy_get_features (FreedesktopDBus* self,
                                                  gint* result_length1);
static gchar** freedesktop_dbus_dbus_proxy_get_interfaces (FreedesktopDBus* self,
                                                    gint* result_length1);
static void freedesktop_dbus_proxy_freedesktop_dbus_interface_init (FreedesktopDBusIface* iface);
static void _dbus_freedesktop_dbus_hello (FreedesktopDBus* self,
                                   GVariant* _parameters_,
                                   GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_request_name (FreedesktopDBus* self,
                                          GVariant* _parameters_,
                                          GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_release_name (FreedesktopDBus* self,
                                          GVariant* _parameters_,
                                          GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_start_service_by_name (FreedesktopDBus* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_update_activation_environment (FreedesktopDBus* self,
                                                           GVariant* _parameters_,
                                                           GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_name_has_owner (FreedesktopDBus* self,
                                            GVariant* _parameters_,
                                            GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_list_names (FreedesktopDBus* self,
                                        GVariant* _parameters_,
                                        GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_list_activatable_names (FreedesktopDBus* self,
                                                    GVariant* _parameters_,
                                                    GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_add_match (FreedesktopDBus* self,
                                       GVariant* _parameters_,
                                       GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_remove_match (FreedesktopDBus* self,
                                          GVariant* _parameters_,
                                          GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_get_name_owner (FreedesktopDBus* self,
                                            GVariant* _parameters_,
                                            GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_list_queued_owners (FreedesktopDBus* self,
                                                GVariant* _parameters_,
                                                GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_get_connection_unix_user (FreedesktopDBus* self,
                                                      GVariant* _parameters_,
                                                      GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_get_connection_unix_process_i_d (FreedesktopDBus* self,
                                                             GVariant* _parameters_,
                                                             GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_get_adt_audit_session_data (FreedesktopDBus* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_get_connection_s_e_linux_security_context (FreedesktopDBus* self,
                                                                       GVariant* _parameters_,
                                                                       GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_reload_config (FreedesktopDBus* self,
                                           GVariant* _parameters_,
                                           GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_get_id (FreedesktopDBus* self,
                                    GVariant* _parameters_,
                                    GDBusMethodInvocation* invocation);
static void _dbus_freedesktop_dbus_get_connection_credentials (FreedesktopDBus* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation);
static void freedesktop_dbus_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* freedesktop_dbus_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 GVariant* _dbus_freedesktop_dbus_get_features (FreedesktopDBus* self);
static GVariant* _dbus_freedesktop_dbus_get_interfaces (FreedesktopDBus* self);
static gboolean freedesktop_dbus_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 _dbus_freedesktop_dbus_name_owner_changed (GObject* _sender,
                                                const gchar* param0,
                                                const gchar* param1,
                                                const gchar* param2,
                                                gpointer* _data);
static void _dbus_freedesktop_dbus_name_lost (GObject* _sender,
                                       const gchar* param0,
                                       gpointer* _data);
static void _dbus_freedesktop_dbus_name_acquired (GObject* _sender,
                                           const gchar* param0,
                                           gpointer* _data);
static void _freedesktop_dbus_unregister_object (gpointer user_data);
static void _vala_array_destroy (gpointer array,
                          gssize array_length,
                          GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array,
                       gssize array_length,
                       GDestroyNotify destroy_func);
static inline gpointer _vala_memdup2 (gconstpointer mem,
                        gsize byte_size);

static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_hello_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_hello_in[] = {NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_hello_out[] = {&_freedesktop_dbus_dbus_arg_info_hello_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_hello = {-1, "Hello", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_hello_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_hello_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_request_name_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_request_name_param1 = {-1, "param1", "u", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_request_name_result = {-1, "result", "u", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_request_name_in[] = {&_freedesktop_dbus_dbus_arg_info_request_name_param0, &_freedesktop_dbus_dbus_arg_info_request_name_param1, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_request_name_out[] = {&_freedesktop_dbus_dbus_arg_info_request_name_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_request_name = {-1, "RequestName", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_request_name_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_request_name_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_release_name_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_release_name_result = {-1, "result", "u", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_release_name_in[] = {&_freedesktop_dbus_dbus_arg_info_release_name_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_release_name_out[] = {&_freedesktop_dbus_dbus_arg_info_release_name_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_release_name = {-1, "ReleaseName", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_release_name_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_release_name_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_start_service_by_name_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_start_service_by_name_param1 = {-1, "param1", "u", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_start_service_by_name_result = {-1, "result", "u", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_start_service_by_name_in[] = {&_freedesktop_dbus_dbus_arg_info_start_service_by_name_param0, &_freedesktop_dbus_dbus_arg_info_start_service_by_name_param1, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_start_service_by_name_out[] = {&_freedesktop_dbus_dbus_arg_info_start_service_by_name_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_start_service_by_name = {-1, "StartServiceByName", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_start_service_by_name_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_start_service_by_name_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_update_activation_environment_param0 = {-1, "param0", "a{ss}", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_update_activation_environment_in[] = {&_freedesktop_dbus_dbus_arg_info_update_activation_environment_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_update_activation_environment_out[] = {NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_update_activation_environment = {-1, "UpdateActivationEnvironment", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_update_activation_environment_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_update_activation_environment_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_name_has_owner_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_name_has_owner_result = {-1, "result", "b", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_name_has_owner_in[] = {&_freedesktop_dbus_dbus_arg_info_name_has_owner_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_name_has_owner_out[] = {&_freedesktop_dbus_dbus_arg_info_name_has_owner_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_name_has_owner = {-1, "NameHasOwner", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_name_has_owner_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_name_has_owner_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_list_names_result = {-1, "result", "as", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_list_names_in[] = {NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_list_names_out[] = {&_freedesktop_dbus_dbus_arg_info_list_names_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_list_names = {-1, "ListNames", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_list_names_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_list_names_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_list_activatable_names_result = {-1, "result", "as", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_list_activatable_names_in[] = {NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_list_activatable_names_out[] = {&_freedesktop_dbus_dbus_arg_info_list_activatable_names_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_list_activatable_names = {-1, "ListActivatableNames", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_list_activatable_names_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_list_activatable_names_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_add_match_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_add_match_in[] = {&_freedesktop_dbus_dbus_arg_info_add_match_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_add_match_out[] = {NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_add_match = {-1, "AddMatch", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_add_match_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_add_match_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_remove_match_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_remove_match_in[] = {&_freedesktop_dbus_dbus_arg_info_remove_match_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_remove_match_out[] = {NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_remove_match = {-1, "RemoveMatch", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_remove_match_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_remove_match_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_name_owner_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_name_owner_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_name_owner_in[] = {&_freedesktop_dbus_dbus_arg_info_get_name_owner_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_name_owner_out[] = {&_freedesktop_dbus_dbus_arg_info_get_name_owner_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_get_name_owner = {-1, "GetNameOwner", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_name_owner_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_name_owner_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_list_queued_owners_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_list_queued_owners_result = {-1, "result", "as", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_list_queued_owners_in[] = {&_freedesktop_dbus_dbus_arg_info_list_queued_owners_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_list_queued_owners_out[] = {&_freedesktop_dbus_dbus_arg_info_list_queued_owners_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_list_queued_owners = {-1, "ListQueuedOwners", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_list_queued_owners_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_list_queued_owners_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_unix_user_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_unix_user_result = {-1, "result", "u", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_unix_user_in[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_unix_user_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_unix_user_out[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_unix_user_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_get_connection_unix_user = {-1, "GetConnectionUnixUser", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_unix_user_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_unix_user_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_result = {-1, "result", "u", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_in[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_out[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_get_connection_unix_process_i_d = {-1, "GetConnectionUnixProcessID", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_unix_process_i_d_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_result = {-1, "result", "ay", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_in[] = {&_freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_out[] = {&_freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_get_adt_audit_session_data = {-1, "GetAdtAuditSessionData", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_adt_audit_session_data_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_result = {-1, "result", "ay", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_in[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_out[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_get_connection_s_e_linux_security_context = {-1, "GetConnectionSELinuxSecurityContext", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_s_e_linux_security_context_out), NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_reload_config_in[] = {NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_reload_config_out[] = {NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_reload_config = {-1, "ReloadConfig", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_reload_config_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_reload_config_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_id_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_id_in[] = {NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_id_out[] = {&_freedesktop_dbus_dbus_arg_info_get_id_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_get_id = {-1, "GetId", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_id_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_id_out), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_credentials_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_get_connection_credentials_result = {-1, "result", "a{sv}", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_credentials_in[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_credentials_param0, NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_get_connection_credentials_out[] = {&_freedesktop_dbus_dbus_arg_info_get_connection_credentials_result, NULL};
static const GDBusMethodInfo _freedesktop_dbus_dbus_method_info_get_connection_credentials = {-1, "GetConnectionCredentials", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_credentials_in), (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_get_connection_credentials_out), NULL};
static const GDBusMethodInfo * const _freedesktop_dbus_dbus_method_info[] = {&_freedesktop_dbus_dbus_method_info_hello, &_freedesktop_dbus_dbus_method_info_request_name, &_freedesktop_dbus_dbus_method_info_release_name, &_freedesktop_dbus_dbus_method_info_start_service_by_name, &_freedesktop_dbus_dbus_method_info_update_activation_environment, &_freedesktop_dbus_dbus_method_info_name_has_owner, &_freedesktop_dbus_dbus_method_info_list_names, &_freedesktop_dbus_dbus_method_info_list_activatable_names, &_freedesktop_dbus_dbus_method_info_add_match, &_freedesktop_dbus_dbus_method_info_remove_match, &_freedesktop_dbus_dbus_method_info_get_name_owner, &_freedesktop_dbus_dbus_method_info_list_queued_owners, &_freedesktop_dbus_dbus_method_info_get_connection_unix_user, &_freedesktop_dbus_dbus_method_info_get_connection_unix_process_i_d, &_freedesktop_dbus_dbus_method_info_get_adt_audit_session_data, &_freedesktop_dbus_dbus_method_info_get_connection_s_e_linux_security_context, &_freedesktop_dbus_dbus_method_info_reload_config, &_freedesktop_dbus_dbus_method_info_get_id, &_freedesktop_dbus_dbus_method_info_get_connection_credentials, NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_name_owner_changed_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_name_owner_changed_param1 = {-1, "param1", "s", NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_name_owner_changed_param2 = {-1, "param2", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_name_owner_changed[] = {&_freedesktop_dbus_dbus_arg_info_name_owner_changed_param0, &_freedesktop_dbus_dbus_arg_info_name_owner_changed_param1, &_freedesktop_dbus_dbus_arg_info_name_owner_changed_param2, NULL};
static const GDBusSignalInfo _freedesktop_dbus_dbus_signal_info_name_owner_changed = {-1, "NameOwnerChanged", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_name_owner_changed), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_name_lost_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_name_lost[] = {&_freedesktop_dbus_dbus_arg_info_name_lost_param0, NULL};
static const GDBusSignalInfo _freedesktop_dbus_dbus_signal_info_name_lost = {-1, "NameLost", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_name_lost), NULL};
static const GDBusArgInfo _freedesktop_dbus_dbus_arg_info_name_acquired_param0 = {-1, "param0", "s", NULL};
static const GDBusArgInfo * const _freedesktop_dbus_dbus_arg_info_name_acquired[] = {&_freedesktop_dbus_dbus_arg_info_name_acquired_param0, NULL};
static const GDBusSignalInfo _freedesktop_dbus_dbus_signal_info_name_acquired = {-1, "NameAcquired", (GDBusArgInfo **) (&_freedesktop_dbus_dbus_arg_info_name_acquired), NULL};
static const GDBusSignalInfo * const _freedesktop_dbus_dbus_signal_info[] = {&_freedesktop_dbus_dbus_signal_info_name_owner_changed, &_freedesktop_dbus_dbus_signal_info_name_lost, &_freedesktop_dbus_dbus_signal_info_name_acquired, NULL};
static const GDBusPropertyInfo _freedesktop_dbus_dbus_property_info_features = {-1, "Features", "as", G_DBUS_PROPERTY_INFO_FLAGS_READABLE, NULL};
static const GDBusPropertyInfo _freedesktop_dbus_dbus_property_info_interfaces = {-1, "Interfaces", "as", G_DBUS_PROPERTY_INFO_FLAGS_READABLE, NULL};
static const GDBusPropertyInfo * const _freedesktop_dbus_dbus_property_info[] = {&_freedesktop_dbus_dbus_property_info_features, &_freedesktop_dbus_dbus_property_info_interfaces, NULL};
static const GDBusInterfaceInfo _freedesktop_dbus_dbus_interface_info = {-1, "org.freedesktop.DBus", (GDBusMethodInfo **) (&_freedesktop_dbus_dbus_method_info), (GDBusSignalInfo **) (&_freedesktop_dbus_dbus_signal_info), (GDBusPropertyInfo **) (&_freedesktop_dbus_dbus_property_info), NULL};
static const GDBusInterfaceVTable _freedesktop_dbus_dbus_interface_vtable = {freedesktop_dbus_dbus_interface_method_call, freedesktop_dbus_dbus_interface_get_property, freedesktop_dbus_dbus_interface_set_property};

gchar*
freedesktop_dbus_hello (FreedesktopDBus* self,
                        GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->hello) {
		return _iface_->hello (self, error);
	}
	return NULL;
}

guint
freedesktop_dbus_request_name (FreedesktopDBus* self,
                               const gchar* param0,
                               guint param1,
                               GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, 0U);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->request_name) {
		return _iface_->request_name (self, param0, param1, error);
	}
	return 0U;
}

guint
freedesktop_dbus_release_name (FreedesktopDBus* self,
                               const gchar* param0,
                               GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, 0U);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->release_name) {
		return _iface_->release_name (self, param0, error);
	}
	return 0U;
}

guint
freedesktop_dbus_start_service_by_name (FreedesktopDBus* self,
                                        const gchar* param0,
                                        guint param1,
                                        GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, 0U);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->start_service_by_name) {
		return _iface_->start_service_by_name (self, param0, param1, error);
	}
	return 0U;
}

void
freedesktop_dbus_update_activation_environment (FreedesktopDBus* self,
                                                GHashTable* param0,
                                                GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->update_activation_environment) {
		_iface_->update_activation_environment (self, param0, error);
	}
}

gboolean
freedesktop_dbus_name_has_owner (FreedesktopDBus* self,
                                 const gchar* param0,
                                 GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, FALSE);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->name_has_owner) {
		return _iface_->name_has_owner (self, param0, error);
	}
	return FALSE;
}

gchar**
freedesktop_dbus_list_names (FreedesktopDBus* self,
                             gint* result_length1,
                             GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->list_names) {
		return _iface_->list_names (self, result_length1, error);
	}
	return NULL;
}

gchar**
freedesktop_dbus_list_activatable_names (FreedesktopDBus* self,
                                         gint* result_length1,
                                         GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->list_activatable_names) {
		return _iface_->list_activatable_names (self, result_length1, error);
	}
	return NULL;
}

void
freedesktop_dbus_add_match (FreedesktopDBus* self,
                            const gchar* param0,
                            GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->add_match) {
		_iface_->add_match (self, param0, error);
	}
}

void
freedesktop_dbus_remove_match (FreedesktopDBus* self,
                               const gchar* param0,
                               GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->remove_match) {
		_iface_->remove_match (self, param0, error);
	}
}

gchar*
freedesktop_dbus_get_name_owner (FreedesktopDBus* self,
                                 const gchar* param0,
                                 GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_name_owner) {
		return _iface_->get_name_owner (self, param0, error);
	}
	return NULL;
}

gchar**
freedesktop_dbus_list_queued_owners (FreedesktopDBus* self,
                                     const gchar* param0,
                                     gint* result_length1,
                                     GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->list_queued_owners) {
		return _iface_->list_queued_owners (self, param0, result_length1, error);
	}
	return NULL;
}

guint
freedesktop_dbus_get_connection_unix_user (FreedesktopDBus* self,
                                           const gchar* param0,
                                           GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, 0U);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_connection_unix_user) {
		return _iface_->get_connection_unix_user (self, param0, error);
	}
	return 0U;
}

guint
freedesktop_dbus_get_connection_unix_process_i_d (FreedesktopDBus* self,
                                                  const gchar* param0,
                                                  GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, 0U);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_connection_unix_process_i_d) {
		return _iface_->get_connection_unix_process_i_d (self, param0, error);
	}
	return 0U;
}

guint8*
freedesktop_dbus_get_adt_audit_session_data (FreedesktopDBus* self,
                                             const gchar* param0,
                                             gint* result_length1,
                                             GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_adt_audit_session_data) {
		return _iface_->get_adt_audit_session_data (self, param0, result_length1, error);
	}
	return NULL;
}

guint8*
freedesktop_dbus_get_connection_s_e_linux_security_context (FreedesktopDBus* self,
                                                            const gchar* param0,
                                                            gint* result_length1,
                                                            GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_connection_s_e_linux_security_context) {
		return _iface_->get_connection_s_e_linux_security_context (self, param0, result_length1, error);
	}
	return NULL;
}

void
freedesktop_dbus_reload_config (FreedesktopDBus* self,
                                GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->reload_config) {
		_iface_->reload_config (self, error);
	}
}

gchar*
freedesktop_dbus_get_id (FreedesktopDBus* self,
                         GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_id) {
		return _iface_->get_id (self, error);
	}
	return NULL;
}

GHashTable*
freedesktop_dbus_get_connection_credentials (FreedesktopDBus* self,
                                             const gchar* param0,
                                             GError** error)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_connection_credentials) {
		return _iface_->get_connection_credentials (self, param0, error);
	}
	return NULL;
}

gchar**
freedesktop_dbus_get_features (FreedesktopDBus* self,
                               gint* result_length1)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_features) {
		return _iface_->get_features (self, result_length1);
	}
	return NULL;
}

gchar**
freedesktop_dbus_get_interfaces (FreedesktopDBus* self,
                                 gint* result_length1)
{
	FreedesktopDBusIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = FREEDESKTOP_DBUS_GET_INTERFACE (self);
	if (_iface_->get_interfaces) {
		return _iface_->get_interfaces (self, result_length1);
	}
	return NULL;
}

static void
g_cclosure_user_marshal_VOID__STRING_STRING_STRING (GClosure * closure,
                                                    GValue * return_value,
                                                    guint n_param_values,
                                                    const GValue * param_values,
                                                    gpointer invocation_hint,
                                                    gpointer marshal_data)
{
	typedef void (*GMarshalFunc_VOID__STRING_STRING_STRING) (gpointer data1, const char* arg_1, const char* arg_2, const char* arg_3, gpointer data2);
	register GMarshalFunc_VOID__STRING_STRING_STRING callback;
	register GCClosure * cc;
	register gpointer data1;
	register gpointer data2;
	cc = (GCClosure *) closure;
	g_return_if_fail (n_param_values == 4);
	if (G_CCLOSURE_SWAP_DATA (closure)) {
		data1 = closure->data;
		data2 = param_values->data[0].v_pointer;
	} else {
		data1 = param_values->data[0].v_pointer;
		data2 = closure->data;
	}
	callback = (GMarshalFunc_VOID__STRING_STRING_STRING) (marshal_data ? marshal_data : cc->callback);
	callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_string (param_values + 3), data2);
}

static void
freedesktop_dbus_default_init (FreedesktopDBusIface * iface,
                               gpointer iface_data)
{
	freedesktop_dbus_signals[FREEDESKTOP_DBUS_NAME_OWNER_CHANGED_SIGNAL] = g_signal_new ("name-owner-changed", FREEDESKTOP_TYPE_DBUS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_STRING, G_TYPE_NONE, 3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
	freedesktop_dbus_signals[FREEDESKTOP_DBUS_NAME_LOST_SIGNAL] = g_signal_new ("name-lost", FREEDESKTOP_TYPE_DBUS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
	freedesktop_dbus_signals[FREEDESKTOP_DBUS_NAME_ACQUIRED_SIGNAL] = g_signal_new ("name-acquired", FREEDESKTOP_TYPE_DBUS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
}

static GType
freedesktop_dbus_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (FreedesktopDBusIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) freedesktop_dbus_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	GType freedesktop_dbus_type_id;
	freedesktop_dbus_type_id = g_type_register_static (G_TYPE_INTERFACE, "FreedesktopDBus", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (freedesktop_dbus_type_id, G_TYPE_OBJECT);
	g_type_set_qdata (freedesktop_dbus_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) freedesktop_dbus_proxy_get_type);
	g_type_set_qdata (freedesktop_dbus_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.freedesktop.DBus");
	g_type_set_qdata (freedesktop_dbus_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_freedesktop_dbus_dbus_interface_info));
	g_type_set_qdata (freedesktop_dbus_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) freedesktop_dbus_register_object);
	return freedesktop_dbus_type_id;
}

GType
freedesktop_dbus_get_type (void)
{
	static volatile gsize freedesktop_dbus_type_id__once = 0;
	if (g_once_init_enter (&freedesktop_dbus_type_id__once)) {
		GType freedesktop_dbus_type_id;
		freedesktop_dbus_type_id = freedesktop_dbus_get_type_once ();
		g_once_init_leave (&freedesktop_dbus_type_id__once, freedesktop_dbus_type_id);
	}
	return freedesktop_dbus_type_id__once;
}

G_DEFINE_TYPE_EXTENDED (FreedesktopDBusProxy, freedesktop_dbus_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE (FREEDESKTOP_TYPE_DBUS, freedesktop_dbus_proxy_freedesktop_dbus_interface_init) )
static void
freedesktop_dbus_proxy_class_init (FreedesktopDBusProxyClass* klass)
{
	G_DBUS_PROXY_CLASS (klass)->g_signal = freedesktop_dbus_proxy_g_signal;
}

static void
_dbus_handle_freedesktop_dbus_name_owner_changed (FreedesktopDBus* self,
                                                  GVariant* parameters)
{
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp0_;
	gchar* param1 = NULL;
	GVariant* _tmp1_;
	gchar* param2 = NULL;
	GVariant* _tmp2_;
	g_variant_iter_init (&_arguments_iter, parameters);
	_tmp0_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp0_, NULL);
	g_variant_unref (_tmp0_);
	_tmp1_ = g_variant_iter_next_value (&_arguments_iter);
	param1 = g_variant_dup_string (_tmp1_, NULL);
	g_variant_unref (_tmp1_);
	_tmp2_ = g_variant_iter_next_value (&_arguments_iter);
	param2 = g_variant_dup_string (_tmp2_, NULL);
	g_variant_unref (_tmp2_);
	g_signal_emit_by_name (self, "name-owner-changed", param0, param1, param2);
	_g_free0 (param0);
	_g_free0 (param1);
	_g_free0 (param2);
}

static void
_dbus_handle_freedesktop_dbus_name_lost (FreedesktopDBus* self,
                                         GVariant* parameters)
{
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp3_;
	g_variant_iter_init (&_arguments_iter, parameters);
	_tmp3_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp3_, NULL);
	g_variant_unref (_tmp3_);
	g_signal_emit_by_name (self, "name-lost", param0);
	_g_free0 (param0);
}

static void
_dbus_handle_freedesktop_dbus_name_acquired (FreedesktopDBus* self,
                                             GVariant* parameters)
{
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp4_;
	g_variant_iter_init (&_arguments_iter, parameters);
	_tmp4_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp4_, NULL);
	g_variant_unref (_tmp4_);
	g_signal_emit_by_name (self, "name-acquired", param0);
	_g_free0 (param0);
}

static void
freedesktop_dbus_proxy_g_signal (GDBusProxy* proxy,
                                 const gchar* sender_name,
                                 const gchar* signal_name,
                                 GVariant* parameters)
{
	if (strcmp (signal_name, "NameOwnerChanged") == 0) {
		_dbus_handle_freedesktop_dbus_name_owner_changed ((FreedesktopDBus*) proxy, parameters);
	} else if (strcmp (signal_name, "NameLost") == 0) {
		_dbus_handle_freedesktop_dbus_name_lost ((FreedesktopDBus*) proxy, parameters);
	} else if (strcmp (signal_name, "NameAcquired") == 0) {
		_dbus_handle_freedesktop_dbus_name_acquired ((FreedesktopDBus*) proxy, parameters);
	}
}

static void
freedesktop_dbus_proxy_init (FreedesktopDBusProxy* self)
{
	g_dbus_proxy_set_interface_info (G_DBUS_PROXY (self), (GDBusInterfaceInfo *) (&_freedesktop_dbus_dbus_interface_info));
}

static gchar*
freedesktop_dbus_proxy_hello (FreedesktopDBus* self,
                              GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp5_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "Hello");
	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);
	_tmp5_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp5_, NULL);
	g_variant_unref (_tmp5_);
	g_object_unref (_reply_message);
	return _result;
}

static guint
freedesktop_dbus_proxy_request_name (FreedesktopDBus* self,
                                     const gchar* param0,
                                     guint param1,
                                     GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint _result = 0U;
	GVariant* _tmp8_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "RequestName");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_uint32 (param1));
	_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) {
		guint _tmp6_ = 0U;
		return _tmp6_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint _tmp7_ = 0U;
		g_object_unref (_reply_message);
		return _tmp7_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp8_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint32 (_tmp8_);
	g_variant_unref (_tmp8_);
	g_object_unref (_reply_message);
	return _result;
}

static guint
freedesktop_dbus_proxy_release_name (FreedesktopDBus* self,
                                     const gchar* param0,
                                     GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint _result = 0U;
	GVariant* _tmp11_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "ReleaseName");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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) {
		guint _tmp9_ = 0U;
		return _tmp9_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint _tmp10_ = 0U;
		g_object_unref (_reply_message);
		return _tmp10_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp11_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint32 (_tmp11_);
	g_variant_unref (_tmp11_);
	g_object_unref (_reply_message);
	return _result;
}

static guint
freedesktop_dbus_proxy_start_service_by_name (FreedesktopDBus* self,
                                              const gchar* param0,
                                              guint param1,
                                              GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint _result = 0U;
	GVariant* _tmp14_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "StartServiceByName");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_uint32 (param1));
	_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) {
		guint _tmp12_ = 0U;
		return _tmp12_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint _tmp13_ = 0U;
		g_object_unref (_reply_message);
		return _tmp13_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp14_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint32 (_tmp14_);
	g_variant_unref (_tmp14_);
	g_object_unref (_reply_message);
	return _result;
}

static void
freedesktop_dbus_proxy_update_activation_environment (FreedesktopDBus* self,
                                                      GHashTable* param0,
                                                      GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GVariantBuilder _tmp15_;
	GHashTableIter _tmp16_;
	gpointer _tmp17_;
	gpointer _tmp18_;
	GDBusMessage *_reply_message;
	G_DBUS_ERROR;
	G_IO_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.DBus", "UpdateActivationEnvironment");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_hash_table_iter_init (&_tmp16_, param0);
	g_variant_builder_init (&_tmp15_, G_VARIANT_TYPE ("a{ss}"));
	while (g_hash_table_iter_next (&_tmp16_, &_tmp17_, &_tmp18_)) {
		gchar* _key;
		gchar* _value;
		_key = (gchar*) _tmp17_;
		_value = (gchar*) _tmp18_;
		g_variant_builder_add (&_tmp15_, "{?*}", g_variant_new_string (_key), g_variant_new_string (_value));
	}
	g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp15_));
	_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;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static gboolean
freedesktop_dbus_proxy_name_has_owner (FreedesktopDBus* self,
                                       const gchar* param0,
                                       GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gboolean _result = FALSE;
	GVariant* _tmp21_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "NameHasOwner");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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) {
		gboolean _tmp19_ = FALSE;
		return _tmp19_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		gboolean _tmp20_ = FALSE;
		g_object_unref (_reply_message);
		return _tmp20_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp21_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_boolean (_tmp21_);
	g_variant_unref (_tmp21_);
	g_object_unref (_reply_message);
	return _result;
}

static gchar**
freedesktop_dbus_proxy_list_names (FreedesktopDBus* self,
                                   gint* result_length1,
                                   GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result = NULL;
	gint _result_length1;
	GVariant* _tmp22_;
	gchar** _tmp23_;
	gint _tmp23__length;
	gint _tmp23__size;
	gint _tmp23__length1;
	GVariantIter _tmp24_;
	GVariant* _tmp25_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "ListNames");
	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;
	_tmp22_ = g_variant_iter_next_value (&_reply_iter);
	_tmp23_ = g_new (gchar*, 5);
	_tmp23__length = 0;
	_tmp23__size = 4;
	_tmp23__length1 = 0;
	g_variant_iter_init (&_tmp24_, _tmp22_);
	for (; (_tmp25_ = g_variant_iter_next_value (&_tmp24_)) != NULL; _tmp23__length1++) {
		if (_tmp23__size == _tmp23__length) {
			_tmp23__size = 2 * _tmp23__size;
			_tmp23_ = g_renew (gchar*, _tmp23_, _tmp23__size + 1);
		}
		_tmp23_[_tmp23__length++] = g_variant_dup_string (_tmp25_, NULL);
		g_variant_unref (_tmp25_);
	}
	_result_length1 = _tmp23__length1;
	_tmp23_[_tmp23__length] = NULL;
	_result = _tmp23_;
	g_variant_unref (_tmp22_);
	*result_length1 = _result_length1;
	g_object_unref (_reply_message);
	return _result;
}

static gchar**
freedesktop_dbus_proxy_list_activatable_names (FreedesktopDBus* self,
                                               gint* result_length1,
                                               GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result = NULL;
	gint _result_length1;
	GVariant* _tmp26_;
	gchar** _tmp27_;
	gint _tmp27__length;
	gint _tmp27__size;
	gint _tmp27__length1;
	GVariantIter _tmp28_;
	GVariant* _tmp29_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "ListActivatableNames");
	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;
	_tmp26_ = g_variant_iter_next_value (&_reply_iter);
	_tmp27_ = g_new (gchar*, 5);
	_tmp27__length = 0;
	_tmp27__size = 4;
	_tmp27__length1 = 0;
	g_variant_iter_init (&_tmp28_, _tmp26_);
	for (; (_tmp29_ = g_variant_iter_next_value (&_tmp28_)) != NULL; _tmp27__length1++) {
		if (_tmp27__size == _tmp27__length) {
			_tmp27__size = 2 * _tmp27__size;
			_tmp27_ = g_renew (gchar*, _tmp27_, _tmp27__size + 1);
		}
		_tmp27_[_tmp27__length++] = g_variant_dup_string (_tmp29_, NULL);
		g_variant_unref (_tmp29_);
	}
	_result_length1 = _tmp27__length1;
	_tmp27_[_tmp27__length] = NULL;
	_result = _tmp27_;
	g_variant_unref (_tmp26_);
	*result_length1 = _result_length1;
	g_object_unref (_reply_message);
	return _result;
}

static void
freedesktop_dbus_proxy_add_match (FreedesktopDBus* self,
                                  const gchar* param0,
                                  GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	G_DBUS_ERROR;
	G_IO_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.DBus", "AddMatch");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static void
freedesktop_dbus_proxy_remove_match (FreedesktopDBus* self,
                                     const gchar* param0,
                                     GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	G_DBUS_ERROR;
	G_IO_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.DBus", "RemoveMatch");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static gchar*
freedesktop_dbus_proxy_get_name_owner (FreedesktopDBus* self,
                                       const gchar* param0,
                                       GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp30_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "GetNameOwner");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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);
	_tmp30_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp30_, NULL);
	g_variant_unref (_tmp30_);
	g_object_unref (_reply_message);
	return _result;
}

static gchar**
freedesktop_dbus_proxy_list_queued_owners (FreedesktopDBus* self,
                                           const gchar* param0,
                                           gint* result_length1,
                                           GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result = NULL;
	gint _result_length1;
	GVariant* _tmp31_;
	gchar** _tmp32_;
	gint _tmp32__length;
	gint _tmp32__size;
	gint _tmp32__length1;
	GVariantIter _tmp33_;
	GVariant* _tmp34_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "ListQueuedOwners");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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;
	_tmp31_ = g_variant_iter_next_value (&_reply_iter);
	_tmp32_ = g_new (gchar*, 5);
	_tmp32__length = 0;
	_tmp32__size = 4;
	_tmp32__length1 = 0;
	g_variant_iter_init (&_tmp33_, _tmp31_);
	for (; (_tmp34_ = g_variant_iter_next_value (&_tmp33_)) != NULL; _tmp32__length1++) {
		if (_tmp32__size == _tmp32__length) {
			_tmp32__size = 2 * _tmp32__size;
			_tmp32_ = g_renew (gchar*, _tmp32_, _tmp32__size + 1);
		}
		_tmp32_[_tmp32__length++] = g_variant_dup_string (_tmp34_, NULL);
		g_variant_unref (_tmp34_);
	}
	_result_length1 = _tmp32__length1;
	_tmp32_[_tmp32__length] = NULL;
	_result = _tmp32_;
	g_variant_unref (_tmp31_);
	*result_length1 = _result_length1;
	g_object_unref (_reply_message);
	return _result;
}

static guint
freedesktop_dbus_proxy_get_connection_unix_user (FreedesktopDBus* self,
                                                 const gchar* param0,
                                                 GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint _result = 0U;
	GVariant* _tmp37_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "GetConnectionUnixUser");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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) {
		guint _tmp35_ = 0U;
		return _tmp35_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint _tmp36_ = 0U;
		g_object_unref (_reply_message);
		return _tmp36_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp37_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint32 (_tmp37_);
	g_variant_unref (_tmp37_);
	g_object_unref (_reply_message);
	return _result;
}

static guint
freedesktop_dbus_proxy_get_connection_unix_process_i_d (FreedesktopDBus* self,
                                                        const gchar* param0,
                                                        GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint _result = 0U;
	GVariant* _tmp40_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "GetConnectionUnixProcessID");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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) {
		guint _tmp38_ = 0U;
		return _tmp38_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint _tmp39_ = 0U;
		g_object_unref (_reply_message);
		return _tmp39_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp40_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint32 (_tmp40_);
	g_variant_unref (_tmp40_);
	g_object_unref (_reply_message);
	return _result;
}

static guint8*
freedesktop_dbus_proxy_get_adt_audit_session_data (FreedesktopDBus* self,
                                                   const gchar* param0,
                                                   gint* result_length1,
                                                   GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint8* _result = NULL;
	gint _result_length1;
	GVariant* _tmp41_;
	gsize _tmp42__length;
	guint8* _tmp42_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "GetAdtAuditSessionData");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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;
	_tmp41_ = g_variant_iter_next_value (&_reply_iter);
	_tmp42__length = g_variant_get_size (_tmp41_);
	_tmp42_ = _vala_memdup2 (g_variant_get_data (_tmp41_), _tmp42__length);
	_result_length1 = _tmp42__length;
	_result = _tmp42_;
	g_variant_unref (_tmp41_);
	*result_length1 = _result_length1;
	g_object_unref (_reply_message);
	return _result;
}

static guint8*
freedesktop_dbus_proxy_get_connection_s_e_linux_security_context (FreedesktopDBus* self,
                                                                  const gchar* param0,
                                                                  gint* result_length1,
                                                                  GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint8* _result = NULL;
	gint _result_length1;
	GVariant* _tmp43_;
	gsize _tmp44__length;
	guint8* _tmp44_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "GetConnectionSELinuxSecurityContext");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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;
	_tmp43_ = g_variant_iter_next_value (&_reply_iter);
	_tmp44__length = g_variant_get_size (_tmp43_);
	_tmp44_ = _vala_memdup2 (g_variant_get_data (_tmp43_), _tmp44__length);
	_result_length1 = _tmp44__length;
	_result = _tmp44_;
	g_variant_unref (_tmp43_);
	*result_length1 = _result_length1;
	g_object_unref (_reply_message);
	return _result;
}

static void
freedesktop_dbus_proxy_reload_config (FreedesktopDBus* self,
                                      GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	G_DBUS_ERROR;
	G_IO_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.DBus", "ReloadConfig");
	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;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static gchar*
freedesktop_dbus_proxy_get_id (FreedesktopDBus* self,
                               GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp45_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "GetId");
	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);
	_tmp45_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp45_, NULL);
	g_variant_unref (_tmp45_);
	g_object_unref (_reply_message);
	return _result;
}

static GHashTable*
freedesktop_dbus_proxy_get_connection_credentials (FreedesktopDBus* self,
                                                   const gchar* param0,
                                                   GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	GHashTable* _result = NULL;
	GVariant* _tmp46_;
	GHashTable* _tmp47_;
	GVariantIter _tmp48_;
	GVariant* _tmp49_;
	GVariant* _tmp50_;
	G_DBUS_ERROR;
	G_IO_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.DBus", "GetConnectionCredentials");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_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);
	_tmp46_ = g_variant_iter_next_value (&_reply_iter);
	_tmp47_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify) g_variant_unref);
	g_variant_iter_init (&_tmp48_, _tmp46_);
	while (g_variant_iter_loop (&_tmp48_, "{?*}", &_tmp49_, &_tmp50_)) {
		g_hash_table_insert (_tmp47_, g_variant_dup_string (_tmp49_, NULL), g_variant_get_variant (_tmp50_));
	}
	_result = _tmp47_;
	g_variant_unref (_tmp46_);
	g_object_unref (_reply_message);
	return _result;
}

static gchar**
freedesktop_dbus_dbus_proxy_get_features (FreedesktopDBus* self,
                                          gint* result_length1)
{
	GVariant *_inner_reply;
	gchar** _result;
	gint _result_length1;
	gchar** _tmp51_;
	gint _tmp51__length;
	gint _tmp51__size;
	gint _tmp51__length1;
	GVariantIter _tmp52_;
	GVariant* _tmp53_;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "Features");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.freedesktop.DBus"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Features"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, 120000, NULL, NULL);
		if (!_reply) {
			return NULL;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result_length1 = 0;
	_tmp51_ = g_new (gchar*, 5);
	_tmp51__length = 0;
	_tmp51__size = 4;
	_tmp51__length1 = 0;
	g_variant_iter_init (&_tmp52_, _inner_reply);
	for (; (_tmp53_ = g_variant_iter_next_value (&_tmp52_)) != NULL; _tmp51__length1++) {
		if (_tmp51__size == _tmp51__length) {
			_tmp51__size = 2 * _tmp51__size;
			_tmp51_ = g_renew (gchar*, _tmp51_, _tmp51__size + 1);
		}
		_tmp51_[_tmp51__length++] = g_variant_dup_string (_tmp53_, NULL);
		g_variant_unref (_tmp53_);
	}
	_result_length1 = _tmp51__length1;
	_tmp51_[_tmp51__length] = NULL;
	_result = _tmp51_;
	*result_length1 = _result_length1;
	g_variant_unref (_inner_reply);
	return _result;
}

static gchar**
freedesktop_dbus_dbus_proxy_get_interfaces (FreedesktopDBus* self,
                                            gint* result_length1)
{
	GVariant *_inner_reply;
	gchar** _result;
	gint _result_length1;
	gchar** _tmp54_;
	gint _tmp54__length;
	gint _tmp54__size;
	gint _tmp54__length1;
	GVariantIter _tmp55_;
	GVariant* _tmp56_;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "Interfaces");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.freedesktop.DBus"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Interfaces"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, 120000, NULL, NULL);
		if (!_reply) {
			return NULL;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result_length1 = 0;
	_tmp54_ = g_new (gchar*, 5);
	_tmp54__length = 0;
	_tmp54__size = 4;
	_tmp54__length1 = 0;
	g_variant_iter_init (&_tmp55_, _inner_reply);
	for (; (_tmp56_ = g_variant_iter_next_value (&_tmp55_)) != NULL; _tmp54__length1++) {
		if (_tmp54__size == _tmp54__length) {
			_tmp54__size = 2 * _tmp54__size;
			_tmp54_ = g_renew (gchar*, _tmp54_, _tmp54__size + 1);
		}
		_tmp54_[_tmp54__length++] = g_variant_dup_string (_tmp56_, NULL);
		g_variant_unref (_tmp56_);
	}
	_result_length1 = _tmp54__length1;
	_tmp54_[_tmp54__length] = NULL;
	_result = _tmp54_;
	*result_length1 = _result_length1;
	g_variant_unref (_inner_reply);
	return _result;
}

static void
freedesktop_dbus_proxy_freedesktop_dbus_interface_init (FreedesktopDBusIface* iface)
{
	iface->hello = freedesktop_dbus_proxy_hello;
	iface->request_name = freedesktop_dbus_proxy_request_name;
	iface->release_name = freedesktop_dbus_proxy_release_name;
	iface->start_service_by_name = freedesktop_dbus_proxy_start_service_by_name;
	iface->update_activation_environment = freedesktop_dbus_proxy_update_activation_environment;
	iface->name_has_owner = freedesktop_dbus_proxy_name_has_owner;
	iface->list_names = freedesktop_dbus_proxy_list_names;
	iface->list_activatable_names = freedesktop_dbus_proxy_list_activatable_names;
	iface->add_match = freedesktop_dbus_proxy_add_match;
	iface->remove_match = freedesktop_dbus_proxy_remove_match;
	iface->get_name_owner = freedesktop_dbus_proxy_get_name_owner;
	iface->list_queued_owners = freedesktop_dbus_proxy_list_queued_owners;
	iface->get_connection_unix_user = freedesktop_dbus_proxy_get_connection_unix_user;
	iface->get_connection_unix_process_i_d = freedesktop_dbus_proxy_get_connection_unix_process_i_d;
	iface->get_adt_audit_session_data = freedesktop_dbus_proxy_get_adt_audit_session_data;
	iface->get_connection_s_e_linux_security_context = freedesktop_dbus_proxy_get_connection_s_e_linux_security_context;
	iface->reload_config = freedesktop_dbus_proxy_reload_config;
	iface->get_id = freedesktop_dbus_proxy_get_id;
	iface->get_connection_credentials = freedesktop_dbus_proxy_get_connection_credentials;
	iface->get_features = freedesktop_dbus_dbus_proxy_get_features;
	iface->get_interfaces = freedesktop_dbus_dbus_proxy_get_interfaces;
}

static void
_dbus_freedesktop_dbus_hello (FreedesktopDBus* self,
                              GVariant* _parameters_,
                              GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = freedesktop_dbus_hello (self, &error);
	if (error) {
		g_dbus_method_invocation_take_error (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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_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_freedesktop_dbus_request_name (FreedesktopDBus* self,
                                     GVariant* _parameters_,
                                     GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp57_;
	guint param1 = 0U;
	GVariant* _tmp58_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp57_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp57_, NULL);
	g_variant_unref (_tmp57_);
	_tmp58_ = g_variant_iter_next_value (&_arguments_iter);
	param1 = g_variant_get_uint32 (_tmp58_);
	g_variant_unref (_tmp58_);
	result = freedesktop_dbus_request_name (self, param0, param1, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint32 (result));
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_release_name (FreedesktopDBus* self,
                                     GVariant* _parameters_,
                                     GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp59_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp59_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp59_, NULL);
	g_variant_unref (_tmp59_);
	result = freedesktop_dbus_release_name (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint32 (result));
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_start_service_by_name (FreedesktopDBus* self,
                                              GVariant* _parameters_,
                                              GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp60_;
	guint param1 = 0U;
	GVariant* _tmp61_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp60_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp60_, NULL);
	g_variant_unref (_tmp60_);
	_tmp61_ = g_variant_iter_next_value (&_arguments_iter);
	param1 = g_variant_get_uint32 (_tmp61_);
	g_variant_unref (_tmp61_);
	result = freedesktop_dbus_start_service_by_name (self, param0, param1, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint32 (result));
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_update_activation_environment (FreedesktopDBus* self,
                                                      GVariant* _parameters_,
                                                      GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GHashTable* param0 = NULL;
	GVariant* _tmp62_;
	GHashTable* _tmp63_;
	GVariantIter _tmp64_;
	GVariant* _tmp65_;
	GVariant* _tmp66_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp62_ = g_variant_iter_next_value (&_arguments_iter);
	_tmp63_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
	g_variant_iter_init (&_tmp64_, _tmp62_);
	while (g_variant_iter_loop (&_tmp64_, "{?*}", &_tmp65_, &_tmp66_)) {
		g_hash_table_insert (_tmp63_, g_variant_dup_string (_tmp65_, NULL), g_variant_dup_string (_tmp66_, NULL));
	}
	param0 = _tmp63_;
	g_variant_unref (_tmp62_);
	freedesktop_dbus_update_activation_environment (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	_error:
	_g_hash_table_unref0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_name_has_owner (FreedesktopDBus* self,
                                       GVariant* _parameters_,
                                       GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp67_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gboolean result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp67_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp67_, NULL);
	g_variant_unref (_tmp67_);
	result = freedesktop_dbus_name_has_owner (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_boolean (result));
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_list_names (FreedesktopDBus* self,
                                   GVariant* _parameters_,
                                   GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	gint result_length1 = 0;
	gchar** _tmp68_;
	GVariantBuilder _tmp69_;
	gint _tmp70_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = freedesktop_dbus_list_names (self, &result_length1, &error);
	if (error) {
		g_dbus_method_invocation_take_error (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);
	_tmp68_ = result;
	g_variant_builder_init (&_tmp69_, G_VARIANT_TYPE ("as"));
	for (_tmp70_ = 0; _tmp70_ < result_length1; _tmp70_++) {
		g_variant_builder_add_value (&_tmp69_, g_variant_new_string (*_tmp68_));
		_tmp68_++;
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp69_));
	result = (_vala_array_free (result, result_length1, (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_freedesktop_dbus_list_activatable_names (FreedesktopDBus* self,
                                               GVariant* _parameters_,
                                               GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	gint result_length1 = 0;
	gchar** _tmp71_;
	GVariantBuilder _tmp72_;
	gint _tmp73_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = freedesktop_dbus_list_activatable_names (self, &result_length1, &error);
	if (error) {
		g_dbus_method_invocation_take_error (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);
	_tmp71_ = result;
	g_variant_builder_init (&_tmp72_, G_VARIANT_TYPE ("as"));
	for (_tmp73_ = 0; _tmp73_ < result_length1; _tmp73_++) {
		g_variant_builder_add_value (&_tmp72_, g_variant_new_string (*_tmp71_));
		_tmp71_++;
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp72_));
	result = (_vala_array_free (result, result_length1, (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_freedesktop_dbus_add_match (FreedesktopDBus* self,
                                  GVariant* _parameters_,
                                  GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp74_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp74_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp74_, NULL);
	g_variant_unref (_tmp74_);
	freedesktop_dbus_add_match (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_remove_match (FreedesktopDBus* self,
                                     GVariant* _parameters_,
                                     GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp75_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp75_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp75_, NULL);
	g_variant_unref (_tmp75_);
	freedesktop_dbus_remove_match (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_get_name_owner (FreedesktopDBus* self,
                                       GVariant* _parameters_,
                                       GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp76_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp76_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp76_, NULL);
	g_variant_unref (_tmp76_);
	result = freedesktop_dbus_get_name_owner (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_list_queued_owners (FreedesktopDBus* self,
                                           GVariant* _parameters_,
                                           GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp77_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	gint result_length1 = 0;
	gchar** _tmp78_;
	GVariantBuilder _tmp79_;
	gint _tmp80_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp77_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp77_, NULL);
	g_variant_unref (_tmp77_);
	result = freedesktop_dbus_list_queued_owners (self, param0, &result_length1, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	_tmp78_ = result;
	g_variant_builder_init (&_tmp79_, G_VARIANT_TYPE ("as"));
	for (_tmp80_ = 0; _tmp80_ < result_length1; _tmp80_++) {
		g_variant_builder_add_value (&_tmp79_, g_variant_new_string (*_tmp78_));
		_tmp78_++;
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp79_));
	result = (_vala_array_free (result, result_length1, (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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_get_connection_unix_user (FreedesktopDBus* self,
                                                 GVariant* _parameters_,
                                                 GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp81_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp81_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp81_, NULL);
	g_variant_unref (_tmp81_);
	result = freedesktop_dbus_get_connection_unix_user (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint32 (result));
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_get_connection_unix_process_i_d (FreedesktopDBus* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp82_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp82_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp82_, NULL);
	g_variant_unref (_tmp82_);
	result = freedesktop_dbus_get_connection_unix_process_i_d (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint32 (result));
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_get_adt_audit_session_data (FreedesktopDBus* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp83_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint8* result;
	gint result_length1 = 0;
	guint8* _tmp84_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp83_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp83_, NULL);
	g_variant_unref (_tmp83_);
	result = freedesktop_dbus_get_adt_audit_session_data (self, param0, &result_length1, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	_tmp84_ = _vala_memdup2 (result, result_length1);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_from_data (G_VARIANT_TYPE ("ay"), _tmp84_, result_length1, TRUE, g_free, _tmp84_));
	result = (g_free (result), 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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_get_connection_s_e_linux_security_context (FreedesktopDBus* self,
                                                                  GVariant* _parameters_,
                                                                  GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp85_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint8* result;
	gint result_length1 = 0;
	guint8* _tmp86_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp85_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp85_, NULL);
	g_variant_unref (_tmp85_);
	result = freedesktop_dbus_get_connection_s_e_linux_security_context (self, param0, &result_length1, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	_tmp86_ = _vala_memdup2 (result, result_length1);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_from_data (G_VARIANT_TYPE ("ay"), _tmp86_, result_length1, TRUE, g_free, _tmp86_));
	result = (g_free (result), 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);
	_error:
	_g_free0 (param0);
	;
}

static void
_dbus_freedesktop_dbus_reload_config (FreedesktopDBus* self,
                                      GVariant* _parameters_,
                                      GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	freedesktop_dbus_reload_config (self, &error);
	if (error) {
		g_dbus_method_invocation_take_error (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_freedesktop_dbus_get_id (FreedesktopDBus* self,
                               GVariant* _parameters_,
                               GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = freedesktop_dbus_get_id (self, &error);
	if (error) {
		g_dbus_method_invocation_take_error (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);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_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_freedesktop_dbus_get_connection_credentials (FreedesktopDBus* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* param0 = NULL;
	GVariant* _tmp87_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	GHashTable* result;
	GVariantBuilder _tmp88_;
	GHashTableIter _tmp89_;
	gpointer _tmp90_;
	gpointer _tmp91_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp87_ = g_variant_iter_next_value (&_arguments_iter);
	param0 = g_variant_dup_string (_tmp87_, NULL);
	g_variant_unref (_tmp87_);
	result = freedesktop_dbus_get_connection_credentials (self, param0, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_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);
	g_hash_table_iter_init (&_tmp89_, result);
	g_variant_builder_init (&_tmp88_, G_VARIANT_TYPE ("a{sv}"));
	while (g_hash_table_iter_next (&_tmp89_, &_tmp90_, &_tmp91_)) {
		gchar* _key;
		GVariant* _value;
		_key = (gchar*) _tmp90_;
		_value = (GVariant*) _tmp91_;
		g_variant_builder_add (&_tmp88_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp88_));
	_g_hash_table_unref0 (result);
	_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);
	_error:
	_g_free0 (param0);
	;
}

static void
freedesktop_dbus_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, "Hello") == 0) {
		_dbus_freedesktop_dbus_hello (object, parameters, invocation);
	} else if (strcmp (method_name, "RequestName") == 0) {
		_dbus_freedesktop_dbus_request_name (object, parameters, invocation);
	} else if (strcmp (method_name, "ReleaseName") == 0) {
		_dbus_freedesktop_dbus_release_name (object, parameters, invocation);
	} else if (strcmp (method_name, "StartServiceByName") == 0) {
		_dbus_freedesktop_dbus_start_service_by_name (object, parameters, invocation);
	} else if (strcmp (method_name, "UpdateActivationEnvironment") == 0) {
		_dbus_freedesktop_dbus_update_activation_environment (object, parameters, invocation);
	} else if (strcmp (method_name, "NameHasOwner") == 0) {
		_dbus_freedesktop_dbus_name_has_owner (object, parameters, invocation);
	} else if (strcmp (method_name, "ListNames") == 0) {
		_dbus_freedesktop_dbus_list_names (object, parameters, invocation);
	} else if (strcmp (method_name, "ListActivatableNames") == 0) {
		_dbus_freedesktop_dbus_list_activatable_names (object, parameters, invocation);
	} else if (strcmp (method_name, "AddMatch") == 0) {
		_dbus_freedesktop_dbus_add_match (object, parameters, invocation);
	} else if (strcmp (method_name, "RemoveMatch") == 0) {
		_dbus_freedesktop_dbus_remove_match (object, parameters, invocation);
	} else if (strcmp (method_name, "GetNameOwner") == 0) {
		_dbus_freedesktop_dbus_get_name_owner (object, parameters, invocation);
	} else if (strcmp (method_name, "ListQueuedOwners") == 0) {
		_dbus_freedesktop_dbus_list_queued_owners (object, parameters, invocation);
	} else if (strcmp (method_name, "GetConnectionUnixUser") == 0) {
		_dbus_freedesktop_dbus_get_connection_unix_user (object, parameters, invocation);
	} else if (strcmp (method_name, "GetConnectionUnixProcessID") == 0) {
		_dbus_freedesktop_dbus_get_connection_unix_process_i_d (object, parameters, invocation);
	} else if (strcmp (method_name, "GetAdtAuditSessionData") == 0) {
		_dbus_freedesktop_dbus_get_adt_audit_session_data (object, parameters, invocation);
	} else if (strcmp (method_name, "GetConnectionSELinuxSecurityContext") == 0) {
		_dbus_freedesktop_dbus_get_connection_s_e_linux_security_context (object, parameters, invocation);
	} else if (strcmp (method_name, "ReloadConfig") == 0) {
		_dbus_freedesktop_dbus_reload_config (object, parameters, invocation);
	} else if (strcmp (method_name, "GetId") == 0) {
		_dbus_freedesktop_dbus_get_id (object, parameters, invocation);
	} else if (strcmp (method_name, "GetConnectionCredentials") == 0) {
		_dbus_freedesktop_dbus_get_connection_credentials (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}

static GVariant*
_dbus_freedesktop_dbus_get_features (FreedesktopDBus* self)
{
	gchar** result;
	gint result_length1 = 0;
	GVariant* _reply;
	gchar** _tmp92_;
	GVariantBuilder _tmp93_;
	gint _tmp94_;
	result = freedesktop_dbus_get_features (self, &result_length1);
	_tmp92_ = result;
	g_variant_builder_init (&_tmp93_, G_VARIANT_TYPE ("as"));
	for (_tmp94_ = 0; _tmp94_ < result_length1; _tmp94_++) {
		g_variant_builder_add_value (&_tmp93_, g_variant_new_string (*_tmp92_));
		_tmp92_++;
	}
	_reply = g_variant_builder_end (&_tmp93_);
	result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
	return _reply;
}

static GVariant*
_dbus_freedesktop_dbus_get_interfaces (FreedesktopDBus* self)
{
	gchar** result;
	gint result_length1 = 0;
	GVariant* _reply;
	gchar** _tmp95_;
	GVariantBuilder _tmp96_;
	gint _tmp97_;
	result = freedesktop_dbus_get_interfaces (self, &result_length1);
	_tmp95_ = result;
	g_variant_builder_init (&_tmp96_, G_VARIANT_TYPE ("as"));
	for (_tmp97_ = 0; _tmp97_ < result_length1; _tmp97_++) {
		g_variant_builder_add_value (&_tmp96_, g_variant_new_string (*_tmp95_));
		_tmp95_++;
	}
	_reply = g_variant_builder_end (&_tmp96_);
	result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
	return _reply;
}

static GVariant*
freedesktop_dbus_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];
	if (strcmp (property_name, "Features") == 0) {
		return _dbus_freedesktop_dbus_get_features (object);
	} else if (strcmp (property_name, "Interfaces") == 0) {
		return _dbus_freedesktop_dbus_get_interfaces (object);
	}
	return NULL;
}

static gboolean
freedesktop_dbus_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;
}

static void
_dbus_freedesktop_dbus_name_owner_changed (GObject* _sender,
                                           const gchar* param0,
                                           const gchar* param1,
                                           const gchar* param2,
                                           gpointer* _data)
{
	GDBusConnection * _connection;
	const gchar * _path;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	_connection = _data[1];
	_path = _data[2];
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param2));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_connection_emit_signal (_connection, NULL, _path, "org.freedesktop.DBus", "NameOwnerChanged", _arguments, NULL);
}

static void
_dbus_freedesktop_dbus_name_lost (GObject* _sender,
                                  const gchar* param0,
                                  gpointer* _data)
{
	GDBusConnection * _connection;
	const gchar * _path;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	_connection = _data[1];
	_path = _data[2];
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_connection_emit_signal (_connection, NULL, _path, "org.freedesktop.DBus", "NameLost", _arguments, NULL);
}

static void
_dbus_freedesktop_dbus_name_acquired (GObject* _sender,
                                      const gchar* param0,
                                      gpointer* _data)
{
	GDBusConnection * _connection;
	const gchar * _path;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	_connection = _data[1];
	_path = _data[2];
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (param0));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_connection_emit_signal (_connection, NULL, _path, "org.freedesktop.DBus", "NameAcquired", _arguments, NULL);
}

guint
freedesktop_dbus_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 *) (&_freedesktop_dbus_dbus_interface_info), &_freedesktop_dbus_dbus_interface_vtable, data, _freedesktop_dbus_unregister_object, error);
	if (!result) {
		return 0;
	}
	g_signal_connect (object, "name-owner-changed", (GCallback) _dbus_freedesktop_dbus_name_owner_changed, data);
	g_signal_connect (object, "name-lost", (GCallback) _dbus_freedesktop_dbus_name_lost, data);
	g_signal_connect (object, "name-acquired", (GCallback) _dbus_freedesktop_dbus_name_acquired, data);
	return result;
}

static void
_freedesktop_dbus_unregister_object (gpointer user_data)
{
	gpointer* data;
	data = user_data;
	g_signal_handlers_disconnect_by_func (data[0], _dbus_freedesktop_dbus_name_owner_changed, data);
	g_signal_handlers_disconnect_by_func (data[0], _dbus_freedesktop_dbus_name_lost, data);
	g_signal_handlers_disconnect_by_func (data[0], _dbus_freedesktop_dbus_name_acquired, 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,
                     gssize array_length,
                     GDestroyNotify destroy_func)
{
	if ((array != NULL) && (destroy_func != NULL)) {
		gssize 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,
                  gssize array_length,
                  GDestroyNotify destroy_func)
{
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}

static inline gpointer
_vala_memdup2 (gconstpointer mem,
               gsize byte_size)
{
	gpointer new_mem;
	if (mem && byte_size != 0) {
		new_mem = g_malloc (byte_size);
		memcpy (new_mem, mem, byte_size);
	} else {
		new_mem = NULL;
	}
	return new_mem;
}

