]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/Server.introspect
* DBUS: add GetNetworkInterface{NameByIndex,IndexByName} and make everyone use it
[catta] / avahi-daemon / Server.introspect
index da7eb361e9d6e1db24498b7ebe08f4c958c70fbd..ecd25c89dc03a5c245dfb135187e1c11e1e9b6a5 100644 (file)
@@ -6,7 +6,7 @@
 
  <interface name="org.freedesktop.DBus.Introspectable">
     <method name="Introspect">
-      <arg name="data" direction="out" type="s"/>
+      <arg name="data" type="s" direction="out"/>
     </method>
   </interface>
 
       <arg name="name" type="s" direction="out"/>
     </method>
 
+    <method name="GetNetworkInterfaceNameByIndex">
+      <arg name="index" type="i" direction="in"/>
+      <arg name="name" type="s" direction="out"/>
+    </method>
+    <method name="GetNetworkInterfaceIndexByName">
+      <arg name="name" type="s" direction="in"/>
+      <arg name="index" type="i" direction="out"/>
+    </method>
+
     <method name="ResolveHostName">
       <arg name="interface" type="i" direction="in"/>
       <arg name="protocol" type="i" direction="in"/>