]> git.meshlink.io Git - catta/commitdiff
* Add introspection data for new resolver interfaces
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Aug 2005 23:20:05 +0000 (23:20 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 22 Aug 2005 23:20:05 +0000 (23:20 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@403 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/AddressResolver.introspect [new file with mode: 0644]
avahi-daemon/HostNameResolver.introspect [new file with mode: 0644]
avahi-daemon/Makefile.am
avahi-daemon/ServiceResolver.introspect [new file with mode: 0644]

diff --git a/avahi-daemon/AddressResolver.introspect b/avahi-daemon/AddressResolver.introspect
new file mode 100644 (file)
index 0000000..a1bd190
--- /dev/null
@@ -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 (file)
index 0000000..cd0af01
--- /dev/null
@@ -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>
index 32831ba710dd67469fd513e9ec6d74518d697225..f1f0d510ac1b426016fe72b531f74aa6a2bcacab 100644 (file)
@@ -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 (file)
index 0000000..2dc9815
--- /dev/null
@@ -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>