23#ifndef __G_DBUS_CONNECTION_H__
24#define __G_DBUS_CONNECTION_H__
26#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
27#error "Only <gio/gio.h> can be included directly."
34#define G_TYPE_DBUS_CONNECTION (g_dbus_connection_get_type ())
35#define G_DBUS_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_CONNECTION, GDBusConnection))
36#define G_IS_DBUS_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_CONNECTION))
188 const gchar *destination_bus_name,
189 const gchar *object_path,
190 const gchar *interface_name,
191 const gchar *signal_name,
196 const gchar *bus_name,
197 const gchar *object_path,
198 const gchar *interface_name,
199 const gchar *method_name,
213 const gchar *bus_name,
214 const gchar *object_path,
215 const gchar *interface_name,
216 const gchar *method_name,
228 const gchar *bus_name,
229 const gchar *object_path,
230 const gchar *interface_name,
231 const gchar *method_name,
247 const gchar *bus_name,
248 const gchar *object_path,
249 const gchar *interface_name,
250 const gchar *method_name,
282 const gchar *object_path,
283 const gchar *interface_name,
284 const gchar *method_name,
309 const gchar *object_path,
310 const gchar *interface_name,
311 const gchar *property_name,
334 const gchar *object_path,
335 const gchar *interface_name,
336 const gchar *property_name,
407 const gchar *object_path,
415 const gchar *object_path,
423 guint registration_id);
452 const gchar *object_path,
488 const gchar *object_path,
513 const gchar *object_path,
514 const gchar *interface_name,
545 const gchar *object_path,
553 guint registration_id);
573 const gchar *sender_name,
574 const gchar *object_path,
575 const gchar *interface_name,
576 const gchar *signal_name,
583 const gchar *interface_name,
585 const gchar *object_path,
593 guint subscription_id);
GIO_AVAILABLE_IN_ALL GType g_dbus_connection_get_type(void) G_GNUC_CONST
GIO_AVAILABLE_IN_ALL GDBusConnection * g_dbus_connection_new_for_address_finish(GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_2_30 void g_dbus_connection_call_with_unix_fd_list(GDBusConnection *connection, const gchar *bus_name, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, const GVariantType *reply_type, GDBusCallFlags flags, gint timeout_msec, GUnixFDList *fd_list, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_flush_sync(GDBusConnection *connection, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_emit_signal(GDBusConnection *connection, const gchar *destination_bus_name, const gchar *object_path, const gchar *interface_name, const gchar *signal_name, GVariant *parameters, GError **error)
GIO_AVAILABLE_IN_ALL guint g_dbus_connection_register_subtree(GDBusConnection *connection, const gchar *object_path, const GDBusSubtreeVTable *vtable, GDBusSubtreeFlags flags, gpointer user_data, GDestroyNotify user_data_free_func, GError **error)
GDBusMessage *(* GDBusMessageFilterFunction)(GDBusConnection *connection, GDBusMessage *message, gboolean incoming, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_flush_finish(GDBusConnection *connection, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL const gchar * g_dbus_connection_get_guid(GDBusConnection *connection)
const GDBusInterfaceVTable *(* GDBusSubtreeDispatchFunc)(GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *node, gpointer *out_user_data, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_send_message_with_reply(GDBusConnection *connection, GDBusMessage *message, GDBusSendMessageFlags flags, gint timeout_msec, volatile guint32 *out_serial, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_bus_get(GBusType bus_type, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GDBusConnection * g_dbus_connection_new_for_address_sync(const gchar *address, GDBusConnectionFlags flags, GDBusAuthObserver *observer, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GVariant * g_dbus_connection_call_finish(GDBusConnection *connection, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_2_30 GVariant * g_dbus_connection_call_with_unix_fd_list_finish(GDBusConnection *connection, GUnixFDList **out_fd_list, GAsyncResult *res, GError **error)
gboolean(* GDBusInterfaceSetPropertyFunc)(GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
GIO_AVAILABLE_IN_ALL GDBusConnection * g_dbus_connection_new_sync(GIOStream *stream, const gchar *guid, GDBusConnectionFlags flags, GDBusAuthObserver *observer, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL const gchar * g_dbus_connection_get_unique_name(GDBusConnection *connection)
GIO_AVAILABLE_IN_2_30 GVariant * g_dbus_connection_call_with_unix_fd_list_sync(GDBusConnection *connection, const gchar *bus_name, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, const GVariantType *reply_type, GDBusCallFlags flags, gint timeout_msec, GUnixFDList *fd_list, GUnixFDList **out_fd_list, GCancellable *cancellable, GError **error)
GVariant *(* GDBusInterfaceGetPropertyFunc)(GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
GIO_AVAILABLE_IN_ALL GDBusMessage * g_dbus_connection_send_message_with_reply_finish(GDBusConnection *connection, GAsyncResult *res, GError **error)
GDBusInterfaceInfo **(* GDBusSubtreeIntrospectFunc)(GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *node, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_unregister_object(GDBusConnection *connection, guint registration_id)
GIO_AVAILABLE_IN_ALL GVariant * g_dbus_connection_call_sync(GDBusConnection *connection, const gchar *bus_name, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, const GVariantType *reply_type, GDBusCallFlags flags, gint timeout_msec, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_start_message_processing(GDBusConnection *connection)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_close(GDBusConnection *connection, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_send_message(GDBusConnection *connection, GDBusMessage *message, GDBusSendMessageFlags flags, volatile guint32 *out_serial, GError **error)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_call(GDBusConnection *connection, const gchar *bus_name, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, const GVariantType *reply_type, GDBusCallFlags flags, gint timeout_msec, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_close_sync(GDBusConnection *connection, GCancellable *cancellable, GError **error)
gchar **(* GDBusSubtreeEnumerateFunc)(GDBusConnection *connection, const gchar *sender, const gchar *object_path, gpointer user_data)
GIO_AVAILABLE_IN_ALL GDBusConnection * g_dbus_connection_new_finish(GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL GIOStream * g_dbus_connection_get_stream(GDBusConnection *connection)
GIO_AVAILABLE_IN_ALL guint g_dbus_connection_add_filter(GDBusConnection *connection, GDBusMessageFilterFunction filter_function, gpointer user_data, GDestroyNotify user_data_free_func)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_set_exit_on_close(GDBusConnection *connection, gboolean exit_on_close)
GIO_AVAILABLE_IN_2_46 guint g_dbus_connection_register_object_with_closures(GDBusConnection *connection, const gchar *object_path, GDBusInterfaceInfo *interface_info, GClosure *method_call_closure, GClosure *get_property_closure, GClosure *set_property_closure, GError **error)
GIO_AVAILABLE_IN_2_60 GDBusConnectionFlags g_dbus_connection_get_flags(GDBusConnection *connection)
GIO_AVAILABLE_IN_ALL GDBusCapabilityFlags g_dbus_connection_get_capabilities(GDBusConnection *connection)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_flush(GDBusConnection *connection, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_34 guint32 g_dbus_connection_get_last_serial(GDBusConnection *connection)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_new(GIOStream *stream, const gchar *guid, GDBusConnectionFlags flags, GDBusAuthObserver *observer, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GDBusMessage * g_dbus_connection_send_message_with_reply_sync(GDBusConnection *connection, GDBusMessage *message, GDBusSendMessageFlags flags, gint timeout_msec, volatile guint32 *out_serial, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_close_finish(GDBusConnection *connection, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_is_closed(GDBusConnection *connection)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_get_exit_on_close(GDBusConnection *connection)
GIO_AVAILABLE_IN_ALL guint g_dbus_connection_register_object(GDBusConnection *connection, const gchar *object_path, GDBusInterfaceInfo *interface_info, const GDBusInterfaceVTable *vtable, gpointer user_data, GDestroyNotify user_data_free_func, GError **error)
void(* GDBusInterfaceMethodCallFunc)(GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_remove_filter(GDBusConnection *connection, guint filter_id)
GIO_AVAILABLE_IN_ALL guint g_dbus_connection_signal_subscribe(GDBusConnection *connection, const gchar *sender, const gchar *interface_name, const gchar *member, const gchar *object_path, const gchar *arg0, GDBusSignalFlags flags, GDBusSignalCallback callback, gpointer user_data, GDestroyNotify user_data_free_func)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_new_for_address(const gchar *address, GDBusConnectionFlags flags, GDBusAuthObserver *observer, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_dbus_connection_signal_unsubscribe(GDBusConnection *connection, guint subscription_id)
GIO_AVAILABLE_IN_ALL GDBusConnection * g_bus_get_sync(GBusType bus_type, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GDBusConnection * g_bus_get_finish(GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL GCredentials * g_dbus_connection_get_peer_credentials(GDBusConnection *connection)
void(* GDBusSignalCallback)(GDBusConnection *connection, const gchar *sender_name, const gchar *object_path, const gchar *interface_name, const gchar *signal_name, GVariant *parameters, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_dbus_connection_unregister_subtree(GDBusConnection *connection, guint registration_id)
#define GIO_AVAILABLE_IN_ALL
#define GIO_AVAILABLE_IN_2_30
#define GIO_AVAILABLE_IN_2_60
#define GIO_AVAILABLE_IN_2_46
#define GIO_AVAILABLE_IN_2_34
struct _GDBusMessage GDBusMessage
struct _GCredentials GCredentials
struct _GDBusMethodInvocation GDBusMethodInvocation
struct _GDBusAuthObserver GDBusAuthObserver
struct _GDBusConnection GDBusConnection
struct _GAsyncResult GAsyncResult
void(* GAsyncReadyCallback)(GObject *source_object, GAsyncResult *res, gpointer data)
G_BEGIN_DECLS typedef char gchar
void(* GDestroyNotify)(gpointer data)
typedefG_BEGIN_DECLS struct _GVariant GVariant
typedefG_BEGIN_DECLS struct _GVariantType GVariantType
static void error(LoadState *S, const char *why)
GDBusInterfaceMethodCallFunc method_call
GDBusInterfaceGetPropertyFunc get_property
GDBusInterfaceSetPropertyFunc set_property
GDBusSubtreeIntrospectFunc introspect
GDBusSubtreeDispatchFunc dispatch
GDBusSubtreeEnumerateFunc enumerate