diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-03-31 10:02:34 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-31 12:40:35 +0200 |
commit | 4dd2ab274860714b88a2c8c84dee7f024760067e (patch) | |
tree | 8699cc7c8a5b3debc8a29224008c50a32b8cb499 /src/notifier.c | |
parent | a4682c5e09c0aebbc0ffd0689523228f9570ca95 (diff) | |
download | connman-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.c | 13 |
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) { |