Struct
GioDBusInterfaceInfo
since: 2.26
Description
struct GDBusInterfaceInfo {
gint ref_count;
gchar* name;
GDBusMethodInfo** methods;
GDBusSignalInfo** signals;
GDBusPropertyInfo** properties;
GDBusAnnotationInfo** annotations;
}
Information about a D-Bus interface.
Structure members
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
NULL-terminated array of pointers toGDBusMethodInfostructures orNULLif there are no methods.signalsA pointer to a
NULL-terminated array of pointers toGDBusSignalInfostructures orNULLif there are no signals.propertiesA pointer to a
NULL-terminated array of pointers toGDBusPropertyInfostructures orNULLif there are no properties.annotationsA pointer to a
NULL-terminated array of pointers toGDBusAnnotationInfostructures orNULLif there are no annotations.
Available since: 2.26
Instance methods
g_dbus_interface_info_cache_build
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().
since: 2.30
g_dbus_interface_info_cache_release
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.
since: 2.30
g_dbus_interface_info_generate_xml
Appends an XML representation of info (and its children) to string_builder.
since: 2.26
g_dbus_interface_info_ref
If info is statically allocated does nothing. Otherwise increases
the reference count.
since: 2.26
g_dbus_interface_info_unref
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.
since: 2.26