6.14 GDBusSubtreeEnumerateFunc

Callback: GDBusSubtreeEnumerateFunc

A procedure given for it is called as (procedure connection sender object-path) ⇒ %return.

The type of the enumerate function in GDBusSubtreeVTable.

This function is called when generating introspection data and also when preparing to dispatch incoming messages in the event that the 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.

connection

Passed: a <GDBusConnection>.

A <GDBusConnection>.

sender

Passed: a string.

The unique bus name of the remote caller.

object-path

Passed: a string.

The object path that was registered with g_dbus_connection_register_subtree().

%return

Returned: a list or vector, each a string.

A newly allocated array of strings for node names that are children of object-path.

user-data

Not passed: it is the user data that guile-gi supplied.

The user-data gpointer passed to g_dbus_connection_register_subtree().