Mercurial > pidgin
comparison src/util.h @ 7261:1930e3d00ecd
[gaim-migrate @ 7838]
prpl-specific normalize is back, after my crusade to kill it.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 14 Oct 2003 05:07:39 +0000 |
parents | d14e026611c0 |
children | 3ec38f08b0b2 |
comparison
equal
deleted
inserted
replaced
7260:49839c4cbb1c | 7261:1930e3d00ecd |
---|---|
300 * The returned string will point to a static buffer, so if the | 300 * The returned string will point to a static buffer, so if the |
301 * string is intended to be kept long-term, you <i>must</i> | 301 * string is intended to be kept long-term, you <i>must</i> |
302 * g_strdup() it. Also, calling normalize() twice in the same line | 302 * g_strdup() it. Also, calling normalize() twice in the same line |
303 * will lead to problems. | 303 * will lead to problems. |
304 * | 304 * |
305 * @param str The string to normalize. | 305 * @param account The account the string belongs to. |
306 * @param str The string to normalize. | |
306 * | 307 * |
307 * @return A pointer to the normalized version stored in a static buffer. | 308 * @return A pointer to the normalized version stored in a static buffer. |
308 */ | 309 */ |
309 const char *gaim_normalize(const char *str); | 310 const char *gaim_normalize(const GaimAccount *account, const char *str); |
310 | 311 |
311 /** | 312 /** |
312 * Looks for %n, %d, or %t in a string, and replaces them with the | 313 * Looks for %n, %d, or %t in a string, and replaces them with the |
313 * specified name, date, and time, respectively. | 314 * specified name, date, and time, respectively. |
314 * | 315 * |