Warning, /network/telepathy-logger-qt/spec/generic-types.xml is written in an unsupported language. File is not indexed.

0001 <tp:generic-types
0002   xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
0003 
0004   <tp:simple-type name="Unix_Timestamp" type="u">
0005     <tp:docstring>An unsigned 32-bit integer representing time as the number
0006       of seconds elapsed since the Unix epoch
0007       (1970-01-01T00:00:00Z)</tp:docstring>
0008   </tp:simple-type>
0009 
0010   <tp:simple-type name="Unix_Timestamp64" type="x">
0011     <tp:docstring>An signed 64-bit integer representing time as the number
0012       of seconds elapsed since the Unix epoch
0013       (1970-01-01T00:00:00Z); negative for times before the epoch</tp:docstring>
0014 
0015     <tp:rationale>The Text interface is the only user of Unix_Timestamp so
0016       far, and we'd like to be Y2038 compatible in future
0017       interfaces.</tp:rationale>
0018   </tp:simple-type>
0019 
0020   <tp:simple-type name="DBus_Bus_Name" type="s"
0021     array-name="DBus_Bus_Name_List">
0022     <tp:docstring>A string representing a D-Bus bus name - either a well-known
0023       name like "org.freedesktop.Telepathy.MissionControl" or a unique name
0024       like ":1.123"</tp:docstring>
0025   </tp:simple-type>
0026 
0027   <tp:simple-type name="DBus_Well_Known_Name" type="s"
0028     array-name="DBus_Well_Known_Name_List">
0029     <tp:docstring>A string representing a D-Bus well-known
0030       name like "org.freedesktop.Telepathy.MissionControl".</tp:docstring>
0031   </tp:simple-type>
0032 
0033   <tp:simple-type name="DBus_Unique_Name" type="s"
0034     array-name="DBus_Unique_Name_List">
0035     <tp:docstring>A string representing a D-Bus unique name, such as
0036       ":1.123"</tp:docstring>
0037   </tp:simple-type>
0038 
0039   <tp:simple-type name="DBus_Interface" type="s"
0040     array-name="DBus_Interface_List">
0041     <tp:docstring>An ASCII string representing a D-Bus interface - two or more
0042       elements separated by dots, where each element is a non-empty
0043       string of ASCII letters, digits and underscores, not starting with
0044       a digit. The maximum total length is 255 characters. For example,
0045       "org.freedesktop.DBus.Peer".</tp:docstring>
0046   </tp:simple-type>
0047 
0048   <tp:simple-type name="DBus_Error_Name" type="s">
0049     <tp:docstring>An ASCII string representing a D-Bus error. This is
0050       syntactically the same as a <tp:type>DBus_Interface</tp:type>, but the
0051       meaning is different.</tp:docstring>
0052   </tp:simple-type>
0053 
0054   <tp:simple-type name="DBus_Signature" type="s">
0055     <tp:docstring>A string representing a D-Bus signature
0056       (the 'g' type isn't used because of poor interoperability, particularly
0057       with dbus-glib)</tp:docstring>
0058   </tp:simple-type>
0059 
0060   <tp:simple-type name="DBus_Member" type="s">
0061     <tp:docstring>An ASCII string representing a D-Bus method, signal
0062       or property name - a non-empty string of ASCII letters, digits and
0063       underscores, not starting with a digit, with a maximum length of 255
0064       characters. For example, "Ping".</tp:docstring>
0065   </tp:simple-type>
0066 
0067   <tp:simple-type name="DBus_Qualified_Member" type="s"
0068     array-name="DBus_Qualified_Member_List">
0069     <tp:docstring>A string representing the full name of a D-Bus method,
0070       signal or property, consisting of a DBus_Interface, followed by
0071       a dot, followed by a DBus_Member. For example,
0072       "org.freedesktop.DBus.Peer.Ping".</tp:docstring>
0073   </tp:simple-type>
0074 
0075   <tp:mapping name="Qualified_Property_Value_Map"
0076     array-name="Qualified_Property_Value_Map_List">
0077     <tp:docstring>A mapping from strings representing D-Bus
0078       properties (by their namespaced names) to their values.</tp:docstring>
0079     <tp:member type="s" name="Key" tp:type="DBus_Qualified_Member">
0080       <tp:docstring>
0081         A D-Bus interface name, followed by a dot and a D-Bus property name.
0082       </tp:docstring>
0083     </tp:member>
0084     <tp:member type="v" name="Value">
0085       <tp:docstring>
0086         The value of the property.
0087       </tp:docstring>
0088     </tp:member>
0089   </tp:mapping>
0090 
0091   <tp:mapping name="String_Variant_Map" array-name="String_Variant_Map_List">
0092     <tp:docstring>A mapping from strings to variants representing extra
0093       key-value pairs.</tp:docstring>
0094     <tp:member type="s" name="Key"/>
0095     <tp:member type="v" name="Value"/>
0096   </tp:mapping>
0097 
0098   <tp:mapping name="String_String_Map" array-name="String_String_Map_List">
0099     <tp:docstring>A mapping from strings to strings representing extra
0100       key-value pairs.</tp:docstring>
0101     <tp:member type="s" name="Key"/>
0102     <tp:member type="s" name="Value"/>
0103   </tp:mapping>
0104 
0105   <tp:struct name="Socket_Address_IP" array-name="Socket_Address_IP_List">
0106     <tp:docstring>An IP address and port.</tp:docstring>
0107     <tp:member type="s" name="Address">
0108       <tp:docstring>Either a dotted-quad IPv4 address literal as for
0109         <tp:type>Socket_Address_IPv4</tp:type>, or an RFC2373 IPv6 address
0110         as for <tp:type>Socket_Address_IPv6</tp:type>.
0111       </tp:docstring>
0112     </tp:member>
0113     <tp:member type="q" name="Port">
0114       <tp:docstring>The TCP or UDP port number.</tp:docstring>
0115     </tp:member>
0116   </tp:struct>
0117 
0118   <tp:struct name="Socket_Address_IPv4">
0119     <tp:docstring>An IPv4 address and port.</tp:docstring>
0120     <tp:member type="s" name="Address">
0121       <tp:docstring>A dotted-quad IPv4 address literal: four ASCII decimal
0122         numbers, each between 0 and 255 inclusive, e.g.
0123         "192.168.0.1".</tp:docstring>
0124     </tp:member>
0125     <tp:member type="q" name="Port">
0126       <tp:docstring>The TCP or UDP port number.</tp:docstring>
0127     </tp:member>
0128   </tp:struct>
0129 
0130   <tp:struct name="Socket_Address_IPv6">
0131     <tp:docstring>An IPv6 address and port.</tp:docstring>
0132     <tp:member type="s" name="Address">
0133       <tp:docstring>An IPv6 address literal as specified by RFC2373
0134         section 2.2, e.g. "2001:DB8::8:800:200C:4171".</tp:docstring>
0135     </tp:member>
0136     <tp:member type="q" name="Port">
0137       <tp:docstring>The TCP or UDP port number.</tp:docstring>
0138     </tp:member>
0139   </tp:struct>
0140 
0141   <tp:struct name="Socket_Netmask_IPv4">
0142     <tp:docstring>An IPv4 network or subnet.</tp:docstring>
0143     <tp:member type="s" name="Address">
0144       <tp:docstring>A dotted-quad IPv4 address literal: four ASCII decimal
0145         numbers, each between 0 and 255 inclusive, e.g.
0146         "192.168.0.1".</tp:docstring>
0147     </tp:member>
0148     <tp:member type="y" name="Prefix_Length">
0149       <tp:docstring>The number of leading bits of the address that must
0150         match, for this netmask to be considered to match an
0151         address.</tp:docstring>
0152     </tp:member>
0153   </tp:struct>
0154 
0155   <tp:struct name="Socket_Netmask_IPv6">
0156     <tp:docstring>An IPv6 network or subnet.</tp:docstring>
0157     <tp:member type="s" name="Address">
0158       <tp:docstring>An IPv6 address literal as specified by RFC2373
0159         section 2.2, e.g. "2001:DB8::8:800:200C:4171".</tp:docstring>
0160     </tp:member>
0161     <tp:member type="y" name="Prefix_Length">
0162       <tp:docstring>The number of leading bits of the address that must
0163         match, for this netmask to be considered to match an
0164         address.</tp:docstring>
0165     </tp:member>
0166   </tp:struct>
0167 
0168   <tp:simple-type name="User_Action_Timestamp" type="x">
0169     <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
0170       <p>The time at which an user action occurred. This type has the 2
0171       following special values:</p>
0172 
0173       <p>0: the action doesn't involve any user action. Clients
0174       SHOULD avoid stealing focus when presenting the channel.</p>
0175 
0176       <p>MAX_INT64: clients SHOULD behave as though the user action happened
0177       at the current time, e.g. a client MAY request that its window gains
0178       focus.
0179       </p>
0180 
0181       <tp:rationale>
0182       <p>This can be used by clients that can't know the X server time like
0183       command line applications for example.</p>
0184       </tp:rationale>
0185 
0186       <p>For all the other values it corresponds to the time of the user
0187       action. Clients SHOULD use this for focus-stealing prevention,
0188       if applicable.
0189       Note that the time is dependant on the local
0190       environment and so is not necessarily a wall-clock time.
0191       For example in an X environment it's expected to be the X timestamp
0192       of events.
0193       This corresponds to the _NET_WM_USER_TIME property in
0194       <a href="http://standards.freedesktop.org/wm-spec/wm-spec-latest.html">EWMH</a>.</p>
0195     </tp:docstring>
0196   </tp:simple-type>
0197 
0198   <tp:mapping name="Object_Immutable_Properties_Map"
0199     array-name="Object_Immutable_Properties_Map_List">
0200     <tp:added version="0.19.12"/>
0201     <tp:docstring>A mapping from object path to the immutable properties of
0202         the object.</tp:docstring>
0203     <tp:member type="o" name="Path">
0204       <tp:docstring>
0205         The object path of an object
0206       </tp:docstring>
0207     </tp:member>
0208     <tp:member type="a{sv}" name="Immutable_Properties" tp:type="Qualified_Property_Value_Map">
0209       <tp:docstring>
0210         The immutable properties of the object
0211       </tp:docstring>
0212     </tp:member>
0213   </tp:mapping>
0214 
0215 </tp:generic-types>