summaryrefslogtreecommitdiffstats
path: root/lib/Utils/abrt_dbus.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-09-17 19:24:53 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-09-17 19:24:53 +0200
commit751e7db6e39140cb7f0187dea32af949ce56fdb8 (patch)
treed817e917ce94a9f863eaffe85d5be37630389074 /lib/Utils/abrt_dbus.h
parentb3cd99a13a2370f655cf8b8ff4944e3717456784 (diff)
parent3a4dc69c0e6e786aea00a38df01952ca5780bf82 (diff)
downloadabrt-751e7db6e39140cb7f0187dea32af949ce56fdb8.tar.gz
abrt-751e7db6e39140cb7f0187dea32af949ce56fdb8.tar.xz
abrt-751e7db6e39140cb7f0187dea32af949ce56fdb8.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Utils/abrt_dbus.h')
-rw-r--r--lib/Utils/abrt_dbus.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Utils/abrt_dbus.h b/lib/Utils/abrt_dbus.h
index e2bf9fbf..731f1c10 100644
--- a/lib/Utils/abrt_dbus.h
+++ b/lib/Utils/abrt_dbus.h
@@ -6,6 +6,16 @@
extern DBusConnection* g_dbus_conn;
/*
+ * Glib integration machinery
+ */
+void attach_dbus_conn_to_glib_main_loop(DBusConnection* conn,
+ const char* object_path_to_register = NULL, /* NULL if you are just a client */
+ /* makes sense only if you use object_path_to_register: */
+ DBusHandlerResult (*message_received_func)(DBusConnection *conn, DBusMessage *msg, void* data) = NULL
+);
+
+
+/*
* Helpers for building DBus messages
*/