Function
IbisCTCPMessageparse
since: 0.5
Declaration [src]
IbisCTCPMessage*
ibis_ctcp_message_parse (
const char* str
)
Description [src]
Attempts to parse a CTCP message from str.
If str is not a valid CTCP message, NULL will be returned.
Available since: 0.5
Parameters
str-
Type:
const char*The string to parse.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: IbisCTCPMessage
The CTCP message if successful.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |