From abb0215152df00c6556cf6ba0b99686f895d2d9c Mon Sep 17 00:00:00 2001 From: "Gustavo F. Padovan" Date: Wed, 20 Apr 2011 14:41:18 +0200 Subject: [PATCH] doc: Add PrivateNetwork interface. By now PrivateNetwork interface will cover the DUN server case. --- doc/manager-api.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/manager-api.txt b/doc/manager-api.txt index c247d9f..56fb832 100644 --- a/doc/manager-api.txt +++ b/doc/manager-api.txt @@ -189,6 +189,31 @@ Methods dict GetProperties() If an application exits unexpectatly the session will be automatically destroyed. + fd, dict {settings} RequestPrivateNetwork(dict options) + [experimental] + + Request a new Private Network, whick 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. + + Possible Errors: [service].Error.InvalidArguments + [service].Error.NotSupported + + void ReleasePrivateNetwork(fd) [experimental] + + Releases a private network. + + Possible Errors: [service].Error.InvalidArguments + +Signals PropertyChanged(string name, variant value) + + This signal indicates a changed value of the given + property. + StateChanged(string state) This signal is similar to the PropertyChanged signal -- 2.7.4