diff options
Diffstat (limited to 'introspection/generic-types.xml')
| -rw-r--r-- | introspection/generic-types.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/introspection/generic-types.xml b/introspection/generic-types.xml new file mode 100644 index 00000000..1a9e3169 --- /dev/null +++ b/introspection/generic-types.xml @@ -0,0 +1,35 @@ +<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>Uncoordinated network without central infrastructure.</tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="INFRA" value="2"> + <tp:docstring>Coordinated network with one or more central controllers.</tp:docstring> + </tp:enumvalue> + </tp:enum> +</tp:generic-types> |