comparison src/util.h @ 10433:f7f06cb69d5e

[gaim-migrate @ 11689] Working CTRL+F searching for the buddy list. Previously it only found non-idle, non-away people. Not it finds all KINDS of people, and it does a substring search, too. So if you have a buddy "giantgraypanda" you can search for "gray" and this will find them. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 27 Dec 2004 18:46:42 +0000
parents 9903182f2aac
children 0f5c5e6fb27f
comparison
equal deleted inserted replaced
10432:dc4475bf718f 10433:f7f06cb69d5e
462 * The returned string will point to a static buffer, so if the 462 * The returned string will point to a static buffer, so if the
463 * string is intended to be kept long-term, you <i>must</i> 463 * string is intended to be kept long-term, you <i>must</i>
464 * g_strdup() it. Also, calling normalize() twice in the same line 464 * g_strdup() it. Also, calling normalize() twice in the same line
465 * will lead to problems. 465 * will lead to problems.
466 * 466 *
467 * @param account The account the string belongs to. 467 * @param account The account the string belongs to, or NULL if you do
468 * not know the account. If you use NULL, the string
469 * will still be normalized, but if the PRPL uses a
470 * custom normalization function then the string may
471 * not be normalized correctly.
468 * @param str The string to normalize. 472 * @param str The string to normalize.
469 * 473 *
470 * @return A pointer to the normalized version stored in a static buffer. 474 * @return A pointer to the normalized version stored in a static buffer.
471 */ 475 */
472 const char *gaim_normalize(const GaimAccount *account, const char *str); 476 const char *gaim_normalize(const GaimAccount *account, const char *str);