summaryrefslogtreecommitdiff
path: root/introspection/nm-manager-client.xml
blob: 24e4a29eb58ff7aa75d8ea7fa33b2fae7c3e088c (plain)
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
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8" ?>

<!-- 
READ ME! READ ME! READ ME! READ ME! READ ME!

This file needs to be kept in sync with nm-manager.xml with the exception of
the legacy methods at the end of nm-manager.xml.

This file is only used to ensure that a few legacy 0.6 D-DBus methods that
NM supports don't leak into libnm-glib, but are only exposed by the NMManager
object.  dbus-glib generates the same bound function names for D-Bus the methods
"sleep" and "Sleep", unfortunately.
-->

<node name="/">
  <interface name="org.freedesktop.NetworkManager">
    <method name="GetDevices">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_devices"/>
      <arg name="devices" type="ao" direction="out"/>
    </method>

    <method name="ActivateConnection">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_activate_connection"/>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="service_name" type="s" direction="in"/>
      <arg name="connection" type="o" direction="in"/>
      <arg name="device" type="o" direction="in"/>
      <arg name="specific_object" type="o" direction="in"/>
      <arg name="active_connection" type="o" direction="out"/>
    </method>

    <method name="DeactivateConnection">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_deactivate_connection"/>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="active_connection" type="o" direction="in"/>
    </method>

    <method name="Sleep">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_sleep"/>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="sleep" type="b" direction="in"/>
    </method>

    <method name="Enable">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_enable"/>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="enable" type="b" direction="in"/>
    </method>

    <method name="GetPermissions">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_permissions"/>
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="permissions" type="a{ss}" direction="out"/>
    </method>

    <signal name="CheckPermissions"/>

    <property name="NetworkingEnabled" type="b" access="read"/>
    <property name="WirelessEnabled" type="b" access="readwrite"/>
    <property name="WirelessHardwareEnabled" type="b" access="read"/>
    <property name="WwanEnabled" type="b" access="readwrite"/>
    <property name="WwanHardwareEnabled" type="b" access="read"/>
    <property name="ActiveConnections" type="ao" access="read"/>
    <property name="Version" type="s" access="read"/>
    <property name="State" type="u" access="read"/>

    <signal name="StateChanged">
      <arg name="state" type="u"/>
    </signal>

    <signal name="PropertiesChanged">
      <arg name="properties" type="a{sv}"/>
    </signal>

    <signal name="DeviceAdded">
      <arg name="state" type="o"/>
    </signal>

    <signal name="DeviceRemoved">
      <arg name="state" type="o"/>
    </signal>
  </interface>
</node>