From 38b5015ca3b623918b52d76fa5ff7e364a067de9 Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Sun, 28 Aug 2005 19:29:47 +0000 Subject: [PATCH] * Update docs/DBUS-API git-svn-id: file:///home/lennart/svn/public/avahi/trunk@476 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/rr.h | 2 +- docs/DBUS-API | 31 +++++++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/avahi-core/rr.h b/avahi-core/rr.h index 9fdcb0e..40134bf 100644 --- a/avahi-core/rr.h +++ b/avahi-core/rr.h @@ -78,7 +78,7 @@ typedef struct { * creation. */ typedef struct { int ref; /**< Reference counter */ - AvahiKey *key; /**< Reference to the query key of thsi record */ + AvahiKey *key; /**< Reference to the query key of this record */ uint32_t ttl; /**< DNS TTL of this record */ diff --git a/docs/DBUS-API b/docs/DBUS-API index 32d9401..14c4b40 100644 --- a/docs/DBUS-API +++ b/docs/DBUS-API @@ -1,10 +1,19 @@ $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() - string GetVersionString() int32 GetState() string GetAlternativeHostName(string name) string GetAlternativeServiceName(string name) @@ -12,11 +21,14 @@ org.freedesktop.Avahi.Server 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) + [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 @@ -43,3 +55,18 @@ 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() -- 2.39.5