Struct
GioDBusInterfaceInfo
since: 2.26
Description [src]
struct GDBusInterfaceInfo {
gint ref_count;
gchar* name;
GDBusMethodInfo* methods[];
GDBusSignalInfo* signals[];
GDBusPropertyInfo* properties[];
GDBusAnnotationInfo* annotations[];
}
Information about a D-Bus interface.
Structure members
ref_count:gintThe reference count or -1 if statically allocated.
name:gchar*The name of the D-Bus interface, e.g. “org.freedesktop.DBus.Properties”.
methods:GDBusMethodInfoA pointer to a
NULL-terminated array of pointers toGDBusMethodInfostructures orNULLif there are no methods.signals:GDBusSignalInfoA pointer to a
NULL-terminated array of pointers toGDBusSignalInfostructures orNULLif there are no signals.properties:GDBusPropertyInfoA pointer to a
NULL-terminated array of pointers toGDBusPropertyInfostructures orNULLif there are no properties.annotations:GDBusAnnotationInfoA 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