Add initial interface documentation
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Jan 2008 18:18:50 +0000 (19:18 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Jan 2008 18:18:50 +0000 (19:18 +0100)
doc/Makefile.am
doc/interface-api.txt [new file with mode: 0644]

index fadc659..33cc0bd 100644 (file)
@@ -1,4 +1,4 @@
 
-EXTRA_DIST = manager-api.txt
+EXTRA_DIST = manager-api.txt interface-api.txt
 
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/doc/interface-api.txt b/doc/interface-api.txt
new file mode 100644 (file)
index 0000000..1b0d468
--- /dev/null
@@ -0,0 +1,24 @@
+Interface hierarchy
+*******************
+
+Service name   org.freedesktop.connman
+Interface name org.freedesktop.connman.Interface
+Object path    [interface object]
+
+Methods                dict GetProperties()
+               string GetState()
+               uint16 GetSignal()
+               string GetPolicy()
+               void SetPolicy(string policy)
+               dict GetNetwork()
+               void SetNetwork(dict network)
+               dict GetIPv4()
+               void SetIPv4(dict ipv4)
+
+Signals                StateChanged(string state)
+               SignalChanged(uint16 signal)
+               PolicyChanged(string policy)
+               NetworkFound(dict network)
+               NetworkChanged(dict network)
+               IPv4Changed(dict ipv4)
+