summaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-03-31 10:02:34 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-31 12:40:35 +0200
commit4dd2ab274860714b88a2c8c84dee7f024760067e (patch)
tree8699cc7c8a5b3debc8a29224008c50a32b8cb499 /src/notifier.c
parenta4682c5e09c0aebbc0ffd0689523228f9570ca95 (diff)
downloadconnman-4dd2ab274860714b88a2c8c84dee7f024760067e.tar.gz
connman-4dd2ab274860714b88a2c8c84dee7f024760067e.tar.bz2
connman-4dd2ab274860714b88a2c8c84dee7f024760067e.zip
notify: Add ipconfig notifiers
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c
index f02f2dac..846546bc 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -437,6 +437,19 @@ void __connman_notifier_service_state_changed(struct connman_service *service,
}
}
+void __connman_notifier_ipconfig_changed(struct connman_service *service,
+ struct connman_ipconfig *ipconfig)
+{
+ GSList *list;
+
+ for (list = notifier_list; list; list = list->next) {
+ struct connman_notifier *notifier = list->data;
+
+ if (notifier->ipconfig_changed)
+ notifier->ipconfig_changed(service, ipconfig);
+ }
+}
+
static connman_bool_t technology_supported(enum connman_service_type type)
{
switch (type) {