src/util.h

changeset 5515
702f01e5f135
parent 5497
da3c08f3af25
child 5532
3ed50db32fe9
--- a/src/util.h	Sun May 25 17:06:30 2003 +0000
+++ b/src/util.h	Sun May 25 18:35:24 2003 +0000
@@ -332,4 +332,15 @@
  */
 gint gaim_utf8_strcasecmp(const gchar *a, const gchar *b);
 
+/**
+ * Given a string, this replaces one substring with another
+ * and returns a newly allocated string.
+ *
+ * @param string The string from which to replace stuff.
+ * @param delimiter The substring you want replaced.
+ * @param replacement The substring you want inserted in place 
+ *        of the delimiting substring.
+ */
+gchar *gaim_strreplace(const gchar *string, const gchar *delimiter, const gchar *replacement);
+
 #endif /* _GAIM_UTIL_H_ */

mercurial