pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Bump C standard to C99 for XMPP and fix warnings
18 months ago, Elliott Sales de Andrade
025eee9e6f1d
Bump C standard to C99 for XMPP and fix warnings
Testing Done:
Touch all XMPP source files, recompiled and saw no new warnings.
Reviewed at https://reviews.imfreedom.org/r/2125/
Title: Command Signals
Slug: command-signals
## Command Signals
### Signal List
*
[
cmd-added
](
#cmd-added
)
*
[
cmd-removed
](
#cmd-removed
)
### Signal Details
#### cmd-added
```c
void
user_function
(
const
gchar
*
command
,
PurpleCmdPriority
priority
,
PurpleCmdFlag
flag
,
gpointer
user_data
);
```
Emitted when a new command is added.
**Parameters:**
**command**
: The new command.
**priority**
: The priority of the new command.
**flag**
: The command flags.
**user_data**
: User data set when the signal handler was connected.
----
#### cmd-removed
```c
void
user_function
(
const
gchar
*
command
,
gpointer
user_data
);
```
Emitted when a command is removed.
**Parameters:**
**command**
: The removed command.
**user_data**
: User data set when the signal handler was connected.