diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-22 23:20:05 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-22 23:20:05 +0000 |
commit | fe13f31ab613736d5fd6e614a1d4690028753e08 (patch) | |
tree | ac516a9da287303802f079511352f8ee61033d86 /avahi-daemon | |
parent | f8cc6a9085484ca90baa3967cc9ac440b8b309b6 (diff) |
* Add introspection data for new resolver interfaces
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@403 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon')
-rw-r--r-- | avahi-daemon/AddressResolver.introspect | 29 | ||||
-rw-r--r-- | avahi-daemon/HostNameResolver.introspect | 29 | ||||
-rw-r--r-- | avahi-daemon/Makefile.am | 13 | ||||
-rw-r--r-- | avahi-daemon/ServiceResolver.introspect | 34 |
4 files changed, 99 insertions, 6 deletions
diff --git a/avahi-daemon/AddressResolver.introspect b/avahi-daemon/AddressResolver.introspect new file mode 100644 index 0000000..a1bd190 --- /dev/null +++ b/avahi-daemon/AddressResolver.introspect @@ -0,0 +1,29 @@ +<?xml version="1.0" standalone='no'?><!--*-nxml-*--> +<?xml-stylesheet type="text/xsl" href="introspect.xsl"?> +<!DOCTYPE node SYSTEM "introspect.dtd"> +<node> + + <!-- $Id$ --> + + <interface name="org.freedesktop.DBus.Introspectable"> + <method name="Introspect"> + <arg name="data" type="s" direction="out" /> + </method> + </interface> + + <interface name="org.freedesktop.Avahi.AddressResolver"> + + <method name="Free"/> + + <signal name="Found"> + <arg name="interface" type="i" direction="out"/> + <arg name="protocol" type="i" direction="out"/> + <arg name="aprotocol" type="i" direction="out"/> + <arg name="address" type="s" direction="out"/> + <arg name="name" type="s" direction="out"/> + </signal> + + <signal name="Timeout"/> + + </interface> +</node> diff --git a/avahi-daemon/HostNameResolver.introspect b/avahi-daemon/HostNameResolver.introspect new file mode 100644 index 0000000..cd0af01 --- /dev/null +++ b/avahi-daemon/HostNameResolver.introspect @@ -0,0 +1,29 @@ +<?xml version="1.0" standalone='no'?><!--*-nxml-*--> +<?xml-stylesheet type="text/xsl" href="introspect.xsl"?> +<!DOCTYPE node SYSTEM "introspect.dtd"> +<node> + + <!-- $Id$ --> + + <interface name="org.freedesktop.DBus.Introspectable"> + <method name="Introspect"> + <arg name="data" type="s" direction="out" /> + </method> + </interface> + + <interface name="org.freedesktop.Avahi.ServiceResolver"> + + <method name="Free"/> + + <signal name="Found"> + <arg name="interface" type="i" direction="out"/> + <arg name="protocol" type="i" direction="out"/> + <arg name="name" type="s" direction="out"/> + <arg name="aprotocol" type="i" direction="out"/> + <arg name="address" type="s" direction="out"/> + </signal> + + <signal name="Timeout"/> + + </interface> +</node> diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 32831ba..f1f0d51 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -88,7 +88,10 @@ introspection_DATA = \ EntryGroup.introspect \ DomainBrowser.introspect \ ServiceTypeBrowser.introspect \ - ServiceBrowser.introspect + ServiceBrowser.introspect \ + ServiceResolver.introspect \ + AddressResolver.introspect \ + HostNameResolver.introspect endif endif @@ -112,8 +115,6 @@ EXTRA_DIST = \ xmllint: xmllint --noout --valid example.service - xmllint --noout --valid Server.introspect - xmllint --noout --valid EntryGroup.introspect - xmllint --noout --valid DomainBrowser.introspect - xmllint --noout --valid ServiceTypeBrowser.introspect - xmllint --noout --valid ServiceBrowser.introspect + for F in $(introspection_DATA) ; do \ + xmllint --noout --valid $$F ; \ + done diff --git a/avahi-daemon/ServiceResolver.introspect b/avahi-daemon/ServiceResolver.introspect new file mode 100644 index 0000000..2dc9815 --- /dev/null +++ b/avahi-daemon/ServiceResolver.introspect @@ -0,0 +1,34 @@ +<?xml version="1.0" standalone='no'?><!--*-nxml-*--> +<?xml-stylesheet type="text/xsl" href="introspect.xsl"?> +<!DOCTYPE node SYSTEM "introspect.dtd"> +<node> + + <!-- $Id$ --> + + <interface name="org.freedesktop.DBus.Introspectable"> + <method name="Introspect"> + <arg name="data" type="s" direction="out" /> + </method> + </interface> + + <interface name="org.freedesktop.Avahi.ServiceResolver"> + + <method name="Free"/> + + <signal name="Found"> + <arg name="interface" type="i" direction="out"/> + <arg name="protocol" type="i" direction="out"/> + <arg name="name" type="s" direction="out"/> + <arg name="type" type="s" direction="out"/> + <arg name="domain" type="s" direction="out"/> + <arg name="host" type="s" direction="out"/> + <arg name="aprotocol" type="i" direction="out"/> + <arg name="address" type="s" direction="out"/> + <arg name="port" type="q" direction="out"/> + <arg name="txt" type="aay" direction="out"/> + </signal> + + <signal name="Timeout"/> + + </interface> +</node> |