Virtual Method

PurpleProtocolClientget_account_text_table

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.0
Deprecated since:3.0.0

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

Parameters

account PurpleAccount
 

A PurpleAccount instance.

 The data is owned by the caller of the function.

Return value

Returns: GHashTable
 

The newly allocated text table.

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