DBusSubtreeEnumerateFunc
Description:
[ CCode ( array_length = false , array_null_terminated = true , instance_pos = 3.9 ) ]
[ Version ( since = "2.26" ) ]
public delegate string[] DBusSubtreeEnumerateFunc (DBusConnection connection, string sender, string object_path)
[ Version ( since = "2.26" ) ]
public delegate string[] DBusSubtreeEnumerateFunc (DBusConnection connection, string sender, string object_path)
The type of the enumerate
function in DBusSubtreeVTable.
This function is called when generating introspection data and also when preparing to dispatch incoming messages in the event that the g_dbus_subtree_flags_dispatch_to_unenumerated_nodes flag is not specified (ie: to verify that the object path is valid).
Hierarchies are not supported; the items that you return should not contain the `/` character.
The return value will be freed with strfreev.
Parameters:
connection | |
sender |
The unique bus name of the remote caller. |
object_path |
The object path that was registered with register_subtree . |
user_data |
The |
Returns:
A newly allocated array of strings for node names that are children of |
Namespace: GLib
Package: gio-2.0