### Function

# Gio BusAcquiredCallback

since: 2.26

#### Declaration

    void
    (* GBusAcquiredCallback) (
      GDBusConnection* connection,
      const gchar* name,
      gpointer user_data
    )

#### Description [src]

Invoked when a connection to a message bus has been obtained.

Available since: 2.26

#### Parameters

`connection`

  Type: `GDBusConnection`

  The connection to a message bus.

  The data is owned by the caller of the function.

`name`

  Type: `const gchar*`

  The name that is requested to be owned.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`user_data`

  Type: `gpointer`

  User data passed to `g_bus_own_name()`.

  The argument can be `NULL`.
  The data is owned by the caller of the function.