Struct
GioDBusNodeInfo
since: 2.26
Description [src]
struct GDBusNodeInfo {
gint ref_count;
gchar* path;
GDBusInterfaceInfo** interfaces;
GDBusNodeInfo** nodes;
GDBusAnnotationInfo** annotations;
}
Information about nodes in a remote object hierarchy.
Structure members
ref_countThe reference count or -1 if statically allocated.
pathThe path of the node or
NULLif omitted. Note that this may be a relative path. See the D-Bus specification for more details.interfacesA pointer to a
NULL-terminated array of pointers toGDBusInterfaceInfostructures orNULLif there are no interfaces.nodesA pointer to a
NULL-terminated array of pointers toGDBusNodeInfostructures orNULLif there are no nodes.annotationsA pointer to a
NULL-terminated array of pointers toGDBusAnnotationInfostructures orNULLif there are no annotations.
Available since: 2.26
Constructors
g_dbus_node_info_new_for_xml
Parses xml_data and returns a GDBusNodeInfo representing the data.
since: 2.26
Instance methods
g_dbus_node_info_generate_xml
Appends an XML representation of info (and its children) to string_builder.
since: 2.26
g_dbus_node_info_ref
If info is statically allocated does nothing. Otherwise increases
the reference count.
since: 2.26
g_dbus_node_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