connection: Notify network config changed from libnet-client's event 44/163644/3 accepted/tizen/unified/20171219.072628 submit/tizen/20171218.085650
authorSaurav Babu <saurav.babu@samsung.com>
Tue, 12 Dec 2017 14:23:16 +0000 (19:53 +0530)
committertaesub kim <taesub.kim@samsung.com>
Mon, 18 Dec 2017 07:04:26 +0000 (16:04 +0900)
commit9241922dfe4b9ef55aaf09607560f349b7886d0b
tree59ab467b9ef8c04e73a3d448cca47a2f3ed8c58d
parent3a2a6b0d819382e77775c3a3dda052be78910a77
connection: Notify network config changed from libnet-client's event

This patch removes logic to notify network configuration changed event
by using vconf_notify_key_changed() functions. VCONF logic only works in
main thread of application, so this patch adds logic to get network
configurations changed event from libnet-client so that callbacks can be
called in respective threads.

Change-Id: I8b2faaae0d6eb14655b6675a4d25c2ae71d7ee55
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
include/net_connection_private.h
src/connection.c
src/libnetwork.c