Information about a D-Bus interface.
ref-countThe reference count or -1 if statically allocated.
nameThe name of the D-Bus interface, e.g. "org.freedesktop.DBus.Properties".
methodsA pointer to a #f-terminated array of pointers to
<GDBusMethodInfo> structures or #f
if there are no methods.
signalsA pointer to a #f-terminated array of pointers to
<GDBusSignalInfo> structures or #f
if there are no signals.
propertiesA pointer to a #f-terminated array of pointers to
<GDBusPropertyInfo> structures or
#f if there are no properties.
annotationsA pointer to a #f-terminated array of pointers to
<GDBusAnnotationInfo> structures or
#f if there are no annotations.
Builds a lookup-cache to speed up dbus-interface-info:lookup-method,
dbus-interface-info:lookup-signal and
dbus-interface-info:lookup-property.
If this has already been called with self, the existing cache is used and its use count is increased.
Note that self cannot be modified until
dbus-interface-info:cache-release is called.
Passed: a <GDBusInterfaceInfo>.
Decrements the usage count for the cache for self built by
dbus-interface-info:cache-build (if any) and frees the
resources used by the cache if the usage count drops to zero.
Passed: a <GDBusInterfaceInfo>.
A GDBusInterfaceInfo
Appends an XML representation of self (and its children) to string-builder.
This function is typically used for generating introspection XML
documents at run-time for handling the
org.freedesktop.DBus.Introspectable.Introspect method.
Passed: a <GDBusInterfaceInfo>.
Passed: an unsigned 32-bit integer.
Indentation level.
Passed: a <GString>.
A <GString> to to append XML data to.
Looks up information about a method.
The cost of this function is O(n) in number of methods unless
dbus-interface-info:cache-build has been used on
self.
Passed: a <GDBusInterfaceInfo>.
Passed: a string.
A D-Bus method name (typically in CamelCase)
Returned: a <GDBusMethodInfo>, or
#f.
A <GDBusMethodInfo> or #f if not
found. Do not free, it is owned by self.
Looks up information about a property.
The cost of this function is O(n) in number of properties unless
dbus-interface-info:cache-build has been used on
self.
Passed: a <GDBusInterfaceInfo>.
Passed: a string.
A D-Bus property name (typically in CamelCase).
Returned: a <GDBusPropertyInfo>, or
#f.
A <GDBusPropertyInfo> or #f if not
found. Do not free, it is owned by self.
Looks up information about a signal.
The cost of this function is O(n) in number of signals unless
dbus-interface-info:cache-build has been used on
self.
Passed: a <GDBusInterfaceInfo>.
Passed: a string.
A D-Bus signal name (typically in CamelCase)
Returned: a <GDBusSignalInfo>, or
#f.
A <GDBusSignalInfo> or #f if not
found. Do not free, it is owned by self.
If self is statically allocated does nothing. Otherwise increases the reference count.
Passed: a <GDBusInterfaceInfo>.
Returned: a <GDBusInterfaceInfo>.
The same self.
If self is statically allocated, does nothing. Otherwise decreases the reference count of self. When its reference count drops to 0, the memory used is freed.
Passed: a <GDBusInterfaceInfo>.