pub type GDBusSubtreeDispatchFunc = Option<unsafe extern "C" fn(connection: *mut GDBusConnection, sender: *const gchar, object_path: *const gchar, interface_name: *const gchar, node: *const gchar, out_user_data: *mut gpointer, user_data: gpointer) -> *const GDBusInterfaceVTable>;
Expand description
GDBusSubtreeDispatchFunc: @connection: A #GDBusConnection. @sender: The unique bus name of the remote caller. @object_path: The object path that was registered with g_dbus_connection_register_subtree(). @interface_name: The D-Bus interface name that the method call or property access is for. @node: A node that is a child of @object_path (relative to @object_path) or %NULL for the root of the subtree. @out_user_data: (nullable) (not optional): Return location for user data to pass to functions in the returned #GDBusInterfaceVTable. @user_data: The @user_data #gpointer passed to g_dbus_connection_register_subtree().
The type of the @dispatch function in #GDBusSubtreeVTable.
Subtrees are flat. @node, if non-%NULL, is always exactly one segment of the object path (ie: it never contains a slash).
Returns: (nullable): A #GDBusInterfaceVTable or %NULL if you don’t want to handle the methods.
Since: 2.26
Aliased Type§
enum GDBusSubtreeDispatchFunc {
None,
Some(unsafe extern "C" fn(*mut _GDBusConnection, *const i8, *const i8, *const i8, *const i8, *mut *mut c_void, *mut c_void) -> *const _GDBusInterfaceVTable),
}