X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=docs%2FDBUS-API;h=7a57aaa207450e4379484ccd182015567c3c3c4c;hb=d1da9f9f0f312873501e42ff39a9eab26bf2ab50;hp=7f10ea1fed04d46647e4894295f4231db75d2da5;hpb=e2bd3f23a80ac9f59e406688e92a36ca843d364a;p=catta diff --git a/docs/DBUS-API b/docs/DBUS-API index 7f10ea1..7a57aaa 100644 --- a/docs/DBUS-API +++ b/docs/DBUS-API @@ -1,45 +1,13 @@ -$Id$ +* NOTE * +This file used to contain an overview of the DBUS API for Avahi, however +since it was no longer up to date you should now read the XML-formatted DBUS +Introspection files, which are fairly easy to understand and kept up to date. -org.freedesktop.Avahi.Server - string GetHostName() - string GetHostNameFqdn() - string GetDomainName() - string GetVersionString() - int32 GetState() - string GetAlternativeHostName(string name) - string GetAlternativeServiceName(string name) - 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() - 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) - SIGNAL StateChanged(int32 state) +You can see them in the avahi-daemon source directory, named *.introspect. -org.freedesktop.Avahi.EntryGroup - void Free() - void Commit() - void Reset() - int32 GetState() - 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) +Opening them in a web browser is a good way to view them as they are formatted +nicely, you can also view our online copy under "Developing with Avahi" here: -org.freedesktop.Avahi.DomainBrowser - void Free() - SIGNAL ItemNew(int32 interface, int32 protocol, string domain) - SIGNAL ItemRemove(int32 interface, int32 protocol, string domain) +http://avahi.org/ -org.freedesktop.Avahi.ServiceTypeBrowser - void Free() - SIGNAL ItemNew(int32 interface, int32 protocol, string type, string domain) - SIGNAL ItemRemove(int32 interface, int32 protocol, string type, string domain) - -org.freedesktop.Avahi.ServiceBrowser - void Free() - SIGNAL ItemNew(int32 interface, int32 protocol, string name, string type, string domain) - SIGNAL ItemRemove(int32 interface, int32 protocol, string name, string type, string domain) + - Lathiat