Virtual Method

PurpleProtocolClientget_account_text_table

deprecated: 3.0 since: 3.0

Declaration [src]

GHashTable*
get_account_text_table (
  PurpleProtocolClient* client,
  PurpleAccount* account
)

Description [src]

Gets the account text table which allows protocols to specify additional strings to be used for various purposes. The idea is to stuff a bunch of strings in this hash table instead of expanding the struct for every addition.

Available since: 3.0

Deprecated since: 3.0

This is a premature optimization. Right now this is only used by GaduGadu for a single item and should be replaced.

Parameters

account

Type: PurpleAccount

A PurpleAccount instance.

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

Return value

Type: GHashTable

The newly allocated text table.

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