summaryrefslogtreecommitdiffstats
path: root/docs/DBUS-API
blob: 14c4b406d03819e955bc8e97342ba33f6256f598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
$Id$

* NOTE *
While this document provides an overview of the DBUS-API, a much better reference is the .introspect files
in the avahi-daemon directory

You can find copies online, under "Developing with Avahi" here
http://www.freedesktop.org/Software/Avahi

- Lathiat

org.freedesktop.Avahi.Server               
        string GetVersionString()
        string GetHostName()
        string GetHostNameFqdn()
        string GetDomainName()
        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, byte 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)
        path ServiceResolverNew(int32 interface, int32 protocol, string name, string type, string domain, int32 aprotocol)
        path HostNameResolverNew(int32, int32 protocol, string name, int aprotocol)
        path AddressResolverNew(int32 interface, int32 protocol, string address)
        SIGNAL StateChanged(int32 state)

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)

org.freedesktop.Avahi.DomainBrowser
        void Free()
        SIGNAL ItemNew(int32 interface, int32 protocol, string domain)
        SIGNAL ItemRemove(int32 interface, int32 protocol, string domain)

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)

org.freedesktop.Avahi.AddressResolver
        void Free()
        SIGNAL Found(int32 interface, int32 protocol, int32 aprotocol, string address, string name)
        SIGNAL Timeout()

org.freedesktop.Avahi.HostNameResolver
        void Free()
        SIGNAL Found(int32 interface, int32 protocol, string name, int32 aprotocol, string address)
        SIGNAL Timeout()

org.freedesktop.Avahi.ServiceResolver
        void Free()
        SIGNAL Found(int32 interface, int32 protocol,string name, string type, string domain, string host, int32 aprotocol, string address, int32 port, byte[][] txt)
        SIGNAL Timeout()