DBusNodeInfo
Parses @xml_data and returns a #GDBusNodeInfo representing the data.
The introspection XML must contain exactly one top-level <node>
element.
Note that this routine is using a glib-Simple-XML-Subset-Parser.description-based parser that only accepts a subset of valid XML documents.
Return
A #GDBusNodeInfo structure or null if @error is set. Free with g_dbus_node_info_unref().
Since
2.26
Parameters
Valid D-Bus introspection XML.
Allocate a new DBusNodeInfo.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new DBusNodeInfo using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new DBusNodeInfo.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
The reference count or -1 if statically allocated.
The path of the node or null if omitted. Note that this may be a relative path. See the D-Bus specification for more details.
Allocate a new DBusNodeInfo using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The reference count or -1 if statically allocated.
The path of the node or null if omitted. Note that this may be a relative path. See the D-Bus specification for more details.
The AutofreeScope to allocate this structure in.