diff options
author | Guillaume Zajac <guillaume.zajac@linux.intel.com> | 2011-06-28 15:19:11 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-06-30 11:59:28 +0200 |
commit | c8106a94a3369a98e9eafba941beb84773156f7c (patch) | |
tree | 71b4a623b695eeba5ce31489b4310a4dacc344c6 /doc | |
parent | abc2268a89be6cd81c8bb50a7c82957f34f3906e (diff) | |
download | connman-c8106a94a3369a98e9eafba941beb84773156f7c.tar.gz connman-c8106a94a3369a98e9eafba941beb84773156f7c.tar.bz2 connman-c8106a94a3369a98e9eafba941beb84773156f7c.zip |
doc: Update private network method prototypes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manager-api.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/manager-api.txt b/doc/manager-api.txt index cf269789..961c39bb 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. |