Method

PurpleProtocolChatinfo_defaults

since: 3.0

Declaration [src]

GHashTable*
purple_protocol_chat_info_defaults (
  PurpleProtocolChat* protocol_chat,
  PurpleConnection* connection,
  const gchar* chat_name
)

Description [src]

Returns a GHashTable of the default protocol dependent components that will be passed to purple_protocol_chat_join().

Available since: 3.0

Parameters

connection

Type: PurpleConnection

The PurpleConnection instance.

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

Type: const gchar*

The name of the chat.

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

Return value

Type: GHashTable

The values that will be used to join the chat.

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