(1) updated ispect xml to reflect recent undocumented changes in hostnamed
[systembsd.git] / conf / hostnamed-ispect.xml
index 1174b9cac0a5e6b0934981ad37d42c45fb0467e8..4bd4acda2cdfc0356a930c87fbbe3d24a618cf78 100644 (file)
@@ -1,25 +1,80 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<node name="/org/freedesktop/hostname1">
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+    <interface name="org.freedesktop.DBus.Peer">
+        <method name="Ping" />
+        <method name="GetMachineId">
+            <arg type="s" name="machine_uuid" direction="out" />
+        </method>
+    </interface>
+    <interface name="org.freedesktop.DBus.Introspectable">
+        <method name="Introspect">
+            <arg name="data" type="s" direction="out" />
+        </method>
+    </interface>
+    <interface name="org.freedesktop.DBus.Properties">
+        <method name="Get">
+            <arg name="interface" direction="in" type="s" />
+            <arg name="property" direction="in" type="s" />
+            <arg name="value" direction="out" type="v" />
+        </method>
+        <method name="GetAll">
+            <arg name="interface" direction="in" type="s" />
+            <arg name="properties" direction="out" type="a{sv}" />
+        </method>
+        <method name="Set">
+            <arg name="interface" direction="in" type="s" />
+            <arg name="property" direction="in" type="s" />
+            <arg name="value" direction="in" type="v" />
+        </method>
+        <signal name="PropertiesChanged">
+            <arg type="s" name="interface" direction="in" />
+            <arg type="a{sv}" name="changed_properties" direction="in" />
+            <arg type="as" name="invalidated_properties" direction="in" />
+        </signal>
+    </interface>
     <interface name="org.freedesktop.hostname1">
+        <property name="Hostname" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false" />
+        </property>
+        <property name="StaticHostname" type="s" access="read" />
+        <property name="PrettyHostname" type="s" access="read" />
+        <property name="IconName" type="s" access="read" />
+        <property name="Chassis" type="s" access="read" />
+        <property name="KernelName" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="KernelRelease" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="KernelVersion" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="OperatingSystemPrettyName" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
+        <property name="OperatingSystemCPEName" type="s" access="read">
+            <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const" />
+        </property>
         <method name="SetHostname">
-            <arg direction="in" type="s" name="name" />
-            <arg direction="in" type="b" name="user_interaction" />
+            <arg type="s" direction="in" />
+            <arg type="b" direction="in" />
         </method>
         <method name="SetStaticHostname">
-            <arg direction="in" type="s" name="name" />
-            <arg direction="in" type="b" name="user_interaction" />
+            <arg type="s" direction="in" />
+            <arg type="b" direction="in" />
         </method>
         <method name="SetPrettyHostname">
-            <arg direction="in" type="s" name="name" />
-            <arg direction="in" type="b" name="user_interaction" />
+            <arg type="s" direction="in" />
+            <arg type="b" direction="in" />
         </method>
         <method name="SetIconName">
-            <arg direction="in" type="s" name="name" />
-            <arg direction="in" type="b" name="user_interaction" />
+            <arg type="s" direction="in" />
+            <arg type="b" direction="in" />
+        </method>
+        <method name="SetChassis">
+            <arg type="s" direction="in" />
+            <arg type="b" direction="in" />
         </method>
-        <property name="Hostname" type="s" access="read" />
-        <property name="StaticHostname" type="s" access="read" />
-        <property name="PrettyHostname" type="s" access="read" />
-        <property name="IconName" type="s" access="read" />
     </interface>
 </node>