Method

PurpleMediaManagerset_application_data_callbacks

Declaration [src]

void
purple_media_manager_set_application_data_callbacks (
  PurpleMediaManager* manager,
  PurpleMedia* media,
  const gchar* session_id,
  const gchar* participant,
  PurpleMediaAppDataCallbacks* callbacks,
  gpointer user_data,
  GDestroyNotify notify
)

Description [src]

Set callbacks on a session to be called when the stream becomes writable or readable for media sessions of type #PURPLE_MEDIA_APPLICATION.

Parameters

media PurpleMedia
 

The media instance to register the callbacks with.

 The data is owned by the caller of the function.
session_id const gchar*
 

The session to register the callbacks with.

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

The participant to register the callbacks with.

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

The callbacks to be set on the session.

 The data is owned by the caller of the function.
user_data gpointer
 

A user_data argument for the callbacks.

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

A destroy notify function.