provider: Add callback when creating vpn provider
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 12 Nov 2012 12:07:43 +0000 (14:07 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 23 Nov 2012 10:58:52 +0000 (12:58 +0200)
commit9c1129aa6a665f7663fcbf73b20994c8592e46d5
tree78a7d3dfb3f067841155be11bce6c6f65dbbe50a
parentae693881d0d2bac1d9edea534918b6cc238b06ce
provider: Add callback when creating vpn provider

Because the vpnd Create() in manager API only creates and does
not connect the vpn, we must do the connect part after the
vpn is created. This requires a callback which is called when
the connection is established. Eventually this patch becomes
obsolete because the CreateProvider() connman API is deprecated.
include/provider.h
plugins/vpn.c
src/provider.c