Method

CMClientadd_pusher_async

since: 0.0.1

Declaration [src]

void
cm_client_add_pusher_async (
  CmClient* self,
  CmPusher* pusher,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Add a pusher to the list of pushers for this client.

Available since: 0.0.1

Parameters

pusher

Type: CmPusher

The pusher to set.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

Optional GCancellable object, NULL to ignore.

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback.

The argument can be NULL.
user_data

Type: gpointer

The user data for callback.

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