Function

TrackerSparqlConnectionbus_new_async

Declaration [src]

void
tracker_sparql_connection_bus_new_async (
  const gchar* service_name,
  const gchar* object_path,
  GDBusConnection* dbus_connection,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Connects asynchronously to a database owned by another process on the local machine via DBus.

Available since:3.1

Parameters

service_name const gchar*
 

The name of the D-Bus service to connect to.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
object_path const gchar*
 

The path to the object, or NULL to use the default.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
dbus_connection GDBusConnection*
 

The GDBusConnection to use, or NULL to use the session bus.

 The argument can be NULL.
 The data is owned by the caller of the function.
cancellable GCancellable*
 

Optional GCancellable

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

User-defined Gio.AsyncReadyCallback to be called when the asynchronous operation is finished.

user_data gpointer
 

User-defined data to be passed to callback.