Files
nearby/internal/platform/implementation/linux/generated/avahi.xml
T
2025-09-25 16:37:45 +05:30

57 lines
2.6 KiB
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/">
<!-- org.freedesktop.Avahi.Server lives at object path "/" -->
<interface name="org.freedesktop.Avahi.Server">
<!-- Create a ServiceBrowser object; returns its object path -->
<method name="ServiceBrowserNew">
<arg name="interface" type="i" direction="in"/>
<arg name="protocol" type="i" direction="in"/>
<arg name="type" type="s" direction="in"/>
<arg name="domain" type="s" direction="in"/>
<arg name="path" type="o" direction="out"/>
</method>
<!-- Resolve a found service to host/address/port/TXT -->
<method name="ResolveService">
<arg name="interface" type="i" direction="in"/>
<arg name="protocol" type="i" direction="in"/>
<arg name="name" type="s" direction="in"/>
<arg name="type" type="s" direction="in"/>
<arg name="domain" type="s" direction="in"/>
<arg name="aprotocol" type="i" direction="in"/>
<arg name="r_interface" type="i" direction="out"/>
<arg name="r_protocol" type="i" direction="out"/>
<arg name="r_name" type="s" direction="out"/>
<arg name="r_type" type="s" direction="out"/>
<arg name="r_domain" type="s" direction="out"/>
<arg name="r_host" type="s" direction="out"/>
<arg name="r_aprotocol" type="i" direction="out"/>
<arg name="r_address" type="s" direction="out"/>
<arg name="r_port" type="q" direction="out"/>
<!-- TXT records = array of byte arrays (aay) -->
<arg name="r_txt" type="aay" direction="out"/>
</method>
</interface>
<!-- The ServiceBrowser object we get back from ServiceBrowserNew -->
<interface name="org.freedesktop.Avahi.ServiceBrowser">
<method name="Free"/>
<signal name="ItemNew">
<arg name="interface" type="i"/>
<arg name="protocol" type="i"/>
<arg name="name" type="s"/>
<arg name="type" type="s"/>
<arg name="domain" type="s"/>
</signal>
<signal name="ItemRemove">
<arg name="interface" type="i"/>
<arg name="protocol" type="i"/>
<arg name="name" type="s"/>
<arg name="type" type="s"/>
<arg name="domain" type="s"/>
</signal>
</interface>
</node>