From 83a6632160cc24de958206623264772e532b254a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 13 May 2010 14:24:32 +0200 Subject: Add initial support for LookupService helper method --- doc/manager-api.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/manager-api.txt') diff --git a/doc/manager-api.txt b/doc/manager-api.txt index 8eaededd..1aeb0557 100644 --- a/doc/manager-api.txt +++ b/doc/manager-api.txt @@ -69,6 +69,20 @@ Methods dict GetProperties() Possible Errors: [service].Error.InvalidArguments + object LookupService(string pattern) + + Lookup a service matching the specific pattern. + + Examples are interface names like "eth0", "wlan0" + etc. or service names like "hotspot" etc. + + In case of multiple services match the the pattern + an error is returned. + + Possible Errors: [service].Error.InvalidArguments + [service].Error.NotUnique + [service].Error.NotFound + object ConnectService(dict network) Connect to a network specified by the given -- cgit v1.2.3