Merge branch '976-disable-assert-checks' into 'master'
[glib.git] / gio / gdbusdaemon.h
bloba39b9632407a8ee8e477d2724c058d04dc589d0a
1 #include <gio/gio.h>
3 #define G_TYPE_DBUS_DAEMON (_g_dbus_daemon_get_type ())
4 #define G_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_DAEMON, GDBusDaemon))
5 #define G_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_DBUS_DAEMON, GDBusDaemonClass))
6 #define G_DBUS_DAEMON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DBUS_DAEMON, GDBusDaemonClass))
7 #define G_IS_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_DAEMON))
8 #define G_IS_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DBUS_DAEMON))
10 typedef struct _GDBusDaemon GDBusDaemon;
11 typedef struct _GDBusDaemonClass GDBusDaemonClass;
13 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusDaemon, g_object_unref)
15 GType _g_dbus_daemon_get_type (void) G_GNUC_CONST;
17 GDBusDaemon *_g_dbus_daemon_new (const char *address,
18 GCancellable *cancellable,
19 GError **error);
21 const char *_g_dbus_daemon_get_address (GDBusDaemon *daemon);