comparison src/util.h @ 5515:439a05a6b409

[gaim-migrate @ 5914] This makes the manual browser setting good. -You can have multiple %s's in a browser command (I don't know why you would want to, but you can) -It doesn't double-free memory and cause gaim to crash -If there is no %s, it adds the URL to the end of the command (it did this before, I'm just re-iterating that it still works) -It's fewer lines of code and it's cleaner, I think committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 May 2003 18:35:24 +0000
parents 3c7748b24410
children 6f35b80c5ffa
comparison
equal deleted inserted replaced
5514:5664dbaf670c 5515:439a05a6b409
330 * 0 if @a is equal to @a b. 330 * 0 if @a is equal to @a b.
331 * 1 if @a is greater than @a b. 331 * 1 if @a is greater than @a b.
332 */ 332 */
333 gint gaim_utf8_strcasecmp(const gchar *a, const gchar *b); 333 gint gaim_utf8_strcasecmp(const gchar *a, const gchar *b);
334 334
335 /**
336 * Given a string, this replaces one substring with another
337 * and returns a newly allocated string.
338 *
339 * @param string The string from which to replace stuff.
340 * @param delimiter The substring you want replaced.
341 * @param replacement The substring you want inserted in place
342 * of the delimiting substring.
343 */
344 gchar *gaim_strreplace(const gchar *string, const gchar *delimiter, const gchar *replacement);
345
335 #endif /* _GAIM_UTIL_H_ */ 346 #endif /* _GAIM_UTIL_H_ */