Function

Purplenotify_userinfo

Declaration [src]

void*
purple_notify_userinfo (
  PurpleConnection* gc,
  const char* who,
  PurpleNotifyUserInfo* user_info,
  PurpleNotifyCloseCallback cb,
  gpointer user_data
)

Description [src]

Displays user information with formatted text, passing information giving the connection and username from which the user information came.

The text is essentially a stripped-down format of HTML, the same that IMs may send.

Parameters

gc PurpleConnection
 

The PurpleConnection handle associated with the information.

 The data is owned by the caller of the function.
who const char*
 

The username associated with the information.

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

The PurpleNotifyUserInfo which contains the information.

 The data is owned by the caller of the function.
cb PurpleNotifyCloseCallback
 

The callback to call when the user closes the notification.

user_data gpointer
 

The data to pass to the callback.

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

Return value

Returns: void*
 

A UI-specific handle.

 The data is owned by the called function.
 The return value can be NULL.