gboolean purple_validate ( PurpleProtocol* protocol, const char* str )
Checks, if a string is valid.
Available since: 3.0.0
The protocol the string belongs to.
The data is owned by the caller of the function.
The string to validate.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.