diff src/util.h @ 9171:66027eb31f97

[gaim-migrate @ 9956] This adds wing's yahoo profile work to the ChangeLog, to the POTFILES.in, and to util.h. All but the ChangeLog are wing's patches. This should also kill off the warning yahoo_profile.c was generating. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 03 Jun 2004 03:18:22 +0000
parents 38d022e5eb19
children 3e2ea5b69605
line wrap: on
line diff
--- a/src/util.h	Thu Jun 03 02:57:25 2004 +0000
+++ b/src/util.h	Thu Jun 03 03:18:22 2004 +0000
@@ -476,6 +476,18 @@
 					   const char *replacement);
 
 /**
+ * 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.
+ *
+ * @param in The string which might contain numerical character references.
+ *
+ * @return A new string, with numerical character references
+ *         replaced with actual utf-8, free this with g_free().
+ */
+char *gaim_utf8_ncr_decode(const char *in);
+
+/**
  * Given a string, this replaces one substring with another
  * ignoring case and returns a newly allocated string.
  *