--- a/libpurple/util.h Sat Apr 05 02:40:00 2014 +0200 +++ b/libpurple/util.h Sat Apr 05 03:12:23 2014 +0200 @@ -1056,7 +1056,18 @@ */ gboolean purple_str_has_prefix(const char *s, const char *p); -gboolean purple_str_has_caseprefix(const gchar *s, const gchar *p); +/** + * purple_str_has_caseprefix: + * @s: The string to check. + * @p: The prefix in question. + * + * Compares two strings to see if the first contains the second as + * a proper case-insensitive prefix. + * + * Returns: %TRUE if @p is a prefix of @s, otherwise %FALSE. + */ +gboolean +purple_str_has_caseprefix(const gchar *s, const gchar *p); /** * purple_str_has_suffix: