blob: 6bc1478a41e74d33eaa9174240fb1662dea5fa3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
#include <gio/gio.h>
static const gchar SYSTEMD_HOSTNAMED_XML[] =
"<!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'/>"
" <arg type='a{sv}' name='changed_properties'/>"
" <arg type='as' name='invalidated_properties'/>"
" </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>"
" <property name='PrettyHostname' type='s' access='read'>"
" </property>"
" <property name='IconName' type='s' access='read'>"
" </property>"
" <property name='Chassis' type='s' access='read'>"
" </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 type='s' direction='in'/>"
" <arg type='b' direction='in'/>"
" </method>"
" <method name='SetStaticHostname'>"
" <arg type='s' direction='in'/>"
" <arg type='b' direction='in'/>"
" </method>"
" <method name='SetPrettyHostname'>"
" <arg type='s' direction='in'/>"
" <arg type='b' direction='in'/>"
" </method>"
" <method name='SetIconName'>"
" <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>"
" </interface>"
"</node>";
|