aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-list.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-15 21:27:36 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:34 +0100
commit3d1d4c42e5a2774251a88f8a01bfe5a964f0824f (patch)
tree9377d07b1afd59144fb633832c62c33c3a80a82e /src/mm-bearer-list.h
parent00b2e2d2dd72e920fae5b1d6f12a4158a775d604 (diff)
bearer-list: allow iterating over the bearers in the list
Diffstat (limited to 'src/mm-bearer-list.h')
-rw-r--r--src/mm-bearer-list.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-bearer-list.h b/src/mm-bearer-list.h
index 52885d09..1d9c7161 100644
--- a/src/mm-bearer-list.h
+++ b/src/mm-bearer-list.h
@@ -65,4 +65,10 @@ gboolean mm_bearer_list_delete_bearer (MMBearerList *self,
const gchar *path,
GError **error);
+typedef void (*MMBearerListForeachFunc) (MMBearer *bearer,
+ gpointer user_data);
+void mm_bearer_list_foreach (MMBearerList *self,
+ MMBearerListForeachFunc func,
+ gpointer user_data);
+
#endif /* MM_BEARER_LIST_H */