Enumeration

PurpleCmdStatus

Declaration

enum Purple.CmdStatus

Description [src]

The possible results of running a command with purple_cmd_do_command().

Members

Name Description
PURPLE_CMD_STATUS_OK

The command executed successfully.

PURPLE_CMD_STATUS_FAILED

The command failed to execute.

PURPLE_CMD_STATUS_NOT_FOUND

The command was not found.

PURPLE_CMD_STATUS_WRONG_ARGS

The wrong number of arguments were passed.

PURPLE_CMD_STATUS_WRONG_PROTOCOL

The command was run with the wrong protocol.

PURPLE_CMD_STATUS_WRONG_TYPE

The Command was ran against the wrong type of conversation.