From 52f2d485bd6ab6b7b2826370fca7bc54b9d81e1f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 30 Apr 2012 01:13:52 +0200 Subject: doc: Fix tabs vs spaces for agent documentation --- doc/agent-api.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'doc') diff --git a/doc/agent-api.txt b/doc/agent-api.txt index c362339e..c0196c30 100644 --- a/doc/agent-api.txt +++ b/doc/agent-api.txt @@ -127,7 +127,7 @@ Arguments string Type Examples Requesting a passphrase for WPA2 network RequestInput("/service1", - { "Passphrase" : { "Type" : "psk", + { "Passphrase" : { "Type" : "psk", "Requirement" : "mandatory" } } @@ -140,9 +140,9 @@ Examples Requesting a passphrase for WPA2 network "Requirement" : "mandatory", "Alternates" : [ "SSID" ] }, - "SSID" : { "Type" : "ssid", - "Requirement" : "alternate" - } + "SSID" : { "Type" : "ssid", + "Requirement" : "alternate" + } } ==> { "Name" : "My hidden network" } @@ -154,7 +154,7 @@ Examples Requesting a passphrase for WPA2 network "Alternates" : [ "WPS" ] }, "WPS" : { "Type" : "wpspin", - "Requirement" : "alternate" + "Requirement" : "alternate" } } @@ -166,7 +166,7 @@ Examples Requesting a passphrase for WPA2 network { "Identity" : { "Type" : "string", "Requirement" : "mandatory" }, - "Passphrase" : { "Type" : "passphrase", + "Passphrase" : { "Type" : "passphrase", "Requirement" : "mandatory" } } @@ -179,7 +179,7 @@ Examples Requesting a passphrase for WPA2 network { "Identity" : { "Type" : "string", "Requirement" : "mandatory" }, - "Passphrase" : { "Type" : "response", + "Passphrase" : { "Type" : "response", "Requirement" : "mandatory" } } @@ -189,12 +189,12 @@ Examples Requesting a passphrase for WPA2 network Requesting username and password for a WISPr-enabled hotspot: RequestInput("/service5", - { "Username" : { "Type" : "string", - "Requirement" : "mandatory" - }, - "Password" : { "Type" : "passphrase", - "Requirement" : "mandatory" - } - } - - ==> { "Username" : "foo", "Password": "secret" } + { "Username" : { "Type" : "string", + "Requirement" : "mandatory" + }, + "Password" : { "Type" : "passphrase", + "Requirement" : "mandatory" + } + } + + ==> { "Username" : "foo", "Password": "secret" } -- cgit v1.2.3