libpurple/util.h

changeset 42260
8df9957b9a03
parent 42164
cd96db566218
child 42307
083c070d4a27
--- a/libpurple/util.h	Sun Aug 06 23:52:34 2023 -0500
+++ b/libpurple/util.h	Sun Aug 06 23:20:40 2023 -0500
@@ -246,20 +246,6 @@
 const char *purple_normalize(PurpleAccount *account, const char *str);
 
 /**
- * purple_normalize_nocase:
- * @str:      The string to normalize.
- *
- * Normalizes a string, so that it is suitable for comparison.
- *
- * This is one possible implementation for the protocol callback
- * function "normalize."  It returns a lowercase and UTF-8
- * normalized version of the string.
- *
- * Returns: A pointer to the normalized version stored in a static buffer.
- */
-const char *purple_normalize_nocase(const char *str);
-
-/**
  * purple_validate:
  * @protocol: The protocol the string belongs to.
  * @str:      The string to validate.
@@ -271,19 +257,6 @@
 gboolean purple_validate(PurpleProtocol *protocol, const char *str);
 
 /**
- * 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_strdup_withhtml:
  * @src: The source string.
  *
@@ -338,34 +311,6 @@
 gchar *purple_strreplace(const char *string, const char *delimiter,
 					   const char *replacement);
 
-
-/**
- * purple_utf8_ncr_encode:
- * @in: The string which might contain utf-8 substrings
- *
- * Given a string, this replaces any utf-8 substrings in that string with
- * the corresponding numerical character reference, and returns a newly
- * allocated string.
- *
- * Returns: A new string, with utf-8 replaced with numerical character
- *         references, free this with g_free()
-*/
-char *purple_utf8_ncr_encode(const char *in);
-
-
-/**
- * purple_utf8_ncr_decode:
- * @in: The string which might contain numerical character references.
- *
- * Given a string, this replaces any numerical character references
- * in that string with the corresponding actual utf-8 substrings,
- * and returns a newly allocated string.
- *
- * Returns: A new string, with numerical character references
- *         replaced with actual utf-8, free this with g_free().
- */
-char *purple_utf8_ncr_decode(const char *in);
-
 /**
  * purple_str_seconds_to_string:
  * @sec: The seconds.

mercurial