Function

Purplecmd_list

Declaration [src]

GList*
purple_cmd_list (
  PurpleConversation* conv
)

Description [src]

List registered commands.

Parameters

conv PurpleConversation
 

The conversation, or NULL.

 The data is owned by the caller of the function.

Return value

Returns: 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.