Function

Purplecmd_list

since: 2.0

Declaration [src]

GList*
purple_cmd_list (
  PurpleConversation* conv
)

Description [src]

List registered commands.

Available since: 2.0

Parameters

conv

Type: PurpleConversation

The conversation, or NULL.

The data is owned by the caller of the function.

Return value

Type: A list of utf8

All commands that are valid in the context of conv, or all commands, if conv is NULL. Don’t keep this list around past the main loop, or anything else that might unregister a command, as the const char *‘s used get freed then.

The caller of the function takes ownership of the data container, but not the data inside it.
Each element is a NUL terminated UTF-8 string.