Function
IbisChanmodesparse
since: 0.12
Declaration [src]
IbisChanmodes*
ibis_chanmodes_parse (
const char* chanmodes,
const char* prefix_modes
)
Parameters
chanmodes
-
Type:
const char*
The chanmodes value from the ISUPPORT reply.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. prefix_modes
-
Type:
const char*
The modes from the PREFIX Parses a CHANMODES string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: IbisChanmodes
The new instance.
The caller of the function takes ownership of the data, and is responsible for freeing it. |