Method

PurpleCommandManageradd

unstable since: 3.0

Declaration [src]

void
purple_command_manager_add (
  PurpleCommandManager* manager,
  PurpleCommand* command
)

Description [src]

Adds command to manager.

If manager already has a command with a matching name and source, command will not be added but ownership will still be taken.

Available since: 3.0

Parameters

command

Type: PurpleCommand

The new command to add.

The instance takes ownership of the data, and is responsible for freeing it.