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