]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/DBUS-API
* rename avahi-dump-all to avahi-browse
[catta] / avahi-daemon / DBUS-API
index c10a7e31c277ac266f481fe0e01ae3e5e4293eb3..7f10ea1fed04d46647e4894295f4231db75d2da5 100644 (file)
@@ -1,6 +1,6 @@
 $Id$
 
-org.freedesktop.Avahi.Server               -- Accessible through /org/freedesktop/Avahi/Server
+org.freedesktop.Avahi.Server               
         string GetHostName()
         string GetHostNameFqdn()
         string GetDomainName()
@@ -8,10 +8,12 @@ org.freedesktop.Avahi.Server               -- Accessible through /org/freedeskto
         int32 GetState()
         string GetAlternativeHostName(string name)
         string GetAlternativeServiceName(string name)
-        [int32 interface, int32 protocol, string host_name, int32 aprotocol, string address] ResolveHostName(int32 interface, int32 protocol, string name, int32 aprotocol)
-        [int32 interface, int32 protocol, int32 aprotocol, string address, string host_name] ResolveAddress(int32 interface, int32 protocol, string address)
+        string GetNetworkInterfaceNameByIndex(int32 index)
+        int32 GetNetworkInterfaceIndexByName(string name)
+        [int32 interface, int32 protocol, string name, int32 aprotocol, string address] ResolveHostName(int32 interface, int32 protocol, string name, int32 aprotocol)
+        [int32 interface, int32 protocol, int32 aprotocol, string address, string name] ResolveAddress(int32 interface, int32 protocol, string address)
         [int32 interface, int32 protocol, string name, string type, string domain, string host, int32 aprotocol, string address, uint16 port, string txt[]] ResolveService(int32 interface, int32 protocol, string name, string type, string domain, int32 aprotocol) 
-        path EntryGroupNew()               -- Creates a new org.freedesktop.Avahi.EntryGroup object
+        path EntryGroupNew()              
         path DomainBrowserNew(int32 interface, int32 protocol, string domain, int32 btype)
         path ServiceTypeBrowserNew(int32 interface, int32 protocol, string domain)
         path ServiceBrowserNew(int32 interface, int32 protocol, string type, string domain)
@@ -20,8 +22,10 @@ org.freedesktop.Avahi.Server               -- Accessible through /org/freedeskto
 org.freedesktop.Avahi.EntryGroup
         void Free()
         void Commit()
+        void Reset()
         int32 GetState()
-        void AddService(int32 interface, int32 protocol, string type, string name, string domain, string host, uint16 port, string txt[])
+       boolean IsEmpty()
+        void AddService(int32 interface, int32 protocol, string name, string type, string domain, string host, uint16 port, string txt[])
         void AddAddress(int32 interface, int32 protocol, string name, string address)
         SIGNAL StateChanged(int32 state)