Function
PurpleCmdFunc
Declaration
PurpleCmdRet
(* PurpleCmdFunc) (
PurpleConversation* conversation,
const gchar* cmd,
gchar** args,
gchar** error,
void* data
)
Parameters
conversation |
PurpleConversation |
The |
|
The data is owned by the caller of the function. | |
cmd |
const gchar* |
The name of the command. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
args |
gchar** |
The arguments to the command. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
error |
gchar** |
A return address for a |
|
The argument will be set by the function. | |
The called function takes ownership of the data, and is responsible for freeing it. | |
The value is a NUL terminated UTF-8 string. | |
data |
void* |
User data to pass to the function. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | PurpleCmdRet |
No description available. |