summaryrefslogtreecommitdiff
path: root/introspection/generic-types.xml
blob: 681b6662b779701ce695b96d586656bfac637f9a (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
<tp:generic-types
  xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
  <tp:mapping name="String_Variant_Map">
    <tp:docstring>A mapping from strings to variants representing extra
      key-value pairs.</tp:docstring>
    <tp:member type="s" name="Key"/>
    <tp:member type="v" name="Value"/>
  </tp:mapping>

  <tp:mapping name="String_String_Map">
    <tp:docstring>A mapping from strings to strings representing extra
      key-value pairs.</tp:docstring>
    <tp:member type="s" name="Key"/>
    <tp:member type="s" name="Value"/>
  </tp:mapping>

  <tp:mapping name="String_String_Variant_Map_Map">
      <tp:docstring>A mapping from strings to a map of string to variant.</tp:docstring>
      <tp:member type="s" name="Key"/>
      <tp:member type="a{sv}" name="Value" tp:type="String_Variant_Map"/>
  </tp:mapping>

  <tp:enum name="NM_802_11_MODE" type="u">
    <tp:docstring></tp:docstring>
    <tp:enumvalue suffix="UNKNOWN" value="0">
      <tp:docstring>Mode is unknown.</tp:docstring>
    </tp:enumvalue>
    <tp:enumvalue suffix="ADHOC" value="1">
      <tp:docstring>
        For both devices and access point objects, indicates the object is
        part of an Ad-Hoc 802.11 network without a central coordinating access
        point.
      </tp:docstring>
    </tp:enumvalue>
    <tp:enumvalue suffix="INFRA" value="2">
      <tp:docstring>
        The wireless device or access point is in infrastructure mode.  For
        devices, this indicates the device is an 802.11 client/station.  For
        access point objects, this indicates the object is an access point that
        provides connectivity to clients.
      </tp:docstring>
    </tp:enumvalue>
    <tp:enumvalue suffix="AP" value="3">
      <tp:docstring>
        The device is an access point/hotspot.  Not valid for access point
        objects themselves.
      </tp:docstring>
    </tp:enumvalue>
  </tp:enum>
</tp:generic-types>