Method
PurpleCommandManagerfind_and_execute
unstable since: 3.0
Declaration [src]
gboolean
purple_command_manager_find_and_execute (
PurpleCommandManager* manager,
PurpleConversation* conversation,
const char* command_line
)
Description [src]
Attempts to find a PurpleCommand
in manager
and execute it.
command_line
should be a space separate string of the command name and any
arguments. It should not include a leading /
or any other prefix.
This method is a helper around purple_command_manager_find()
and
purple_command_execute()
.
Available since: 3.0
Parameters
conversation
-
Type:
PurpleConversation
The conversation to use.
The data is owned by the caller of the method. command_line
-
Type:
const char*
The command line including the name and arguments.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.