Method

PurpleCommandManagerfind_all

unstable since: 3.0

Declaration [src]

GListModel*
purple_command_manager_find_all (
  PurpleCommandManager* manager,
  PurpleConversation* conversation,
  const char* name
)

Description [src]

Finds all commands that match name in manager.

If conversation is not NULL, purple_tags_contains() will be used to filter out commands whose tags don’t match conversation.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

An optional conversation.

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

Type: const char*

The name of the command.

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

Return value

Type: A list model of GObject

The list of found plugins which could be empty.

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