Function
Purplecmd_execute
Declaration [src]
gboolean
purple_cmd_execute (
PurpleCmdId id,
PurpleConversation* conv,
const gchar* cmdline
)
Description [src]
Execute a specific command.
The UI calls this to execute a command, after parsing the command name.
Parameters
id
-
Type:
PurpleCmdId
The command to execute.
conv
-
Type:
PurpleConversation
The conversation the command was typed in.
The data is owned by the caller of the function. cmdline
-
Type:
const gchar*
The command the user typed (only the arguments). The caller should remove the prefix and the command name. It should not contain any formatting, and should be in plain text (no HTML entities).
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.