A pointer to a %NULL-terminated array of pointers to #GDBusAnnotationInfo structures or %NULL if there are no annotations.
A pointer to a %NULL-terminated array of pointers to #GDBusMethodInfo structures or %NULL if there are no methods.
The name of the D-Bus interface, e.g. "org.freedesktop.DBus.Properties".
A pointer to a %NULL-terminated array of pointers to #GDBusPropertyInfo structures or %NULL if there are no properties.
The reference count or -1 if statically allocated.
A pointer to a %NULL-terminated array of pointers to #GDBusSignalInfo structures or %NULL if there are no signals.
Builds a lookup-cache to speed up g_dbus_interface_info_lookup_method(), g_dbus_interface_info_lookup_signal() and g_dbus_interface_info_lookup_property().
If this has already been called with info,
the existing cache is
used and its use count is increased.
Note that info
cannot be modified until
g_dbus_interface_info_cache_release() is called.
Decrements the usage count for the cache for info
built by
g_dbus_interface_info_cache_build() (if any) and frees the
resources used by the cache if the usage count drops to zero.
Appends an XML representation of info
(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.
Looks up information about a method.
The cost of this function is O(n) in number of methods unless
g_dbus_interface_info_cache_build() has been used on info
.
A D-Bus method name (typically in CamelCase)
Looks up information about a property.
The cost of this function is O(n) in number of properties unless
g_dbus_interface_info_cache_build() has been used on info
.
A D-Bus property name (typically in CamelCase).
Looks up information about a signal.
The cost of this function is O(n) in number of signals unless
g_dbus_interface_info_cache_build() has been used on info
.
A D-Bus signal name (typically in CamelCase)
If info
is statically allocated does nothing. Otherwise increases
the reference count.
If info
is statically allocated, does nothing. Otherwise decreases
the reference count of info
. When its reference count drops to 0,
the memory used is freed.
Information about a D-Bus interface.