| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Copyright 2018 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <node name="/org/chromium/CrosDns" |
| xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> |
| <interface name="org.chromium.CrosDns"> |
| <method name="SetHostnameIpMapping"> |
| <tp:docstring> |
| This method takes a hostname, IPv4 and IPv6 addresses and will set that |
| mapping in the name resolution service. Either IP address may be empty, |
| but not both. Currently only IPv4 is supported. |
| </tp:docstring> |
| <arg name="hostname" type="s" direction="in"/> |
| <arg name="ipv4" type="s" direction="in"/> |
| <arg name="ipv6" type="s" direction="in"/> |
| </method> |
| <method name="RemoveHostnameIpMapping"> |
| <tp:docstring> |
| This method takes a hostname and will remove that mapping from the |
| name resolution service if it was previously set. |
| </tp:docstring> |
| <arg name="hostname" type="s" direction="in"/> |
| </method> |
| </interface> |
| </node> |