aboutsummaryrefslogtreecommitdiffstats
path: root/camel/string-utils.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-08 02:54:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-08 02:54:15 +0800
commitcdb87d2e0a3eaa3e18bfdfa8fdbdf6bac0ca987a (patch)
treec0b19032195f2616336812603bf3984ce7f92962 /camel/string-utils.h
parent0a9fdd88421c68d3ecdd88bb220c72b111f1fe55 (diff)
downloadgsoc2013-evolution-cdb87d2e0a3eaa3e18bfdfa8fdbdf6bac0ca987a.tar.gz
gsoc2013-evolution-cdb87d2e0a3eaa3e18bfdfa8fdbdf6bac0ca987a.tar.zst
gsoc2013-evolution-cdb87d2e0a3eaa3e18bfdfa8fdbdf6bac0ca987a.zip
Strip all \n's from the expression
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-utils.c (imap_translate_sexp): Strip all \n's from the expression * string-utils.c (strip): New convenience function to strip occurences of a single char from a string svn path=/trunk/; revision=4576
Diffstat (limited to 'camel/string-utils.h')
-rw-r--r--camel/string-utils.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/camel/string-utils.h b/camel/string-utils.h
index 4cfef5b746..1556faa1df 100644
--- a/camel/string-utils.h
+++ b/camel/string-utils.h
@@ -54,9 +54,12 @@ GList *string_split (const gchar *string, char sep,
void string_trim (gchar *string, const gchar *chars,
StringTrimOption options);
-gchar *string_prefix (const gchar *s, const gchar *suffix, gboolean *suffix_found);
+gchar *string_prefix (const gchar *s, const gchar *suffix,
+ gboolean *suffix_found);
-void string_unquote (gchar *string);
+void string_unquote (gchar *string);
+
+gchar *strip (gchar *string, gchar c);
#ifdef __cplusplus
}