Method

PurpleProtocolWhiteboardcreate

unstable 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 method.
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 method.
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 returned data, and is responsible for freeing it.