libpurple/util.h

changeset 35766
f29bb25cfbd8
parent 35734
ddad7176a0ec
child 35797
894cdc67db89
child 37133
832cd077145e
--- 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:

mercurial