DBusSubtreeEnumerateFunc


Description:

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

A DBusConnection.

sender

The unique bus name of the remote caller.

object_path

The object path that was registered with register_subtree.

user_data

The user_data gpointer passed to register_subtree.

Returns:

A newly allocated array of strings for node names that are children of object_path.


Namespace: GLib
Package: gio-2.0