Method

PurpleProtocolWhiteboardcreate

since: 3.0

Declaration [src]

PurpleWhiteboard*
purple_protocol_whiteboard_create (
  PurpleProtocolWhiteboard* whiteboard,
  PurpleAccount* account,
  const gchar* who,
  gint state
)

Description [src]

Creates a new PurpleWhiteboard.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The PurpleAccount.

The data is owned by the caller of the function.
who

Type: const gchar*

The username of the contact who the whiteboard is being created for.

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

Type: gint

The initial state of the whiteboard.

Return value

Type: PurpleWhiteboard

The new whiteboard instance.

The caller of the method takes ownership of the data, and is responsible for freeing it.