Expand description
§zbus-lockstep
Is a collection of helpers for retrieving DBus
type signatures from XML descriptions.
Useful for comparing these with your types’ signatures to ensure that they are compatible.
It offers functions that retrieve the signature of a method’s argument type, of a method’s
return type, pf a signal’s body type or of a property’s type from DBus
XML.
These functions require that you provide the file path to the XML file, the interface name, and the interface member wherein the signature resides.
Corresponding to each of these functions, macros are provided which do not require you to exactly point out where the signature is found. These will just search by interface member name.
The macros assume that the file path to the XML files is either:
xml
orXML
, the default path forDBus
XML files - or is set by theLOCKSTEP_XML_PATH
, the env variable that overrides the default.
Re-exports§
Macros§
- method_
args_ signature - Retrieve the signature of a method’s arguments.
- method_
return_ signature - Retrieve the signature of a method’s return type.
- property_
type_ signature - Retrieve the signature of a property’s type.
- signal_
body_ type_ signature - Retrieve the signature of a signal’s body type.
Structs§
- Node
- An introspection tree node (typically the root of the XML document).
Enums§
Functions§
- get_
method_ args_ type - Retrieve the signature of a method’s argument type from XML.
- get_
method_ return_ type - Retrieve the signature of a method’s return type from XML.
- get_
property_ type - Retrieve the signature of a property’s type from XML.
- get_
signal_ body_ type - Retrieve a signal’s body type signature from
DBus
XML. - resolve_
xml_ path - Resolve XML path from either: