]> git.meshlink.io Git - catta/blob - docs/DBUS-API
14c4b406d03819e955bc8e97342ba33f6256f598
[catta] / docs / DBUS-API
1 $Id$
2
3 * NOTE *
4 While this document provides an overview of the DBUS-API, a much better reference is the .introspect files
5 in the avahi-daemon directory
6
7 You can find copies online, under "Developing with Avahi" here
8 http://www.freedesktop.org/Software/Avahi
9
10 - Lathiat
11
12 org.freedesktop.Avahi.Server               
13         string GetVersionString()
14         string GetHostName()
15         string GetHostNameFqdn()
16         string GetDomainName()
17         int32 GetState()
18         string GetAlternativeHostName(string name)
19         string GetAlternativeServiceName(string name)
20         string GetNetworkInterfaceNameByIndex(int32 index)
21         int32 GetNetworkInterfaceIndexByName(string name)
22         [int32 interface, int32 protocol, string name, int32 aprotocol, string address] ResolveHostName(int32 interface, int32 protocol, string name, int32 aprotocol)
23         [int32 interface, int32 protocol, int32 aprotocol, string address, string name] ResolveAddress(int32 interface, int32 protocol, string address)
24         [int32 interface, int32 protocol, string name, string type, string domain, string host, int32 aprotocol, string address, uint16 port, byte txt[][]] ResolveService(int32 interface, int32 protocol, string name, string type, string domain, int32 aprotocol) 
25         path EntryGroupNew()              
26         path DomainBrowserNew(int32 interface, int32 protocol, string domain, int32 btype)
27         path ServiceTypeBrowserNew(int32 interface, int32 protocol, string domain)
28         path ServiceBrowserNew(int32 interface, int32 protocol, string type, string domain)
29         path ServiceResolverNew(int32 interface, int32 protocol, string name, string type, string domain, int32 aprotocol)
30         path HostNameResolverNew(int32, int32 protocol, string name, int aprotocol)
31         path AddressResolverNew(int32 interface, int32 protocol, string address)
32         SIGNAL StateChanged(int32 state)
33
34 org.freedesktop.Avahi.EntryGroup
35         void Free()
36         void Commit()
37         void Reset()
38         int32 GetState()
39         boolean IsEmpty()
40         void AddService(int32 interface, int32 protocol, string name, string type, string domain, string host, uint16 port, string txt[])
41         void AddAddress(int32 interface, int32 protocol, string name, string address)
42         SIGNAL StateChanged(int32 state)
43
44 org.freedesktop.Avahi.DomainBrowser
45         void Free()
46         SIGNAL ItemNew(int32 interface, int32 protocol, string domain)
47         SIGNAL ItemRemove(int32 interface, int32 protocol, string domain)
48
49 org.freedesktop.Avahi.ServiceTypeBrowser
50         void Free()
51         SIGNAL ItemNew(int32 interface, int32 protocol, string type, string domain) 
52         SIGNAL ItemRemove(int32 interface, int32 protocol, string type, string domain)
53
54 org.freedesktop.Avahi.ServiceBrowser
55         void Free()
56         SIGNAL ItemNew(int32 interface, int32 protocol, string name, string type, string domain)
57         SIGNAL ItemRemove(int32 interface, int32 protocol, string name, string type, string domain)
58
59 org.freedesktop.Avahi.AddressResolver
60         void Free()
61         SIGNAL Found(int32 interface, int32 protocol, int32 aprotocol, string address, string name)
62         SIGNAL Timeout()
63
64 org.freedesktop.Avahi.HostNameResolver
65         void Free()
66         SIGNAL Found(int32 interface, int32 protocol, string name, int32 aprotocol, string address)
67         SIGNAL Timeout()
68
69 org.freedesktop.Avahi.ServiceResolver
70         void Free()
71         SIGNAL Found(int32 interface, int32 protocol,string name, string type, string domain, string host, int32 aprotocol, string address, int32 port, byte[][] txt)
72         SIGNAL Timeout()