summaryrefslogtreecommitdiffstats
path: root/bus/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/connection.c')
-rw-r--r--bus/connection.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bus/connection.c b/bus/connection.c
index 4a805731..0fcfdbe2 100644
--- a/bus/connection.c
+++ b/bus/connection.c
@@ -224,3 +224,10 @@ bus_connection_get_name (DBusConnection *connection)
return d->name;
}
+
+void
+bus_connection_foreach (BusConnectionForeachFunction function,
+ void *data)
+{
+ _dbus_list_foreach (&connections, function, data);
+}