Hi, here is first proposal for dbus API between ConnMan and vpnrunner.
Any comments? vpnrunner ========= Service net.vpnrunner Interface net.vpnrunner.Manager Object path /net/vpnrunner/manager Methods object path, fd, index Start(dict provider) This method starts the VPN runner and activates the desired VPN service. It returns the object path of the started VPN service and a file descriptor of tun device. If the VPN does not use tunneling device, then fd is set to -1. Index is the index of the network interface of the VPN link. The index can be used to know which routes belong to this specific VPN connection. void Stop(object path) This method stops the VPN runner and deactivates the started VPN service. The used VPN daemon is stopped and killed after this call. Signals Stopped(object path, int exit_status) Signal is sent when VPN client is stopped. Cheers, Jukka _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman