1 <!DOCTYPE node PUBLIC 2 "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" 3 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> 4 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> 5 6 <interface name="org.torproject.tlsdate"> 7 <method name="SetTime"> 8 <arg name="time" direction="in" type="x"> 9 <doc:doc><doc:summary>The requested time to set the system clock to. It may be tested 10 with: 11 dbus-send --print-reply --system --dest=org.torproject.tlsdate --type=method_call \ 12 /org/torproject/tlsdate org.torproject.tlsdate.SetTime int64:12345678 13 </doc:summary></doc:doc> 14 </arg> 15 <arg name="code" direction="out" type="u"> 16 <doc:doc><doc:summary>Returns success or failure via an enum: 17 OK:0, Bad value:1, Not allowed:2, Bad call format:3 18 </doc:summary></doc:doc> 19 </arg> 20 </method> 21 <method name="CanSetTime"> 22 <arg name="code" direction="out" type="b"> 23 <doc:doc><doc:summary>Returns TRUE is SetTime is allowed. 24 </doc:summary></doc:doc> 25 </arg> 26 </method> 27 <method name="LastSyncInfo"> 28 <arg name="network_synchronized" direction="out" type="b"> 29 <doc:doc><doc:summary>Whether the time is rooted in a network synchronization source since 30 fallback to "system-clock" happens at steady state intervals. 31 </doc:summary></doc:doc> 32 </arg> 33 <arg name="source" direction="out" type="s"> 34 <doc:doc><doc:summary>Name of the last source</doc:summary></doc:doc> 35 </arg> 36 <arg name="time" direction="out" type="x"> 37 <doc:doc><doc:summary>Last sync time</doc:summary></doc:doc> 38 </arg> 39 </method> 40 41 </interface> 42 </node> 43