comparison 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
comparison
equal deleted inserted replaced
9170:456ef1f4ba19 9171:66027eb31f97
474 */ 474 */
475 gchar *gaim_strreplace(const char *string, const char *delimiter, 475 gchar *gaim_strreplace(const char *string, const char *delimiter,
476 const char *replacement); 476 const char *replacement);
477 477
478 /** 478 /**
479 * Given a string, this replaces any numerical character references
480 * in that string with the corresponding actual utf-8 substrings,
481 * and returns a newly allocated string.
482 *
483 * @param in The string which might contain numerical character references.
484 *
485 * @return A new string, with numerical character references
486 * replaced with actual utf-8, free this with g_free().
487 */
488 char *gaim_utf8_ncr_decode(const char *in);
489
490 /**
479 * Given a string, this replaces one substring with another 491 * Given a string, this replaces one substring with another
480 * ignoring case and returns a newly allocated string. 492 * ignoring case and returns a newly allocated string.
481 * 493 *
482 * @param string The string from which to replace stuff. 494 * @param string The string from which to replace stuff.
483 * @param delimiter The substring you want replaced. 495 * @param delimiter The substring you want replaced.