From: Guillaume Zajac Date: Tue, 28 Jun 2011 13:19:11 +0000 (+0200) Subject: doc: Update private network method prototypes X-Git-Tag: 2.0_alpha~1356 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8106a94a3369a98e9eafba941beb84773156f7c;p=framework%2Fconnectivity%2Fconnman.git doc: Update private network method prototypes --- diff --git a/doc/manager-api.txt b/doc/manager-api.txt index cf26978..961c39b 100644 --- a/doc/manager-api.txt +++ b/doc/manager-api.txt @@ -195,21 +195,20 @@ Methods dict GetProperties() If an application exits unexpectatly the session will be automatically destroyed. - fd, dict {settings} RequestPrivateNetwork(dict options) + object path, dict, fd RequestPrivateNetwork(dict options) [experimental] - Request a new Private Network, whick includes the + Request a new Private Network, which includes the creation of a tun/tap interface, and IP configuration, NAT and IP forwarding on that interface. - A file descritor to the interface is returned together - with the IP, gateway and DNS settings for the - interface. + An object path, a dictionnary and a file descriptor + with IP settings are returned. Possible Errors: [service].Error.InvalidArguments [service].Error.NotSupported - void ReleasePrivateNetwork(fd) [experimental] + void ReleasePrivateNetwork(object path) [experimental] Releases a private network.